X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/489e97ede850a8de01ca3bd653dce9c25dcd54a1..928c6b8da5a3677aaaf33976a7d921a1498a61df:/src/parse.h diff --git a/src/parse.h b/src/parse.h index af83451..e945370 100644 --- a/src/parse.h +++ b/src/parse.h @@ -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 */