Lines Matching defs:CurTok
280 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
282 /// lexer and updates CurTok with its results.
283 static int CurTok;
285 return CurTok = gettok();
294 if (!isascii(CurTok))
298 int TokPrec = BinopPrecedence[CurTok];
318 if (CurTok != '(') // Simple variable ref.
324 if (CurTok != ')') {
330 if (CurTok == ')') break;
332 if (CurTok != ',')
357 if (CurTok != ')')
371 if (CurTok != tok_then)
378 if (CurTok != tok_else)
393 if (CurTok != tok_identifier)
399 if (CurTok != '=')
406 if (CurTok != ',')
415 if (CurTok == ',') {
421 if (CurTok != tok_in)
439 if (CurTok != tok_identifier)
448 if (CurTok == '=') {
458 if (CurTok != ',') break;
461 if (CurTok != tok_identifier)
466 if (CurTok != tok_in)
484 switch (CurTok) {
500 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
504 int Opc = CurTok;
524 int BinOp = CurTok;
564 switch (CurTok) {
574 if (!isascii(CurTok))
577 FnName += (char)CurTok;
583 if (!isascii(CurTok))
586 FnName += (char)CurTok;
591 if (CurTok == tok_number) {
600 if (CurTok != '(')
606 if (CurTok != ')')
1526 switch (CurTok) {