Lines Matching refs:CurTok
304 static int CurTok; variable
305 static int getNextToken() { return CurTok = gettok(); } in getNextToken()
313 if (!isascii(CurTok)) in GetTokPrecedence()
317 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
350 if (CurTok != ')') in ParseParenExpr()
364 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
370 if (CurTok != ')') { in ParseIdentifierExpr()
377 if (CurTok == ')') in ParseIdentifierExpr()
380 if (CurTok != ',') in ParseIdentifierExpr()
401 if (CurTok != tok_then) in ParseIfExpr()
409 if (CurTok != tok_else) in ParseIfExpr()
426 if (CurTok != tok_identifier) in ParseForExpr()
432 if (CurTok != '=') in ParseForExpr()
439 if (CurTok != ',') in ParseForExpr()
449 if (CurTok == ',') { in ParseForExpr()
456 if (CurTok != tok_in) in ParseForExpr()
476 if (CurTok != tok_identifier) in ParseVarExpr()
485 if (CurTok == '=') { in ParseVarExpr()
496 if (CurTok != ',') in ParseVarExpr()
500 if (CurTok != tok_identifier) in ParseVarExpr()
505 if (CurTok != tok_in) in ParseVarExpr()
524 switch (CurTok) { in ParsePrimary()
547 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
551 int Opc = CurTok; in ParseUnary()
572 int BinOp = CurTok; in ParseBinOpRHS()
616 switch (CurTok) { in ParsePrototype()
626 if (!isascii(CurTok)) in ParsePrototype()
629 FnName += (char)CurTok; in ParsePrototype()
635 if (!isascii(CurTok)) in ParsePrototype()
638 FnName += (char)CurTok; in ParsePrototype()
643 if (CurTok == tok_number) { in ParsePrototype()
652 if (CurTok != '(') in ParsePrototype()
658 if (CurTok != ')') in ParsePrototype()
1159 switch (CurTok) { in MainLoop()