Lines Matching defs:CurTok
238 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
240 /// lexer and updates CurTok with its results.
241 static int CurTok;
243 return CurTok = gettok();
252 if (!isascii(CurTok))
256 int TokPrec = BinopPrecedence[CurTok];
276 if (CurTok != '(') // Simple variable ref.
282 if (CurTok != ')') {
288 if (CurTok == ')') break;
290 if (CurTok != ',')
315 if (CurTok != ')')
329 if (CurTok != tok_then)
336 if (CurTok != tok_else)
351 if (CurTok != tok_identifier)
357 if (CurTok != '=')
364 if (CurTok != ',')
373 if (CurTok == ',') {
379 if (CurTok != tok_in)
397 if (CurTok != tok_identifier)
406 if (CurTok == '=') {
416 if (CurTok != ',') break;
419 if (CurTok != tok_identifier)
424 if (CurTok != tok_in)
442 switch (CurTok) {
458 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
462 int Opc = CurTok;
482 int BinOp = CurTok;
522 switch (CurTok) {
532 if (!isascii(CurTok))
535 FnName += (char)CurTok;
541 if (!isascii(CurTok))
544 FnName += (char)CurTok;
549 if (CurTok == tok_number) {
558 if (CurTok != '(')
564 if (CurTok != ')')
1053 switch (CurTok) {