• Home
  • Raw
  • Download

Lines Matching refs:CurTok

239 static int CurTok;  variable
241 return CurTok = gettok(); in getNextToken()
250 if (!isascii(CurTok)) in GetTokPrecedence()
254 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
274 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
280 if (CurTok != ')') { in ParseIdentifierExpr()
286 if (CurTok == ')') break; in ParseIdentifierExpr()
288 if (CurTok != ',') in ParseIdentifierExpr()
313 if (CurTok != ')') in ParseParenExpr()
327 if (CurTok != tok_then) in ParseIfExpr()
334 if (CurTok != tok_else) in ParseIfExpr()
349 if (CurTok != tok_identifier) in ParseForExpr()
355 if (CurTok != '=') in ParseForExpr()
362 if (CurTok != ',') in ParseForExpr()
371 if (CurTok == ',') { in ParseForExpr()
377 if (CurTok != tok_in) in ParseForExpr()
395 if (CurTok != tok_identifier) in ParseVarExpr()
404 if (CurTok == '=') { in ParseVarExpr()
414 if (CurTok != ',') break; in ParseVarExpr()
417 if (CurTok != tok_identifier) in ParseVarExpr()
422 if (CurTok != tok_in) in ParseVarExpr()
440 switch (CurTok) { in ParsePrimary()
456 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
460 int Opc = CurTok; in ParseUnary()
480 int BinOp = CurTok; in ParseBinOpRHS()
520 switch (CurTok) { in ParsePrototype()
530 if (!isascii(CurTok)) in ParsePrototype()
533 FnName += (char)CurTok; in ParsePrototype()
539 if (!isascii(CurTok)) in ParsePrototype()
542 FnName += (char)CurTok; in ParsePrototype()
547 if (CurTok == tok_number) { in ParsePrototype()
556 if (CurTok != '(') in ParsePrototype()
562 if (CurTok != ')') in ParsePrototype()
1051 switch (CurTok) { in MainLoop()