X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6c6f6f4b23940161c0595dc7c6bb2757fac2aaa1..40a1cd37f31500bec5ddd05692141afca31b176a:/src/parse-gram.h diff --git a/src/parse-gram.h b/src/parse-gram.h index bad02455..455a7683 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 2.5.66-427a. */ +/* A Bison parser, made by GNU Bison 2.6.3.3-b10d3. */ /* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2012 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 @@ -30,6 +30,15 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ +#ifndef YY_GRAM__________SRC_PARSE_GRAM_H_INCLUDED +# define YY_GRAM__________SRC_PARSE_GRAM_H_INCLUDED +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 1 +#endif +#if YYDEBUG +extern int gram_debug; +#endif /* Tokens. */ #ifndef YYTOKENTYPE @@ -155,13 +164,11 @@ - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { - -/* Line 2070 of yacc.c */ -#line 113 "parse-gram.y" +/* Line 2077 of yacc.c */ +#line 115 "parse-gram.y" symbol *symbol; symbol_list *list; @@ -174,17 +181,14 @@ typedef union YYSTYPE named_ref *named_ref; - -/* Line 2070 of yacc.c */ -#line 180 "../../../src/parse-gram.h" +/* Line 2077 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 /* !YY_GRAM__________SRC_PARSE_GRAM_H_INCLUDED */