Lines Matching refs:CurTok
202 static int CurTok; variable
203 static int getNextToken() { return CurTok = gettok(); } in getNextToken()
211 if (!isascii(CurTok)) in GetTokPrecedence()
215 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
248 if (CurTok != ')') in ParseParenExpr()
262 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
268 if (CurTok != ')') { in ParseIdentifierExpr()
275 if (CurTok == ')') in ParseIdentifierExpr()
278 if (CurTok != ',') in ParseIdentifierExpr()
295 switch (CurTok) { in ParsePrimary()
321 int BinOp = CurTok; in ParseBinOpRHS()
358 if (CurTok != tok_identifier) in ParsePrototype()
364 if (CurTok != '(') in ParsePrototype()
370 if (CurTok != ')') in ParsePrototype()
639 switch (CurTok) { in MainLoop()