Lines Matching refs:exp
52 struct expression *exp; member
146 %type <exp> exp
150 start: exp
158 exp: exp '?' exp ':' exp
162 | exp '|' exp
166 | exp '&' exp
170 | exp EQUOP2 exp
174 | exp CMPOP2 exp
178 | exp ADDOP2 exp
182 | exp MULOP2 exp
186 | '!' exp
199 | '(' exp ')'
209 FREE_EXPRESSION (struct expression *exp)
211 if (exp == NULL)
215 switch (exp->nargs)
218 FREE_EXPRESSION (exp->val.args[2]);
221 FREE_EXPRESSION (exp->val.args[1]);
224 FREE_EXPRESSION (exp->val.args[0]);
230 free (exp);
237 const char *exp = *pexp; in yylex() local
242 if (exp[0] == '\0') in yylex()
244 *pexp = exp; in yylex()
248 if (exp[0] != ' ' && exp[0] != '\t') in yylex()
251 ++exp; in yylex()
254 result = *exp++; in yylex()
261 while (exp[0] >= '0' && exp[0] <= '9') in yylex()
264 n += exp[0] - '0'; in yylex()
265 ++exp; in yylex()
273 if (exp[0] == '=') in yylex()
275 ++exp; in yylex()
284 if (exp[0] == '=') in yylex()
286 ++exp; in yylex()
294 if (exp[0] == result) in yylex()
295 ++exp; in yylex()
301 if (exp[0] == '=') in yylex()
303 ++exp; in yylex()
312 if (exp[0] == '=') in yylex()
314 ++exp; in yylex()
359 --exp; in yylex()
366 --exp; in yylex()
371 *pexp = exp; in yylex()