[8c97ee7] | 1 | /* A Bison parser, made by GNU Bison 3.0.4. */
|
---|
| 2 |
|
---|
| 3 | /* Bison interface for Yacc-like parsers in C
|
---|
| 4 |
|
---|
| 5 | Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
|
---|
| 6 |
|
---|
| 7 | This program is free software: you can redistribute it and/or modify
|
---|
| 8 | it under the terms of the GNU General Public License as published by
|
---|
| 9 | the Free Software Foundation, either version 3 of the License, or
|
---|
| 10 | (at your option) any later version.
|
---|
| 11 |
|
---|
| 12 | This program is distributed in the hope that it will be useful,
|
---|
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 15 | GNU General Public License for more details.
|
---|
| 16 |
|
---|
| 17 | You should have received a copy of the GNU General Public License
|
---|
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
---|
| 19 |
|
---|
| 20 | /* As a special exception, you may create a larger work that contains
|
---|
| 21 | part or all of the Bison parser skeleton and distribute that work
|
---|
| 22 | under terms of your choice, so long as that work isn't itself a
|
---|
| 23 | parser generator using the skeleton or a modified version thereof
|
---|
| 24 | as a parser skeleton. Alternatively, if you modify or redistribute
|
---|
| 25 | the parser skeleton itself, you may (at your option) remove this
|
---|
| 26 | special exception, which will cause the skeleton and the resulting
|
---|
| 27 | Bison output files to be licensed under the GNU General Public
|
---|
| 28 | License without this special exception.
|
---|
| 29 |
|
---|
| 30 | This special exception was added by the Free Software Foundation in
|
---|
| 31 | version 2.2 of Bison. */
|
---|
| 32 |
|
---|
| 33 | #ifndef YY_YY_PARSER_HH_INCLUDED
|
---|
| 34 | # define YY_YY_PARSER_HH_INCLUDED
|
---|
| 35 | /* Debug traces. */
|
---|
| 36 | #ifndef YYDEBUG
|
---|
| 37 | # define YYDEBUG 1
|
---|
| 38 | #endif
|
---|
| 39 | #if YYDEBUG
|
---|
| 40 | extern int yydebug;
|
---|
| 41 | #endif
|
---|
| 42 |
|
---|
| 43 | /* Token type. */
|
---|
| 44 | #ifndef YYTOKENTYPE
|
---|
| 45 | # define YYTOKENTYPE
|
---|
| 46 | enum yytokentype
|
---|
| 47 | {
|
---|
| 48 | MARK = 258,
|
---|
| 49 | LCURL = 259,
|
---|
| 50 | RCURL = 260,
|
---|
| 51 | INTEGER = 261,
|
---|
| 52 | CHARACTER = 262,
|
---|
| 53 | IDENTIFIER = 263,
|
---|
| 54 | CODE = 264,
|
---|
| 55 | START = 265,
|
---|
| 56 | UNION = 266,
|
---|
| 57 | TOKEN = 267,
|
---|
| 58 | LEFT = 268,
|
---|
| 59 | RIGHT = 269,
|
---|
| 60 | NONASSOC = 270,
|
---|
| 61 | TYPE = 271,
|
---|
| 62 | PURE_PARSER = 272,
|
---|
| 63 | SEMANTIC_PARSER = 273,
|
---|
| 64 | EXPECT = 274,
|
---|
| 65 | THONG = 275,
|
---|
| 66 | PREC = 276,
|
---|
| 67 | END_TERMINALS = 277,
|
---|
| 68 | _SECTIONS = 278,
|
---|
| 69 | _DEFSECTION_OPT = 279,
|
---|
| 70 | _LITERALBLOCK = 280,
|
---|
| 71 | _DECLARATION = 281,
|
---|
| 72 | _TAG_OPT = 282,
|
---|
| 73 | _NAMENOLIST = 283,
|
---|
| 74 | _NAMENO = 284,
|
---|
| 75 | _NAMELIST = 285,
|
---|
| 76 | _RULESECTION = 286,
|
---|
| 77 | _RULE = 287,
|
---|
| 78 | _LHS = 288,
|
---|
| 79 | _RHS = 289,
|
---|
| 80 | _PREC = 290,
|
---|
| 81 | _ACTION = 291,
|
---|
| 82 | _USERSECTION_OPT = 292
|
---|
| 83 | };
|
---|
| 84 | #endif
|
---|
| 85 | /* Tokens. */
|
---|
| 86 | #define MARK 258
|
---|
| 87 | #define LCURL 259
|
---|
| 88 | #define RCURL 260
|
---|
| 89 | #define INTEGER 261
|
---|
| 90 | #define CHARACTER 262
|
---|
| 91 | #define IDENTIFIER 263
|
---|
| 92 | #define CODE 264
|
---|
| 93 | #define START 265
|
---|
| 94 | #define UNION 266
|
---|
| 95 | #define TOKEN 267
|
---|
| 96 | #define LEFT 268
|
---|
| 97 | #define RIGHT 269
|
---|
| 98 | #define NONASSOC 270
|
---|
| 99 | #define TYPE 271
|
---|
| 100 | #define PURE_PARSER 272
|
---|
| 101 | #define SEMANTIC_PARSER 273
|
---|
| 102 | #define EXPECT 274
|
---|
| 103 | #define THONG 275
|
---|
| 104 | #define PREC 276
|
---|
| 105 | #define END_TERMINALS 277
|
---|
| 106 | #define _SECTIONS 278
|
---|
| 107 | #define _DEFSECTION_OPT 279
|
---|
| 108 | #define _LITERALBLOCK 280
|
---|
| 109 | #define _DECLARATION 281
|
---|
| 110 | #define _TAG_OPT 282
|
---|
| 111 | #define _NAMENOLIST 283
|
---|
| 112 | #define _NAMENO 284
|
---|
| 113 | #define _NAMELIST 285
|
---|
| 114 | #define _RULESECTION 286
|
---|
| 115 | #define _RULE 287
|
---|
| 116 | #define _LHS 288
|
---|
| 117 | #define _RHS 289
|
---|
| 118 | #define _PREC 290
|
---|
| 119 | #define _ACTION 291
|
---|
| 120 | #define _USERSECTION_OPT 292
|
---|
| 121 |
|
---|
| 122 | /* Value type. */
|
---|
| 123 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
---|
| 124 |
|
---|
| 125 | union YYSTYPE
|
---|
| 126 | {
|
---|
| 127 | #line 41 "parser.yy" /* yacc.c:1909 */
|
---|
| 128 |
|
---|
| 129 | Token *tokenp;
|
---|
| 130 |
|
---|
| 131 | #line 132 "parser.hh" /* yacc.c:1909 */
|
---|
| 132 | };
|
---|
| 133 |
|
---|
| 134 | typedef union YYSTYPE YYSTYPE;
|
---|
| 135 | # define YYSTYPE_IS_TRIVIAL 1
|
---|
| 136 | # define YYSTYPE_IS_DECLARED 1
|
---|
| 137 | #endif
|
---|
| 138 |
|
---|
| 139 |
|
---|
| 140 | extern YYSTYPE yylval;
|
---|
| 141 |
|
---|
| 142 | int yyparse (void);
|
---|
| 143 |
|
---|
| 144 | #endif /* !YY_YY_PARSER_HH_INCLUDED */
|
---|