aboutsummaryrefslogtreecommitdiff
path: root/etpo/grammar.h
diff options
context:
space:
mode:
Diffstat (limited to 'etpo/grammar.h')
-rw-r--r--etpo/grammar.h70
1 files changed, 37 insertions, 33 deletions
diff --git a/etpo/grammar.h b/etpo/grammar.h
index ec5624f..8e32d4f 100644
--- a/etpo/grammar.h
+++ b/etpo/grammar.h
@@ -1,19 +1,19 @@
-/* A Bison parser, made by GNU Bison 2.5. */
+/* A Bison parser, made by GNU Bison 3.0.2. */
/* 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
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
@@ -26,26 +26,34 @@
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
-
+
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
+#ifndef YY_YY_GRAMMAR_H_INCLUDED
+# define YY_YY_GRAMMAR_H_INCLUDED
+/* Debug traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
+#if YYDEBUG
+extern int yydebug;
+#endif
-/* Tokens. */
+/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- ERROR_TABLE_START = 258,
- ERROR_TABLE_END = 259,
- ERROR_CODE_START = 260,
- COMMA = 261,
- QUOTE = 262,
- EMPTY = 263,
- TOKEN = 264,
- LITERAL = 265
- };
+ enum yytokentype
+ {
+ ERROR_TABLE_START = 258,
+ ERROR_TABLE_END = 259,
+ ERROR_CODE_START = 260,
+ COMMA = 261,
+ QUOTE = 262,
+ EMPTY = 263,
+ TOKEN = 264,
+ LITERAL = 265
+ };
#endif
/* Tokens. */
#define ERROR_TABLE_START 258
@@ -57,29 +65,25 @@
#define TOKEN 264
#define LITERAL 265
-
-
-
+/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE
+typedef union YYSTYPE YYSTYPE;
+union YYSTYPE
{
-
-/* Line 2068 of yacc.c */
-#line 26 "grammar.y"
+#line 26 "grammar.y" /* yacc.c:1909 */
char *sval;
int ival;
-
-
-/* Line 2068 of yacc.c */
-#line 77 "grammar.h"
-} YYSTYPE;
+#line 79 "grammar.h" /* yacc.c:1909 */
+};
# define YYSTYPE_IS_TRIVIAL 1
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
+
extern YYSTYPE yylval;
+int yyparse (void);
+#endif /* !YY_YY_GRAMMAR_H_INCLUDED */
bgstack15