X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/da436e4383a5de048a4d9310342976505be30417..f52b276c551feabf0e831ccf8dd9a2cfd5cca0d7:/src/parse-gram.h diff --git a/src/parse-gram.h b/src/parse-gram.h index 637d088e..8ce0c966 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,7 +1,7 @@ -/* A Bison parser, made by GNU Bison 2.0. */ +/* A Bison parser, made by GNU Bison 2.1a. */ /* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + 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 @@ -15,8 +15,8 @@ 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. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, 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. @@ -63,23 +63,25 @@ PERCENT_OUTPUT = 288, PERCENT_PARSE_PARAM = 289, PERCENT_PURE_PARSER = 290, - PERCENT_SKELETON = 291, - PERCENT_START = 292, - PERCENT_TOKEN_TABLE = 293, - PERCENT_VERBOSE = 294, - PERCENT_YACC = 295, - TYPE = 296, - EQUAL = 297, - SEMICOLON = 298, - PIPE = 299, - ID = 300, - ID_COLON = 301, - PERCENT_PERCENT = 302, - PROLOGUE = 303, - EPILOGUE = 304, - BRACED_CODE = 305 + PERCENT_REQUIRE = 291, + PERCENT_SKELETON = 292, + PERCENT_START = 293, + PERCENT_TOKEN_TABLE = 294, + PERCENT_VERBOSE = 295, + PERCENT_YACC = 296, + TYPE = 297, + EQUAL = 298, + SEMICOLON = 299, + PIPE = 300, + ID = 301, + ID_COLON = 302, + PERCENT_PERCENT = 303, + PROLOGUE = 304, + EPILOGUE = 305, + BRACED_CODE = 306 }; #endif +/* Tokens. */ #define GRAM_EOF 0 #define STRING 258 #define INT 259 @@ -114,37 +116,40 @@ #define PERCENT_OUTPUT 288 #define PERCENT_PARSE_PARAM 289 #define PERCENT_PURE_PARSER 290 -#define PERCENT_SKELETON 291 -#define PERCENT_START 292 -#define PERCENT_TOKEN_TABLE 293 -#define PERCENT_VERBOSE 294 -#define PERCENT_YACC 295 -#define TYPE 296 -#define EQUAL 297 -#define SEMICOLON 298 -#define PIPE 299 -#define ID 300 -#define ID_COLON 301 -#define PERCENT_PERCENT 302 -#define PROLOGUE 303 -#define EPILOGUE 304 -#define BRACED_CODE 305 +#define PERCENT_REQUIRE 291 +#define PERCENT_SKELETON 292 +#define PERCENT_START 293 +#define PERCENT_TOKEN_TABLE 294 +#define PERCENT_VERBOSE 295 +#define PERCENT_YACC 296 +#define TYPE 297 +#define EQUAL 298 +#define SEMICOLON 299 +#define PIPE 300 +#define ID 301 +#define ID_COLON 302 +#define PERCENT_PERCENT 303 +#define PROLOGUE 304 +#define EPILOGUE 305 +#define BRACED_CODE 306 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) -#line 81 "parse-gram.y" -typedef union YYSTYPE { +typedef union YYSTYPE +#line 82 "parse-gram.y" +{ symbol *symbol; symbol_list *list; int integer; char *chars; assoc assoc; uniqstr uniqstr; -} YYSTYPE; -/* Line 1318 of yacc.c. */ -#line 148 "parse-gram.h" +} +/* Line 1543 of yacc.c. */ +#line 152 "parse-gram.h" + YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1