X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1ef57c947d095b3874748fffc2b0dcb1a41ad567..43ca804096bad13b12d0933d14499c142f451af9:/src/parse-gram.h?ds=sidebyside diff --git a/src/parse-gram.h b/src/parse-gram.h index ab45cad4..0cc4d547 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,4 +1,4 @@ -/* A Bison parser, made by GNU Bison 2.5.1_rc1-dirty. */ +/* A Bison parser, made by GNU Bison 2.6.1.12-3153-dirty. */ /* Bison interface for Yacc-like parsers in C @@ -30,6 +30,15 @@ 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 /* Tokens. */ #ifndef YYTOKENTYPE @@ -155,12 +164,10 @@ - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { - -/* Line 2072 of yacc.c */ +/* Line 2049 of yacc.c */ #line 114 "parse-gram.y" symbol *symbol; @@ -174,17 +181,14 @@ typedef union YYSTYPE named_ref *named_ref; - -/* Line 2072 of yacc.c */ -#line 180 "parse-gram.h" +/* Line 2049 of yacc.c */ +#line 186 "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 { @@ -199,4 +203,18 @@ typedef struct YYLTYPE #endif +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int gram_parse (void *YYPARSE_PARAM); +#else +int gram_parse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int gram_parse (void); +#else +int gram_parse (); +#endif +#endif /* ! YYPARSE_PARAM */ +#endif /* !GRAM__________SRC_PARSE_GRAM_H */