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_Y_TAB_H_INCLUDED 34 | # define YY_YY_Y_TAB_H_INCLUDED 35 | /* Debug traces. */ 36 | #ifndef YYDEBUG 37 | # define YYDEBUG 0 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 | IDENTIFIER = 258, 49 | TYPE_NAME = 259, 50 | LITERAL = 260, 51 | STRING_LITERAL = 261, 52 | ELLIPSES = 262, 53 | MUL_ASSIGN = 263, 54 | DIV_ASSIGN = 264, 55 | MOD_ASSIGN = 265, 56 | ADD_ASSIGN = 266, 57 | SUB_ASSIGN = 267, 58 | LEFT_ASSIGN = 268, 59 | RIGHT_ASSIGN = 269, 60 | AND_ASSIGN = 270, 61 | XOR_ASSIGN = 271, 62 | OR_ASSIGN = 272, 63 | EQ_OP = 273, 64 | NE_OP = 274, 65 | PTR_OP = 275, 66 | AND_OP = 276, 67 | OR_OP = 277, 68 | DEC_OP = 278, 69 | INC_OP = 279, 70 | LE_OP = 280, 71 | GE_OP = 281, 72 | LEFT_SHIFT = 282, 73 | RIGHT_SHIFT = 283, 74 | SIZEOF = 284, 75 | TYPEDEF = 285, 76 | EXTERN = 286, 77 | STATIC = 287, 78 | AUTO = 288, 79 | REGISTER = 289, 80 | CONST = 290, 81 | VOLATILE = 291, 82 | VOID = 292, 83 | INLINE = 293, 84 | CHAR = 294, 85 | SHORT = 295, 86 | INT = 296, 87 | LONG = 297, 88 | SIGNED = 298, 89 | UNSIGNED = 299, 90 | FLOAT = 300, 91 | DOUBLE = 301, 92 | BOOL = 302, 93 | STRUCT = 303, 94 | UNION = 304, 95 | ENUM = 305, 96 | CASE = 306, 97 | DEFAULT = 307, 98 | IF = 308, 99 | ELSE = 309, 100 | SWITCH = 310, 101 | WHILE = 311, 102 | DO = 312, 103 | FOR = 313, 104 | GOTO = 314, 105 | CONTINUE = 315, 106 | BREAK = 316, 107 | RETURN = 317, 108 | ASM = 318 109 | }; 110 | #endif 111 | /* Tokens. */ 112 | #define IDENTIFIER 258 113 | #define TYPE_NAME 259 114 | #define LITERAL 260 115 | #define STRING_LITERAL 261 116 | #define ELLIPSES 262 117 | #define MUL_ASSIGN 263 118 | #define DIV_ASSIGN 264 119 | #define MOD_ASSIGN 265 120 | #define ADD_ASSIGN 266 121 | #define SUB_ASSIGN 267 122 | #define LEFT_ASSIGN 268 123 | #define RIGHT_ASSIGN 269 124 | #define AND_ASSIGN 270 125 | #define XOR_ASSIGN 271 126 | #define OR_ASSIGN 272 127 | #define EQ_OP 273 128 | #define NE_OP 274 129 | #define PTR_OP 275 130 | #define AND_OP 276 131 | #define OR_OP 277 132 | #define DEC_OP 278 133 | #define INC_OP 279 134 | #define LE_OP 280 135 | #define GE_OP 281 136 | #define LEFT_SHIFT 282 137 | #define RIGHT_SHIFT 283 138 | #define SIZEOF 284 139 | #define TYPEDEF 285 140 | #define EXTERN 286 141 | #define STATIC 287 142 | #define AUTO 288 143 | #define REGISTER 289 144 | #define CONST 290 145 | #define VOLATILE 291 146 | #define VOID 292 147 | #define INLINE 293 148 | #define CHAR 294 149 | #define SHORT 295 150 | #define INT 296 151 | #define LONG 297 152 | #define SIGNED 298 153 | #define UNSIGNED 299 154 | #define FLOAT 300 155 | #define DOUBLE 301 156 | #define BOOL 302 157 | #define STRUCT 303 158 | #define UNION 304 159 | #define ENUM 305 160 | #define CASE 306 161 | #define DEFAULT 307 162 | #define IF 308 163 | #define ELSE 309 164 | #define SWITCH 310 165 | #define WHILE 311 166 | #define DO 312 167 | #define FOR 313 168 | #define GOTO 314 169 | #define CONTINUE 315 170 | #define BREAK 316 171 | #define RETURN 317 172 | #define ASM 318 173 | 174 | /* Value type. */ 175 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 176 | typedef int YYSTYPE; 177 | # define YYSTYPE_IS_TRIVIAL 1 178 | # define YYSTYPE_IS_DECLARED 1 179 | #endif 180 | 181 | 182 | extern YYSTYPE yylval; 183 | 184 | int yyparse (void); 185 | 186 | #endif /* !YY_YY_Y_TAB_H_INCLUDED */