X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9bc0dd679f19b79f7250d2b16563b590a3b032bb..12e3584054c16ab255672c07af0ffc7bb220e8bc:/src/parse-gram.h diff --git a/src/parse-gram.h b/src/parse-gram.h index 54e07e6b..9161ad1c 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,20 +1,20 @@ -/* A Bison parser, made by GNU Bison 2.3+. */ +/* A Bison parser, made by GNU Bison 2.3a+. */ /* Skeleton interface for Bison's Yacc-like parsers in C - - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 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., 51 Franklin Street, Fifth Floor, @@ -29,7 +29,7 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ @@ -54,8 +54,8 @@ PERCENT_PREC = 268, PERCENT_DPREC = 269, PERCENT_MERGE = 270, - PERCENT_AFTER_DEFINITIONS = 271, - PERCENT_BEFORE_DEFINITIONS = 272, + PERCENT_CODE = 271, + PERCENT_CODE_TOP = 272, PERCENT_DEBUG = 273, PERCENT_DEFAULT_PREC = 274, PERCENT_DEFINE = 275, @@ -74,25 +74,30 @@ PERCENT_NONDETERMINISTIC_PARSER = 288, PERCENT_OUTPUT = 289, PERCENT_PARSE_PARAM = 290, - PERCENT_PURE_PARSER = 291, - PERCENT_REQUIRE = 292, - PERCENT_SKELETON = 293, - PERCENT_START = 294, - PERCENT_TOKEN_TABLE = 295, - PERCENT_VERBOSE = 296, - PERCENT_YACC = 297, - BRACED_CODE = 298, - CHAR = 299, - EPILOGUE = 300, - EQUAL = 301, - ID = 302, - ID_COLON = 303, - PERCENT_PERCENT = 304, - PIPE = 305, - PROLOGUE = 306, - SEMICOLON = 307, - TYPE = 308, - PERCENT_UNION = 309 + PERCENT_PROVIDES = 291, + PERCENT_PURE_PARSER = 292, + PERCENT_PUSH_PARSER = 293, + PERCENT_REQUIRE = 294, + PERCENT_REQUIRES = 295, + PERCENT_SKELETON = 296, + PERCENT_START = 297, + PERCENT_TOKEN_TABLE = 298, + PERCENT_VERBOSE = 299, + PERCENT_YACC = 300, + BRACED_CODE = 301, + CHAR = 302, + EPILOGUE = 303, + EQUAL = 304, + ID = 305, + ID_COLON = 306, + PERCENT_PERCENT = 307, + PIPE = 308, + PROLOGUE = 309, + SEMICOLON = 310, + TYPE = 311, + TYPE_TAG_ANY = 312, + TYPE_TAG_NONE = 313, + PERCENT_UNION = 314 }; #endif /* Tokens. */ @@ -110,8 +115,8 @@ #define PERCENT_PREC 268 #define PERCENT_DPREC 269 #define PERCENT_MERGE 270 -#define PERCENT_AFTER_DEFINITIONS 271 -#define PERCENT_BEFORE_DEFINITIONS 272 +#define PERCENT_CODE 271 +#define PERCENT_CODE_TOP 272 #define PERCENT_DEBUG 273 #define PERCENT_DEFAULT_PREC 274 #define PERCENT_DEFINE 275 @@ -130,33 +135,40 @@ #define PERCENT_NONDETERMINISTIC_PARSER 288 #define PERCENT_OUTPUT 289 #define PERCENT_PARSE_PARAM 290 -#define PERCENT_PURE_PARSER 291 -#define PERCENT_REQUIRE 292 -#define PERCENT_SKELETON 293 -#define PERCENT_START 294 -#define PERCENT_TOKEN_TABLE 295 -#define PERCENT_VERBOSE 296 -#define PERCENT_YACC 297 -#define BRACED_CODE 298 -#define CHAR 299 -#define EPILOGUE 300 -#define EQUAL 301 -#define ID 302 -#define ID_COLON 303 -#define PERCENT_PERCENT 304 -#define PIPE 305 -#define PROLOGUE 306 -#define SEMICOLON 307 -#define TYPE 308 -#define PERCENT_UNION 309 +#define PERCENT_PROVIDES 291 +#define PERCENT_PURE_PARSER 292 +#define PERCENT_PUSH_PARSER 293 +#define PERCENT_REQUIRE 294 +#define PERCENT_REQUIRES 295 +#define PERCENT_SKELETON 296 +#define PERCENT_START 297 +#define PERCENT_TOKEN_TABLE 298 +#define PERCENT_VERBOSE 299 +#define PERCENT_YACC 300 +#define BRACED_CODE 301 +#define CHAR 302 +#define EPILOGUE 303 +#define EQUAL 304 +#define ID 305 +#define ID_COLON 306 +#define PERCENT_PERCENT 307 +#define PIPE 308 +#define PROLOGUE 309 +#define SEMICOLON 310 +#define TYPE 311 +#define TYPE_TAG_ANY 312 +#define TYPE_TAG_NONE 313 +#define PERCENT_UNION 314 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE -#line 97 "parse-gram.y" { +/* Line 1535 of yacc.c */ +#line 98 "parse-gram.y" + symbol *symbol; symbol_list *list; int integer; @@ -165,12 +177,13 @@ typedef union YYSTYPE uniqstr uniqstr; unsigned char character; } -/* Line 1544 of yacc.c. */ -#line 170 "parse-gram.h" + +/* Line 1535 of yacc.c */ +#line 183 "parse-gram.h" YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 -# define YYSTYPE_IS_TRIVIAL 1 #endif