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