Lines Matching refs:CurTok
255 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
257 /// lexer and updates CurTok with its results.
258 static int CurTok;
260 return CurTok = gettok();
269 if (!isascii(CurTok))
273 int TokPrec = BinopPrecedence[CurTok];
293 if (CurTok != '(') // Simple variable ref.
299 if (CurTok != ')') {
305 if (CurTok == ')') break;
307 if (CurTok != ',')
332 if (CurTok != ')')
346 if (CurTok != tok_then)
353 if (CurTok != tok_else)
368 if (CurTok != tok_identifier)
374 if (CurTok != '=')
381 if (CurTok != ',')
390 if (CurTok == ',') {
396 if (CurTok != tok_in)
414 if (CurTok != tok_identifier)
423 if (CurTok == '=') {
433 if (CurTok != ',') break;
436 if (CurTok != tok_identifier)
441 if (CurTok != tok_in)
459 switch (CurTok) {
475 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
479 int Opc = CurTok;
499 int BinOp = CurTok;
539 switch (CurTok) {
549 if (!isascii(CurTok))
552 FnName += (char)CurTok;
558 if (!isascii(CurTok))
561 FnName += (char)CurTok;
566 if (CurTok == tok_number) {
575 if (CurTok != '(')
581 if (CurTok != ')')
1086 switch (CurTok) {