X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/38fac18bf81df672821ebbac4130ce41f0a6c61f..4d534c82fb65897999ade6867534ab952a9bc019:/src/parse.h diff --git a/src/parse.h b/src/parse.h index af83451..d0e6b0f 100644 --- a/src/parse.h +++ b/src/parse.h @@ -1,60 +1,157 @@ -typedef union { +/* A Bison parser, made by GNU Bison 2.0. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + CLASS = 258, + FROM = 259, + CONST = 260, + VOID = 261, + STRUCT = 262, + UNION = 263, + ENUM = 264, + THREEDOTS = 265, + SIGNED = 266, + UNSIGNED = 267, + LONG = 268, + SHORT = 269, + INT = 270, + FLOAT = 271, + DOUBLE = 272, + CHAR = 273, + TOKEN = 274, + NUMBER = 275, + TYPETOKEN = 276, + ARRAY_DIM = 277, + SINGLE_CHAR = 278, + CCODE = 279, + HTCODE = 280, + PHCODE = 281, + HCODE = 282, + ACODE = 283, + ATCODE = 284, + STRING = 285, + PUBLIC = 286, + PRIVATE = 287, + PROTECTED = 288, + CLASSWIDE = 289, + PROPERTY = 290, + ARGUMENT = 291, + VIRTUAL = 292, + SIGNAL = 293, + OVERRIDE = 294, + NICK = 295, + BLURB = 296, + MAXIMUM = 297, + MINIMUM = 298, + DEFAULT_VALUE = 299, + ERROR = 300, + FLAGS = 301, + TYPE = 302, + FLAGS_TYPE = 303, + ENUM_TYPE = 304, + PARAM_TYPE = 305, + BOXED_TYPE = 306, + OBJECT_TYPE = 307 + }; +#endif +#define CLASS 258 +#define FROM 259 +#define CONST 260 +#define VOID 261 +#define STRUCT 262 +#define UNION 263 +#define ENUM 264 +#define THREEDOTS 265 +#define SIGNED 266 +#define UNSIGNED 267 +#define LONG 268 +#define SHORT 269 +#define INT 270 +#define FLOAT 271 +#define DOUBLE 272 +#define CHAR 273 +#define TOKEN 274 +#define NUMBER 275 +#define TYPETOKEN 276 +#define ARRAY_DIM 277 +#define SINGLE_CHAR 278 +#define CCODE 279 +#define HTCODE 280 +#define PHCODE 281 +#define HCODE 282 +#define ACODE 283 +#define ATCODE 284 +#define STRING 285 +#define PUBLIC 286 +#define PRIVATE 287 +#define PROTECTED 288 +#define CLASSWIDE 289 +#define PROPERTY 290 +#define ARGUMENT 291 +#define VIRTUAL 292 +#define SIGNAL 293 +#define OVERRIDE 294 +#define NICK 295 +#define BLURB 296 +#define MAXIMUM 297 +#define MINIMUM 298 +#define DEFAULT_VALUE 299 +#define ERROR 300 +#define FLAGS 301 +#define TYPE 302 +#define FLAGS_TYPE 303 +#define ENUM_TYPE 304 +#define PARAM_TYPE 305 +#define BOXED_TYPE 306 +#define OBJECT_TYPE 307 + + + + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 668 "parse.y" +typedef union YYSTYPE { 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 - +/* Line 1318 of yacc.c. */ +#line 149 "y.tab.h" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif extern YYSTYPE yylval; + + +