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()
452 switch (CurTok) { in ParsePrimary()
473 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
477 int Opc = CurTok; in ParseUnary()
498 int BinOp = CurTok; in ParseBinOpRHS()
542 switch (CurTok) { in ParsePrototype()
552 if (!isascii(CurTok)) in ParsePrototype()
555 FnName += (char)CurTok; in ParsePrototype()
561 if (!isascii(CurTok)) in ParsePrototype()
564 FnName += (char)CurTok; in ParsePrototype()
569 if (CurTok == tok_number) { in ParsePrototype()
578 if (CurTok != '(') in ParsePrototype()
584 if (CurTok != ')') in ParsePrototype()
1032 switch (CurTok) { in MainLoop()