X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/4f09fcd75bb0057d90c7431f7db57ca2c5a6c028..2753ff6cefbe916211d543f1029879e2a075d111:/src/parse.h diff --git a/src/parse.h b/src/parse.h new file mode 100644 index 0000000..091b572 --- /dev/null +++ b/src/parse.h @@ -0,0 +1,44 @@ +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 CCODE 277 +#define HTCODE 278 +#define PHCODE 279 +#define HCODE 280 +#define ACODE 281 +#define ATCODE 282 +#define PUBLIC 283 +#define PRIVATE 284 +#define PROTECTED 285 +#define CLASSWIDE 286 +#define ARGUMENT 287 +#define VIRTUAL 288 +#define SIGNAL 289 +#define OVERRIDE 290 + + +extern YYSTYPE yylval;