Lines Matching refs:CurTok

281 static int CurTok;  variable
282 static int getNextToken() { return CurTok = gettok(); } in getNextToken()
290 if (!isascii(CurTok)) in GetTokPrecedence()
294 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
327 if (CurTok != ')') in ParseParenExpr()
341 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
347 if (CurTok != ')') { in ParseIdentifierExpr()
354 if (CurTok == ')') in ParseIdentifierExpr()
357 if (CurTok != ',') in ParseIdentifierExpr()
378 if (CurTok != tok_then) in ParseIfExpr()
386 if (CurTok != tok_else) in ParseIfExpr()
403 if (CurTok != tok_identifier) in ParseForExpr()
409 if (CurTok != '=') in ParseForExpr()
416 if (CurTok != ',') in ParseForExpr()
426 if (CurTok == ',') { in ParseForExpr()
433 if (CurTok != tok_in) in ParseForExpr()
453 if (CurTok != tok_identifier) in ParseVarExpr()
462 if (CurTok == '=') { in ParseVarExpr()
473 if (CurTok != ',') in ParseVarExpr()
477 if (CurTok != tok_identifier) in ParseVarExpr()
482 if (CurTok != tok_in) in ParseVarExpr()
501 switch (CurTok) { in ParsePrimary()
524 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
528 int Opc = CurTok; in ParseUnary()
549 int BinOp = CurTok; in ParseBinOpRHS()
593 switch (CurTok) { in ParsePrototype()
603 if (!isascii(CurTok)) in ParsePrototype()
606 FnName += (char)CurTok; in ParsePrototype()
612 if (!isascii(CurTok)) in ParsePrototype()
615 FnName += (char)CurTok; in ParsePrototype()
620 if (CurTok == tok_number) { in ParsePrototype()
629 if (CurTok != '(') in ParsePrototype()
635 if (CurTok != ')') in ParsePrototype()
1176 switch (CurTok) { in MainLoop()