Lines Matching refs:CurTok

303 static int CurTok;  variable
304 static int getNextToken() { return CurTok = gettok(); } in getNextToken()
312 if (!isascii(CurTok)) in GetTokPrecedence()
316 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
349 if (CurTok != ')') in ParseParenExpr()
363 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
369 if (CurTok != ')') { in ParseIdentifierExpr()
376 if (CurTok == ')') in ParseIdentifierExpr()
379 if (CurTok != ',') in ParseIdentifierExpr()
400 if (CurTok != tok_then) in ParseIfExpr()
408 if (CurTok != tok_else) in ParseIfExpr()
425 if (CurTok != tok_identifier) in ParseForExpr()
431 if (CurTok != '=') in ParseForExpr()
438 if (CurTok != ',') in ParseForExpr()
448 if (CurTok == ',') { in ParseForExpr()
455 if (CurTok != tok_in) in ParseForExpr()
475 if (CurTok != tok_identifier) in ParseVarExpr()
484 if (CurTok == '=') { in ParseVarExpr()
495 if (CurTok != ',') in ParseVarExpr()
499 if (CurTok != tok_identifier) in ParseVarExpr()
504 if (CurTok != tok_in) in ParseVarExpr()
523 switch (CurTok) { in ParsePrimary()
546 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
550 int Opc = CurTok; in ParseUnary()
571 int BinOp = CurTok; in ParseBinOpRHS()
615 switch (CurTok) { in ParsePrototype()
625 if (!isascii(CurTok)) in ParsePrototype()
628 FnName += (char)CurTok; in ParsePrototype()
634 if (!isascii(CurTok)) in ParsePrototype()
637 FnName += (char)CurTok; in ParsePrototype()
642 if (CurTok == tok_number) { in ParsePrototype()
651 if (CurTok != '(') in ParsePrototype()
657 if (CurTok != ')') in ParsePrototype()
1203 switch (CurTok) { in MainLoop()