• Home
  • Raw
  • Download

Lines Matching refs:CurTok

264 static int CurTok;  variable
266 return CurTok = gettok(); in getNextToken()
275 if (!isascii(CurTok)) in GetTokPrecedence()
279 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
299 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
305 if (CurTok != ')') { in ParseIdentifierExpr()
311 if (CurTok == ')') break; in ParseIdentifierExpr()
313 if (CurTok != ',') in ParseIdentifierExpr()
338 if (CurTok != ')') in ParseParenExpr()
352 if (CurTok != tok_then) in ParseIfExpr()
359 if (CurTok != tok_else) in ParseIfExpr()
374 if (CurTok != tok_identifier) in ParseForExpr()
380 if (CurTok != '=') in ParseForExpr()
387 if (CurTok != ',') in ParseForExpr()
396 if (CurTok == ',') { in ParseForExpr()
402 if (CurTok != tok_in) in ParseForExpr()
420 if (CurTok != tok_identifier) in ParseVarExpr()
429 if (CurTok == '=') { in ParseVarExpr()
439 if (CurTok != ',') break; in ParseVarExpr()
442 if (CurTok != tok_identifier) in ParseVarExpr()
447 if (CurTok != tok_in) in ParseVarExpr()
465 switch (CurTok) { in ParsePrimary()
481 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
485 int Opc = CurTok; in ParseUnary()
505 int BinOp = CurTok; in ParseBinOpRHS()
545 switch (CurTok) { in ParsePrototype()
555 if (!isascii(CurTok)) in ParsePrototype()
558 FnName += (char)CurTok; in ParsePrototype()
564 if (!isascii(CurTok)) in ParsePrototype()
567 FnName += (char)CurTok; in ParsePrototype()
572 if (CurTok == tok_number) { in ParsePrototype()
581 if (CurTok != '(') in ParsePrototype()
587 if (CurTok != ')') in ParsePrototype()
1453 switch (CurTok) { in MainLoop()