/* 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, TYPE = 271, PURE_PARSER = 272, SEMANTIC_PARSER = 273, EXPECT = 274, THONG = 275, PREC = 276, END_TERMINALS = 277, _SECTIONS = 278, _DEFSECTION_OPT = 279, _LITERALBLOCK = 280, _DECLARATION = 281, _TAG_OPT = 282, _NAMENOLIST = 283, _NAMENO = 284, _NAMELIST = 285, _RULESECTION = 286, _RULE = 287, _LHS = 288, _RHS = 289, _PREC = 290, _ACTION = 291, _USERSECTION_OPT = 292 }; #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 TYPE 271 #define PURE_PARSER 272 #define SEMANTIC_PARSER 273 #define EXPECT 274 #define THONG 275 #define PREC 276 #define END_TERMINALS 277 #define _SECTIONS 278 #define _DEFSECTION_OPT 279 #define _LITERALBLOCK 280 #define _DECLARATION 281 #define _TAG_OPT 282 #define _NAMENOLIST 283 #define _NAMENO 284 #define _NAMELIST 285 #define _RULESECTION 286 #define _RULE 287 #define _LHS 288 #define _RHS 289 #define _PREC 290 #define _ACTION 291 #define _USERSECTION_OPT 292 /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED union YYSTYPE { #line 41 "parser.yy" /* yacc.c:1909 */ Token *tokenp; #line 132 "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 */