Lines Matching refs:CurTok
153 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
155 /// lexer and updates CurTok with its results.
156 static int CurTok;
158 return CurTok = gettok();
163 in our parser will assume that CurTok is the current token that needs to
219 if (CurTok != ')')
258 if (CurTok != '(') // Simple variable ref.
264 if (CurTok != ')') {
270 if (CurTok == ')') break;
272 if (CurTok != ',')
307 switch (CurTok) {
316 we can assume the state of CurTok in the various functions. This uses
346 if (!isascii(CurTok))
350 int TokPrec = BinopPrecedence[CurTok];
439 int BinOp = CurTok;
545 if (CurTok != tok_identifier)
551 if (CurTok != '(')
558 if (CurTok != ')')
628 switch (CurTok) {
837 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
839 /// lexer and updates CurTok with its results.
840 static int CurTok;
842 return CurTok = gettok();
851 if (!isascii(CurTok))
855 int TokPrec = BinopPrecedence[CurTok];
875 if (CurTok != '(') // Simple variable ref.
881 if (CurTok != ')') {
887 if (CurTok == ')') break;
889 if (CurTok != ',')
914 if (CurTok != ')')
925 switch (CurTok) {
946 int BinOp = CurTok;
979 if (CurTok != tok_identifier)
985 if (CurTok != '(')
991 if (CurTok != ')')
1063 switch (CurTok) {