Lines Matching refs:CurTok
254 static int CurTok; variable
255 static int getNextToken() { return CurTok = gettok(); } in getNextToken()
263 if (!isascii(CurTok)) in GetTokPrecedence()
267 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
300 if (CurTok != ')') in ParseParenExpr()
314 if (CurTok != '(') // Simple variable ref. in ParseIdentifierExpr()
320 if (CurTok != ')') { in ParseIdentifierExpr()
327 if (CurTok == ')') in ParseIdentifierExpr()
330 if (CurTok != ',') in ParseIdentifierExpr()
351 if (CurTok != tok_then) in ParseIfExpr()
359 if (CurTok != tok_else) in ParseIfExpr()
376 if (CurTok != tok_identifier) in ParseForExpr()
382 if (CurTok != '=') in ParseForExpr()
389 if (CurTok != ',') in ParseForExpr()
399 if (CurTok == ',') { in ParseForExpr()
406 if (CurTok != tok_in) in ParseForExpr()
425 switch (CurTok) { in ParsePrimary()
446 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',') in ParseUnary()
450 int Opc = CurTok; in ParseUnary()
471 int BinOp = CurTok; in ParseBinOpRHS()
515 switch (CurTok) { in ParsePrototype()
525 if (!isascii(CurTok)) in ParsePrototype()
528 FnName += (char)CurTok; in ParsePrototype()
534 if (!isascii(CurTok)) in ParsePrototype()
537 FnName += (char)CurTok; in ParsePrototype()
542 if (CurTok == tok_number) { in ParsePrototype()
551 if (CurTok != '(') in ParsePrototype()
557 if (CurTok != ')') in ParsePrototype()
1000 switch (CurTok) { in MainLoop()