diff options
Diffstat (limited to '3rdparty/libconfig/grammar.h')
-rw-r--r-- | 3rdparty/libconfig/grammar.h | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/3rdparty/libconfig/grammar.h b/3rdparty/libconfig/grammar.h index d7fd02cc8..86b7b65cd 100644 --- a/3rdparty/libconfig/grammar.h +++ b/3rdparty/libconfig/grammar.h @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 2.5. */ +/* A Bison parser, made by GNU Bison 2.7.12-4996. */ /* 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-2013 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_LIBCONFIG_YY_GRAMMAR_H_INCLUDED +# define YY_LIBCONFIG_YY_GRAMMAR_H_INCLUDED +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int libconfig_yydebug; +#endif /* Tokens. */ #ifndef YYTOKENTYPE @@ -83,13 +92,11 @@ - #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { - -/* Line 2068 of yacc.c */ -#line 85 "grammar.y" +/* Line 2060 of yacc.c */ +#line 86 "grammar.y" int ival; long long llval; @@ -97,9 +104,8 @@ typedef union YYSTYPE char *sval; - -/* Line 2068 of yacc.c */ -#line 103 "grammar.h" +/* Line 2060 of yacc.c */ +#line 109 "grammar.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -107,5 +113,18 @@ typedef union YYSTYPE #endif +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int libconfig_yyparse (void *YYPARSE_PARAM); +#else +int libconfig_yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int libconfig_yyparse (void *scanner, struct parse_context *ctx, struct scan_context *scan_ctx); +#else +int libconfig_yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ - +#endif /* !YY_LIBCONFIG_YY_GRAMMAR_H_INCLUDED */ |