Lines Matching refs:CurTok
240 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
242 /// lexer and updates CurTok with its results.
243 static int CurTok;
245 return CurTok = gettok();
254 if (!isascii(CurTok))
258 int TokPrec = BinopPrecedence[CurTok];
278 if (CurTok != '(') // Simple variable ref.
284 if (CurTok != ')') {
290 if (CurTok == ')') break;
292 if (CurTok != ',')
317 if (CurTok != ')')
331 if (CurTok != tok_then)
338 if (CurTok != tok_else)
353 if (CurTok != tok_identifier)
359 if (CurTok != '=')
366 if (CurTok != ',')
375 if (CurTok == ',') {
381 if (CurTok != tok_in)
399 if (CurTok != tok_identifier)
408 if (CurTok == '=') {
418 if (CurTok != ',') break;
421 if (CurTok != tok_identifier)
426 if (CurTok != tok_in)
444 switch (CurTok) {
460 if (!isascii(CurTok) || CurTok == '(' || CurTok == ',')
464 int Opc = CurTok;
484 int BinOp = CurTok;
524 switch (CurTok) {
534 if (!isascii(CurTok))
537 FnName += (char)CurTok;
543 if (!isascii(CurTok))
546 FnName += (char)CurTok;
551 if (CurTok == tok_number) {
560 if (CurTok != '(')
566 if (CurTok != ')')
1068 switch (CurTok) {