Lines Matching refs:CurTok
261 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
263 /// lexer and updates CurTok with its results.
264 static int CurTok;
266 return CurTok = gettok();
275 if (!isascii(CurTok))
279 int TokPrec = BinopPrecedence[CurTok];
299 if (CurTok != '(') // Simple variable ref.
305 if (CurTok != ')') {
311 if (CurTok == ')') break;
313 if (CurTok != ',')
338 if (CurTok != ')')
352 if (CurTok != tok_then)
359 if (CurTok != tok_else)
374 if (CurTok != tok_identifier)
380 if (CurTok != '=')
387 if (CurTok != ',')
396 if (CurTok == ',') {
402 if (CurTok != tok_in)
420 if (CurTok != tok_identifier)
429 if (CurTok == '=') {
439 if (CurTok != ',') break;
442 if (CurTok != tok_identifier)
447 if (CurTok != tok_in)
465 switch (CurTok) {
481 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
485 int Opc = CurTok;
505 int BinOp = CurTok;
545 switch (CurTok) {
555 if (!isascii(CurTok))
558 FnName += (char)CurTok;
564 if (!isascii(CurTok))
567 FnName += (char)CurTok;
572 if (CurTok == tok_number) {
581 if (CurTok != '(')
587 if (CurTok != ')')
1454 switch (CurTok) {