Lines Matching defs:CurTok
239 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
241 /// lexer and updates CurTok with its results.
242 static int CurTok;
244 return CurTok = gettok();
253 if (!isascii(CurTok))
257 int TokPrec = BinopPrecedence[CurTok];
277 if (CurTok != '(') // Simple variable ref.
283 if (CurTok != ')') {
289 if (CurTok == ')') break;
291 if (CurTok != ',')
316 if (CurTok != ')')
330 if (CurTok != tok_then)
337 if (CurTok != tok_else)
352 if (CurTok != tok_identifier)
358 if (CurTok != '=')
365 if (CurTok != ',')
374 if (CurTok == ',') {
380 if (CurTok != tok_in)
398 if (CurTok != tok_identifier)
407 if (CurTok == '=') {
417 if (CurTok != ',') break;
420 if (CurTok != tok_identifier)
425 if (CurTok != tok_in)
443 switch (CurTok) {
459 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
463 int Opc = CurTok;
483 int BinOp = CurTok;
523 switch (CurTok) {
533 if (!isascii(CurTok))
536 FnName += (char)CurTok;
542 if (!isascii(CurTok))
545 FnName += (char)CurTok;
550 if (CurTok == tok_number) {
559 if (CurTok != '(')
565 if (CurTok != ')')
1351 switch (CurTok) {