Lines Matching refs:CurTok
166 static int CurTok; variable
167 static int getNextToken() { return CurTok = gettok(); } in getNextToken()
175 if (!isascii(CurTok)) in GetTokPrecedence()
179 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
211 if (CurTok != ')') in ParseParenExpr()
225 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
231 if (CurTok != ')') { in ParseIdentifierExpr()
238 if (CurTok == ')') in ParseIdentifierExpr()
241 if (CurTok != ',') in ParseIdentifierExpr()
258 switch (CurTok) { in ParsePrimary()
284 int BinOp = CurTok; in ParseBinOpRHS()
321 if (CurTok != tok_identifier) in ParsePrototype()
327 if (CurTok != '(') in ParsePrototype()
333 if (CurTok != ')') in ParsePrototype()
407 switch (CurTok) { in MainLoop()