X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/62ddaef6a71b1fd80b0f286ae78541a86fd92d8e..6175ffe3211dad578ce6585584c4eb85cf891830:/src/parse-gram.h diff --git a/src/parse-gram.h b/src/parse-gram.h index ea92cb3a..31946928 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,7 +1,7 @@ -/* A Bison parser, made 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 @@ -66,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 @@ -113,44 +112,47 @@ #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; -} yystype; -/* Line 1293 of /tmp/prefix/share/bison/yacc.c. */ + char *chars; + assoc assoc; + uniqstr uniqstr; +} YYSTYPE; +/* Line 1252 of yacc.c. */ #line 138 "y.tab.h" -# define YYSTYPE yystype +# 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