Lines Matching defs:CurTok
285 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
287 /// lexer and updates CurTok with its results.
288 static int CurTok;
290 return CurTok = gettok();
299 if (!isascii(CurTok))
303 int TokPrec = BinopPrecedence[CurTok];
323 if (CurTok != '(') // Simple variable ref.
329 if (CurTok != ')') {
335 if (CurTok == ')') break;
337 if (CurTok != ',')
362 if (CurTok != ')')
376 if (CurTok != tok_then)
383 if (CurTok != tok_else)
398 if (CurTok != tok_identifier)
404 if (CurTok != '=')
411 if (CurTok != ',')
420 if (CurTok == ',') {
426 if (CurTok != tok_in)
444 if (CurTok != tok_identifier)
453 if (CurTok == '=') {
463 if (CurTok != ',') break;
466 if (CurTok != tok_identifier)
471 if (CurTok != tok_in)
489 switch (CurTok) {
505 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
509 int Opc = CurTok;
529 int BinOp = CurTok;
569 switch (CurTok) {
579 if (!isascii(CurTok))
582 FnName += (char)CurTok;
588 if (!isascii(CurTok))
591 FnName += (char)CurTok;
596 if (CurTok == tok_number) {
605 if (CurTok != '(')
611 if (CurTok != ')')
1634 switch (CurTok) {