Home | History | Annotate | Download | only in Chapter5

Lines Matching defs:CurTok

190 /// CurTok/getNextToken - Provide a simple token buffer.  CurTok is the current
192 /// lexer and updates CurTok with its results.
193 static int CurTok;
195 return CurTok = gettok();
204 if (!isascii(CurTok))
208 int TokPrec = BinopPrecedence[CurTok];
228 if (CurTok != '(') // Simple variable ref.
234 if (CurTok != ')') {
240 if (CurTok == ')') break;
242 if (CurTok != ',')
267 if (CurTok != ')')
281 if (CurTok != tok_then)
288 if (CurTok != tok_else)
303 if (CurTok != tok_identifier)
309 if (CurTok != '=')
316 if (CurTok != ',')
325 if (CurTok == ',') {
331 if (CurTok != tok_in)
348 switch (CurTok) {
371 int BinOp = CurTok;
404 if (CurTok != tok_identifier)
410 if (CurTok != '(')
416 if (CurTok != ')')
777 switch (CurTok) {