Home | History | Annotate | Download | only in Chapter5

Lines Matching refs:CurTok

192 /// CurTok/getNextToken - Provide a simple token buffer.  CurTok is the current
194 /// lexer and updates CurTok with its results.
195 static int CurTok;
197 return CurTok = gettok();
206 if (!isascii(CurTok))
210 int TokPrec = BinopPrecedence[CurTok];
230 if (CurTok != '(') // Simple variable ref.
236 if (CurTok != ')') {
242 if (CurTok == ')') break;
244 if (CurTok != ',')
269 if (CurTok != ')')
283 if (CurTok != tok_then)
290 if (CurTok != tok_else)
305 if (CurTok != tok_identifier)
311 if (CurTok != '=')
318 if (CurTok != ',')
327 if (CurTok == ',') {
333 if (CurTok != tok_in)
350 switch (CurTok) {
373 int BinOp = CurTok;
406 if (CurTok != tok_identifier)
412 if (CurTok != '(')
418 if (CurTok != ')')
779 switch (CurTok) {