Home | History | Annotate | Download | only in Chapter2

Lines Matching refs:CurTok

136 /// CurTok/getNextToken - Provide a simple token buffer.  CurTok is the current
138 /// lexer and updates CurTok with its results.
139 static int CurTok;
141 return CurTok = gettok();
150 if (!isascii(CurTok))
154 int TokPrec = BinopPrecedence[CurTok];
173 if (CurTok != '(') // Simple variable ref.
179 if (CurTok != ')') {
185 if (CurTok == ')') break;
187 if (CurTok != ',')
212 if (CurTok != ')')
223 switch (CurTok) {
244 int BinOp = CurTok;
277 if (CurTok != tok_identifier)
283 if (CurTok != '(')
289 if (CurTok != ')')
361 switch (CurTok) {