-/* A Bison parser, made by GNU Bison 2.6.1.835-7c52-dirty. */
+/* A Bison parser, made by GNU Bison 2.7.1081-93af. */
/* Bison interface for Yacc-like parsers in C
- Copyright (C) 1984, 1989-1990, 2000-2012 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
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
+#ifndef YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
+# define YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
+/* Debug traces. */
+#ifndef GRAM_DEBUG
+# if defined YYDEBUG
#if YYDEBUG
+# define GRAM_DEBUG 1
+# else
+# define GRAM_DEBUG 0
+# endif
+# else /* ! defined YYDEBUG */
+# define GRAM_DEBUG 1
+# endif /* ! defined YYDEBUG */
+#endif /* ! defined GRAM_DEBUG */
+#if GRAM_DEBUG
extern int gram_debug;
#endif
/* "%code requires" blocks. */
-/* Line 1938 of yacc.c */
-#line 222 "src/parse-gram.y"
+#line 219 "src/parse-gram.y" /* yacc.c:1932 */
# ifndef PARAM_TYPE
# define PARAM_TYPE
# endif
-/* Line 1938 of yacc.c */
-#line 60 "src/parse-gram.h"
+#line 66 "src/parse-gram.h" /* yacc.c:1932 */
-/* Tokens. */
-#ifndef YYTOKENTYPE
-# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype
+/* Token type. */
+#ifndef GRAM_TOKENTYPE
+# define GRAM_TOKENTYPE
+ enum gram_tokentype
{
GRAM_EOF = 0,
STRING = 258,
#define PERCENT_PARAM 310
#define PERCENT_UNION 311
-#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE
+/* Value type. */
+#if ! defined GRAM_STYPE && ! defined GRAM_STYPE_IS_DECLARED
+typedef union GRAM_STYPE GRAM_STYPE;
+union GRAM_STYPE
{
-/* Line 1938 of yacc.c */
-#line 108 "src/parse-gram.y"
+#line 105 "src/parse-gram.y" /* yacc.c:1932 */
assoc assoc;
char *code;
uniqstr uniqstr;
unsigned char character;
-/* Line 1938 of yacc.c */
-#line 246 "src/parse-gram.y"
+#line 243 "src/parse-gram.y" /* yacc.c:1932 */
param_type param;
-/* Line 1938 of yacc.c */
-#line 425 "src/parse-gram.y"
+#line 419 "src/parse-gram.y" /* yacc.c:1932 */
code_props_type code_type;
-/* Line 1938 of yacc.c */
-#line 209 "src/parse-gram.h"
-} YYSTYPE;
-# define YYSTYPE_IS_TRIVIAL 1
-# define YYSTYPE_IS_DECLARED 1
+#line 211 "src/parse-gram.h" /* yacc.c:1932 */
+};
+# define GRAM_STYPE_IS_TRIVIAL 1
+# define GRAM_STYPE_IS_DECLARED 1
#endif
-#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
-typedef struct YYLTYPE
+/* Location type. */
+#if ! defined GRAM_LTYPE && ! defined GRAM_LTYPE_IS_DECLARED
+typedef struct GRAM_LTYPE GRAM_LTYPE;
+struct GRAM_LTYPE
{
int first_line;
int first_column;
int last_line;
int last_column;
-} YYLTYPE;
-# define YYLTYPE_IS_DECLARED 1
-# define YYLTYPE_IS_TRIVIAL 1
+};
+# define GRAM_LTYPE_IS_DECLARED 1
+# define GRAM_LTYPE_IS_TRIVIAL 1
#endif
+
int gram_parse (void);
-#endif /* !GRAM_SRC_PARSE_GRAM_H */
+#endif /* !YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED */