Lines Matching refs:exp
35 #include "plural-exp.h"
52 struct expression *exp;
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;
242 if (exp[0] == '\0')
244 *pexp = exp;
248 if (exp[0] != ' ' && exp[0] != '\t')
251 ++exp;
254 result = *exp++;
261 while (exp[0] >= '0' && exp[0] <= '9')
264 n += exp[0] - '0';
265 ++exp;
273 if (exp[0] == '=')
275 ++exp;
284 if (exp[0] == '=')
286 ++exp;
294 if (exp[0] == result)
295 ++exp;
301 if (exp[0] == '=')
303 ++exp;
312 if (exp[0] == '=')
314 ++exp;
359 --exp;
366 --exp;
371 *pexp = exp;