Lines Matching refs:CurTok
247 static int CurTok; variable
248 static int getNextToken() { return CurTok = gettok(); } in getNextToken()
256 if (!isascii(CurTok)) in GetTokPrecedence()
260 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
293 if (CurTok != ')') in ParseParenExpr()
307 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
313 if (CurTok != ')') { in ParseIdentifierExpr()
320 if (CurTok == ')') in ParseIdentifierExpr()
323 if (CurTok != ',') in ParseIdentifierExpr()
344 if (CurTok != tok_then) in ParseIfExpr()
352 if (CurTok != tok_else) in ParseIfExpr()
369 if (CurTok != tok_identifier) in ParseForExpr()
375 if (CurTok != '=') in ParseForExpr()
382 if (CurTok != ',') in ParseForExpr()
392 if (CurTok == ',') { in ParseForExpr()
399 if (CurTok != tok_in) in ParseForExpr()
418 switch (CurTok) { in ParsePrimary()
448 int BinOp = CurTok; in ParseBinOpRHS()
485 if (CurTok != tok_identifier) in ParsePrototype()
491 if (CurTok != '(') in ParsePrototype()
497 if (CurTok != ')') in ParsePrototype()
913 switch (CurTok) { in MainLoop()