Lines Matching defs:CurTok
248 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
250 /// lexer and updates CurTok with its results.
251 static int CurTok;
252 static int getNextToken() { return CurTok = gettok(); }
260 if (!isascii(CurTok))
264 int TokPrec = BinopPrecedence[CurTok];
297 if (CurTok != ')')
311 if (CurTok != '(') // Simple variable ref.
317 if (CurTok != ')') {
324 if (CurTok == ')')
327 if (CurTok != ',')
348 if (CurTok != tok_then)
356 if (CurTok != tok_else)
373 if (CurTok != tok_identifier)
379 if (CurTok != '=')
386 if (CurTok != ',')
396 if (CurTok == ',') {
403 if (CurTok != tok_in)
422 switch (CurTok) {
452 int BinOp = CurTok;
489 if (CurTok != tok_identifier)
495 if (CurTok != '(')
501 if (CurTok != ')')
936 switch (CurTok) {