]> git.draconx.ca Git - gob-dx.git/blobdiff - src/parse.h
Release 2.0.2
[gob-dx.git] / src / parse.h
index af83451aa4ac98ea889dbc2cf0e51ac8897a4256..e9453708008006971e6c4b141f46c872e92700c1 100644 (file)
@@ -1,60 +1,69 @@
+#ifndef BISON_Y_TAB_H
+# define BISON_Y_TAB_H
+
+#ifndef YYSTYPE
 typedef union {
        char *id;
        GString *cbuf;
        GList *list;
        int line;
        int sigtype;
-} YYSTYPE;
-#define        CLASS   257
-#define        FROM    258
-#define        CONST   259
-#define        VOID    260
-#define        STRUCT  261
-#define        UNION   262
-#define        ENUM    263
-#define        THREEDOTS       264
-#define        SIGNED  265
-#define        UNSIGNED        266
-#define        LONG    267
-#define        SHORT   268
-#define        INT     269
-#define        FLOAT   270
-#define        DOUBLE  271
-#define        CHAR    272
-#define        TOKEN   273
-#define        NUMBER  274
-#define        TYPETOKEN       275
-#define        ARRAY_DIM       276
-#define        SINGLE_CHAR     277
-#define        CCODE   278
-#define        HTCODE  279
-#define        PHCODE  280
-#define        HCODE   281
-#define        ACODE   282
-#define        ATCODE  283
-#define        STRING  284
-#define        PUBLIC  285
-#define        PRIVATE 286
-#define        PROTECTED       287
-#define        CLASSWIDE       288
-#define        PROPERTY        289
-#define        ARGUMENT        290
-#define        VIRTUAL 291
-#define        SIGNAL  292
-#define        OVERRIDE        293
-#define        NICK    294
-#define        BLURB   295
-#define        MAXIMUM 296
-#define        MINIMUM 297
-#define        DEFAULT_VALUE   298
-#define        ERROR   299
-#define        FLAGS   300
-#define        TYPE    301
-#define        FLAGS_TYPE      302
-#define        ENUM_TYPE       303
-#define        PARAM_TYPE      304
-#define        BOXED_TYPE      305
-#define        OBJECT_TYPE     306
+} yystype;
+# define YYSTYPE yystype
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+# define       CLASS   257
+# define       FROM    258
+# define       CONST   259
+# define       VOID    260
+# define       STRUCT  261
+# define       UNION   262
+# define       ENUM    263
+# define       THREEDOTS       264
+# define       SIGNED  265
+# define       UNSIGNED        266
+# define       LONG    267
+# define       SHORT   268
+# define       INT     269
+# define       FLOAT   270
+# define       DOUBLE  271
+# define       CHAR    272
+# define       TOKEN   273
+# define       NUMBER  274
+# define       TYPETOKEN       275
+# define       ARRAY_DIM       276
+# define       SINGLE_CHAR     277
+# define       CCODE   278
+# define       HTCODE  279
+# define       PHCODE  280
+# define       HCODE   281
+# define       ACODE   282
+# define       ATCODE  283
+# define       STRING  284
+# define       PUBLIC  285
+# define       PRIVATE 286
+# define       PROTECTED       287
+# define       CLASSWIDE       288
+# define       PROPERTY        289
+# define       ARGUMENT        290
+# define       VIRTUAL 291
+# define       SIGNAL  292
+# define       OVERRIDE        293
+# define       NICK    294
+# define       BLURB   295
+# define       MAXIMUM 296
+# define       MINIMUM 297
+# define       DEFAULT_VALUE   298
+# define       ERROR   299
+# define       FLAGS   300
+# define       TYPE    301
+# define       FLAGS_TYPE      302
+# define       ENUM_TYPE       303
+# define       PARAM_TYPE      304
+# define       BOXED_TYPE      305
+# define       OBJECT_TYPE     306
 
 
 extern YYSTYPE yylval;
+
+#endif /* not BISON_Y_TAB_H */