/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 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 . */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this 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_PARSER_HH_INCLUDED # define YY_YY_PARSER_HH_INCLUDED /* Debug traces. */ #ifndef YYDEBUG # define YYDEBUG 1 #endif #if YYDEBUG extern int yydebug; #endif /* Token type. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE enum yytokentype { MARK = 258, LCURL = 259, RCURL = 260, INTEGER = 261, CHARACTER = 262, IDENTIFIER = 263, CODE = 264, START = 265, UNION = 266, TOKEN = 267, LEFT = 268, RIGHT = 269, NONASSOC = 270, PRECEDENCE = 271, TYPE = 272, PURE_PARSER = 273, SEMANTIC_PARSER = 274, EXPECT = 275, THONG = 276, PREC = 277, END_TERMINALS = 278, _SECTIONS = 279, _DEFSECTION_OPT = 280, _LITERALBLOCK = 281, _DECLARATION = 282, _TAG_OPT = 283, _NAMENOLIST = 284, _NAMENO = 285, _NAMELIST = 286, _RULESECTION = 287, _RULE = 288, _LHS = 289, _RHS = 290, _PREC = 291, _ACTION = 292, _USERSECTION_OPT = 293 }; #endif /* Tokens. */ #define MARK 258 #define LCURL 259 #define RCURL 260 #define INTEGER 261 #define CHARACTER 262 #define IDENTIFIER 263 #define CODE 264 #define START 265 #define UNION 266 #define TOKEN 267 #define LEFT 268 #define RIGHT 269 #define NONASSOC 270 #define PRECEDENCE 271 #define TYPE 272 #define PURE_PARSER 273 #define SEMANTIC_PARSER 274 #define EXPECT 275 #define THONG 276 #define PREC 277 #define END_TERMINALS 278 #define _SECTIONS 279 #define _DEFSECTION_OPT 280 #define _LITERALBLOCK 281 #define _DECLARATION 282 #define _TAG_OPT 283 #define _NAMENOLIST 284 #define _NAMENO 285 #define _NAMELIST 286 #define _RULESECTION 287 #define _RULE 288 #define _LHS 289 #define _RHS 290 #define _PREC 291 #define _ACTION 292 #define _USERSECTION_OPT 293 /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED union YYSTYPE { #line 41 "parser.yy" /* yacc.c:1909 */ Token *tokenp; #line 134 "parser.hh" /* yacc.c:1909 */ }; typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif extern YYSTYPE yylval; int yyparse (void); #endif /* !YY_YY_PARSER_HH_INCLUDED */