X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gmp%2Fdemos%2Fcalc%2Fcalc.h;fp=gmp%2Fdemos%2Fcalc%2Fcalc.h;h=448cc425c59ff4a606e71b08030a384a28261f25;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gmp/demos/calc/calc.h b/gmp/demos/calc/calc.h new file mode 100644 index 00000000..448cc425 --- /dev/null +++ b/gmp/demos/calc/calc.h @@ -0,0 +1,43 @@ +#ifndef BISON_CALC_H +# define BISON_CALC_H + +#ifndef YYSTYPE +typedef union { + char *str; + int var; +} yystype; +# define YYSTYPE yystype +#endif +# define EOS 257 +# define BAD 258 +# define HELP 259 +# define HEX 260 +# define DECIMAL 261 +# define QUIT 262 +# define ABS 263 +# define BIN 264 +# define FIB 265 +# define GCD 266 +# define KRON 267 +# define LCM 268 +# define LUCNUM 269 +# define NEXTPRIME 270 +# define POWM 271 +# define ROOT 272 +# define SQRT 273 +# define NUMBER 274 +# define VARIABLE 275 +# define LOR 276 +# define LAND 277 +# define EQ 278 +# define NE 279 +# define LE 280 +# define GE 281 +# define LSHIFT 282 +# define RSHIFT 283 +# define UMINUS 284 + + +extern YYSTYPE yylval; + +#endif /* not BISON_CALC_H */