1 #ifndef _demo__defines_h_ 2 #define _demo__defines_h_ 3 4 #define PREFIX 257 5 #define POSTFIX 258 6 #define ID 259 7 #define CONSTANT 260 8 #define EXTERN 261 9 #define REGISTER 262 10 #define STATIC 263 11 #define CONST 264 12 #define VOLATILE 265 13 #define IF 266 14 #define THEN 267 15 #define ELSE 268 16 #define CLCL 269 17 #ifdef YYSTYPE 18 #undef YYSTYPE_IS_DECLARED 19 #define YYSTYPE_IS_DECLARED 1 20 #endif 21 #ifndef YYSTYPE_IS_DECLARED 22 #define YYSTYPE_IS_DECLARED 1 23 typedef union { 24 Scope *scope; 25 Expr *expr; 26 Expr_List *elist; 27 Type *type; 28 Decl *decl; 29 Decl_List *dlist; 30 Code *code; 31 char *id; 32 } YYSTYPE; 33 #endif /* !YYSTYPE_IS_DECLARED */ 34 extern YYSTYPE demo_lval; 35 36 #endif /* _demo__defines_h_ */ 37