X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/d52e64e92557f0b6d7704077ec175c88fa7ca243..8445442abc02fc325a9ce228759403113583818c:/src/parse.h diff --git a/src/parse.h b/src/parse.h index 0ecf723..e07616e 100644 --- a/src/parse.h +++ b/src/parse.h @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 2.5. */ +/* A Bison parser, made by GNU Bison 2.7. */ /* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2012 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 @@ -30,6 +30,15 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ +#ifndef YY_YY_PARSE_H_INCLUDED +# define YY_YY_PARSE_H_INCLUDED +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 1 +#endif +#if YYDEBUG +extern int yydebug; +#endif /* Tokens. */ #ifndef YYTOKENTYPE @@ -76,19 +85,20 @@ VIRTUAL = 294, SIGNAL = 295, OVERRIDE = 296, - NICK = 297, - BLURB = 298, - MAXIMUM = 299, - MINIMUM = 300, - DEFAULT_VALUE = 301, - ERROR = 302, - FLAGS = 303, - TYPE = 304, - FLAGS_TYPE = 305, - ENUM_TYPE = 306, - PARAM_TYPE = 307, - BOXED_TYPE = 308, - OBJECT_TYPE = 309 + NAME = 297, + NICK = 298, + BLURB = 299, + MAXIMUM = 300, + MINIMUM = 301, + DEFAULT_VALUE = 302, + ERROR = 303, + FLAGS = 304, + TYPE = 305, + FLAGS_TYPE = 306, + ENUM_TYPE = 307, + PARAM_TYPE = 308, + BOXED_TYPE = 309, + OBJECT_TYPE = 310 }; #endif /* Tokens. */ @@ -131,29 +141,28 @@ #define VIRTUAL 294 #define SIGNAL 295 #define OVERRIDE 296 -#define NICK 297 -#define BLURB 298 -#define MAXIMUM 299 -#define MINIMUM 300 -#define DEFAULT_VALUE 301 -#define ERROR 302 -#define FLAGS 303 -#define TYPE 304 -#define FLAGS_TYPE 305 -#define ENUM_TYPE 306 -#define PARAM_TYPE 307 -#define BOXED_TYPE 308 -#define OBJECT_TYPE 309 - +#define NAME 297 +#define NICK 298 +#define BLURB 299 +#define MAXIMUM 300 +#define MINIMUM 301 +#define DEFAULT_VALUE 302 +#define ERROR 303 +#define FLAGS 304 +#define TYPE 305 +#define FLAGS_TYPE 306 +#define ENUM_TYPE 307 +#define PARAM_TYPE 308 +#define BOXED_TYPE 309 +#define OBJECT_TYPE 310 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { - -/* Line 2068 of yacc.c */ -#line 683 "parse.y" +/* Line 2058 of yacc.c */ +#line 692 "parse.y" char *id; GString *cbuf; @@ -162,9 +171,8 @@ typedef union YYSTYPE int sigtype; - -/* Line 2068 of yacc.c */ -#line 168 "parse.h" +/* Line 2058 of yacc.c */ +#line 176 "parse.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -173,4 +181,18 @@ typedef union YYSTYPE extern YYSTYPE yylval; +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); +#else +int yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ +#endif /* !YY_YY_PARSE_H_INCLUDED */