xref: /netbsd-src/external/lgpl3/gmp/dist/demos/calc/calc.h (revision a8c74629f602faa0ccf8a463757d7baf858bbf3a)
1 #define EOS 257
2 #define BAD 258
3 #define HELP 259
4 #define HEX 260
5 #define DECIMAL 261
6 #define QUIT 262
7 #define ABS 263
8 #define BIN 264
9 #define FIB 265
10 #define GCD 266
11 #define KRON 267
12 #define LCM 268
13 #define LUCNUM 269
14 #define NEXTPRIME 270
15 #define POWM 271
16 #define ROOT 272
17 #define SQRT 273
18 #define NUMBER 274
19 #define VARIABLE 275
20 #define LOR 276
21 #define LAND 277
22 #define EQ 278
23 #define NE 279
24 #define LE 280
25 #define GE 281
26 #define LSHIFT 282
27 #define RSHIFT 283
28 #define UMINUS 284
29 #ifdef YYSTYPE
30 #undef  YYSTYPE_IS_DECLARED
31 #define YYSTYPE_IS_DECLARED 1
32 #endif
33 #ifndef YYSTYPE_IS_DECLARED
34 #define YYSTYPE_IS_DECLARED 1
35 typedef union {
36   char  *str;
37   int   var;
38 } YYSTYPE;
39 #endif /* !YYSTYPE_IS_DECLARED */
40 extern YYSTYPE yylval;
41