X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3e6656f9ab66ae7e629f8e5d5b41810bf070f09d..650aa2cfbfa9f0f94fcc644bb1c306a5f15f5d4c:/src/parse-gram.h diff --git a/src/parse-gram.h b/src/parse-gram.h index 96ee3d74..31946928 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,7 +1,7 @@ -/* A Bison parser, made from parse-gram.y, by GNU bison 1.75b. */ +/* A Bison parser, made by GNU Bison 1.875b. */ /* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 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 @@ -23,9 +23,6 @@ This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ -#ifndef BISON_PARSE_GRAM_H -# define BISON_PARSE_GRAM_H - /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE @@ -69,14 +66,13 @@ TYPE = 291, EQUAL = 292, SEMICOLON = 293, - COLON = 294, - COMMA = 295, - PIPE = 296, - ID = 297, - PERCENT_PERCENT = 298, - PROLOGUE = 299, - EPILOGUE = 300, - BRACED_CODE = 301 + PIPE = 294, + ID = 295, + ID_COLON = 296, + PERCENT_PERCENT = 297, + PROLOGUE = 298, + EPILOGUE = 299, + BRACED_CODE = 300 }; #endif #define GRAM_EOF 0 @@ -116,47 +112,49 @@ #define TYPE 291 #define EQUAL 292 #define SEMICOLON 293 -#define COLON 294 -#define COMMA 295 -#define PIPE 296 -#define ID 297 -#define PERCENT_PERCENT 298 -#define PROLOGUE 299 -#define EPILOGUE 300 -#define BRACED_CODE 301 +#define PIPE 294 +#define ID 295 +#define ID_COLON 296 +#define PERCENT_PERCENT 297 +#define PROLOGUE 298 +#define EPILOGUE 299 +#define BRACED_CODE 300 -#ifndef YYSTYPE -#line 89 "parse-gram.y" -typedef union { - symbol_t *symbol; - symbol_list_t *list; +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 75 "parse-gram.y" +typedef union YYSTYPE { + symbol *symbol; + symbol_list *list; int integer; - char *string; - assoc_t assoc; - struniq_t struniq; -} yystype; -/* Line 1321 of /usr/local/share/bison/yacc.c. */ -#line 143 "y.tab.h" -# define YYSTYPE yystype + char *chars; + assoc assoc; + uniqstr uniqstr; +} YYSTYPE; +/* Line 1252 of yacc.c. */ +#line 138 "y.tab.h" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 #endif -#ifndef YYLTYPE -typedef struct yyltype +#if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED) +typedef struct YYLTYPE { int first_line; int first_column; int last_line; int last_column; -} yyltype; -# define YYLTYPE yyltype +} YYLTYPE; +# define yyltype YYLTYPE /* obsolescent; will be withdrawn */ +# define YYLTYPE_IS_DECLARED 1 +# define YYLTYPE_IS_TRIVIAL 1 #endif -#endif /* not BISON_PARSE_GRAM_H */