X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b4bbc4a03c6f4799a4442c912b71a28c3a986e54..3eb4f1a3e62807125a815dc572da9204b5b51865:/src/parse-gram.h diff --git a/src/parse-gram.h b/src/parse-gram.h index 01a3e296..53e552ae 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -1,9 +1,8 @@ -/* A Bison parser, made by GNU Bison 2.4.537-34db. */ +/* A Bison parser, made by GNU Bison 2.5.1.815-22b0. */ -/* Interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010 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,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 1663 of yacc.c */ -#line 202 "src/parse-gram.y" +/* Line 1996 of yacc.c */ +#line 221 "src/parse-gram.y" # ifndef PARAM_TYPE # define PARAM_TYPE @@ -46,8 +55,8 @@ # endif -/* Line 1663 of yacc.c */ -#line 51 "src/parse-gram.h" +/* Line 1996 of yacc.c */ +#line 60 "src/parse-gram.h" /* Tokens. */ #ifndef YYTOKENTYPE @@ -171,12 +180,11 @@ - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { -/* Line 1663 of yacc.c */ -#line 88 "src/parse-gram.y" +/* Line 1996 of yacc.c */ +#line 107 "src/parse-gram.y" assoc assoc; char *code; @@ -188,22 +196,20 @@ typedef union YYSTYPE uniqstr uniqstr; unsigned char character; -/* Line 1663 of yacc.c */ -#line 226 "src/parse-gram.y" +/* Line 1996 of yacc.c */ +#line 245 "src/parse-gram.y" param_type param; -/* Line 1663 of yacc.c */ -#line 199 "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 { @@ -218,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 */