X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/72cd9a913f6d282c5e24990505c2c820bda2bf1b..3eb4f1a3e62807125a815dc572da9204b5b51865:/src/parse-gram.h diff --git a/src/parse-gram.h b/src/parse-gram.h index 95dca48c..53e552ae 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,4 +1,4 @@ -/* A Bison parser, made by GNU Bison 2.4.687-d4fc-dirty. */ +/* A Bison parser, made by GNU Bison 2.5.1.815-22b0. */ /* Bison interface for Yacc-like parsers in C @@ -29,9 +29,19 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ + +#ifndef GRAM_______SRC_PARSE_GRAM_H +# define GRAM_______SRC_PARSE_GRAM_H +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 1 +#endif +#if YYDEBUG +extern int gram_debug; +#endif /* "%code requires" blocks. */ -/* Line 2003 of yacc.c */ -#line 220 "src/parse-gram.y" +/* Line 1996 of yacc.c */ +#line 221 "src/parse-gram.y" # ifndef PARAM_TYPE # define PARAM_TYPE @@ -45,8 +55,8 @@ # endif -/* Line 2003 of yacc.c */ -#line 50 "src/parse-gram.h" +/* Line 1996 of yacc.c */ +#line 60 "src/parse-gram.h" /* Tokens. */ #ifndef YYTOKENTYPE @@ -170,12 +180,11 @@ - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { -/* Line 2003 of yacc.c */ -#line 106 "src/parse-gram.y" +/* Line 1996 of yacc.c */ +#line 107 "src/parse-gram.y" assoc assoc; char *code; @@ -187,22 +196,20 @@ typedef union YYSTYPE uniqstr uniqstr; unsigned char character; -/* Line 2003 of yacc.c */ -#line 244 "src/parse-gram.y" +/* Line 1996 of yacc.c */ +#line 245 "src/parse-gram.y" param_type param; -/* Line 2003 of yacc.c */ -#line 198 "src/parse-gram.h" +/* Line 1996 of yacc.c */ +#line 207 "src/parse-gram.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif - - #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED typedef struct YYLTYPE { @@ -217,4 +224,20 @@ typedef struct YYLTYPE #endif +#ifdef YYPARSE_PARAM +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int gram_parse (void *YYPARSE_PARAM); +#else +int gram_parse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int gram_parse (void); +#else +int gram_parse (); +#endif +#endif /* ! YYPARSE_PARAM */ +#endif /* !GRAM_______SRC_PARSE_GRAM_H */