1*4882a593Smuzhiyun /* A Bison parser, made by GNU Bison 3.7.3. */ 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun /* Bison interface for Yacc-like parsers in C 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, 6*4882a593Smuzhiyun Inc. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun This program is free software: you can redistribute it and/or modify 9*4882a593Smuzhiyun it under the terms of the GNU General Public License as published by 10*4882a593Smuzhiyun the Free Software Foundation, either version 3 of the License, or 11*4882a593Smuzhiyun (at your option) any later version. 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun This program is distributed in the hope that it will be useful, 14*4882a593Smuzhiyun but WITHOUT ANY WARRANTY; without even the implied warranty of 15*4882a593Smuzhiyun MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*4882a593Smuzhiyun GNU General Public License for more details. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun You should have received a copy of the GNU General Public License 19*4882a593Smuzhiyun along with this program. If not, see <http://www.gnu.org/licenses/>. */ 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun /* As a special exception, you may create a larger work that contains 22*4882a593Smuzhiyun part or all of the Bison parser skeleton and distribute that work 23*4882a593Smuzhiyun under terms of your choice, so long as that work isn't itself a 24*4882a593Smuzhiyun parser generator using the skeleton or a modified version thereof 25*4882a593Smuzhiyun as a parser skeleton. Alternatively, if you modify or redistribute 26*4882a593Smuzhiyun the parser skeleton itself, you may (at your option) remove this 27*4882a593Smuzhiyun special exception, which will cause the skeleton and the resulting 28*4882a593Smuzhiyun Bison output files to be licensed under the GNU General Public 29*4882a593Smuzhiyun License without this special exception. 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun This special exception was added by the Free Software Foundation in 32*4882a593Smuzhiyun version 2.2 of Bison. */ 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, 35*4882a593Smuzhiyun especially those whose name start with YY_ or yy_. They are 36*4882a593Smuzhiyun private implementation details that can be changed or removed. */ 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun #ifndef YY_YY_PARSER_H_INCLUDED 39*4882a593Smuzhiyun # define YY_YY_PARSER_H_INCLUDED 40*4882a593Smuzhiyun /* Debug traces. */ 41*4882a593Smuzhiyun #ifndef YYDEBUG 42*4882a593Smuzhiyun # define YYDEBUG 0 43*4882a593Smuzhiyun #endif 44*4882a593Smuzhiyun #if YYDEBUG 45*4882a593Smuzhiyun extern int yydebug; 46*4882a593Smuzhiyun #endif 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun /* Token kinds. */ 49*4882a593Smuzhiyun #ifndef YYTOKENTYPE 50*4882a593Smuzhiyun # define YYTOKENTYPE 51*4882a593Smuzhiyun enum yytokentype 52*4882a593Smuzhiyun { 53*4882a593Smuzhiyun YYEMPTY = -2, 54*4882a593Smuzhiyun YYEOF = 0, /* "end of file" */ 55*4882a593Smuzhiyun YYerror = 256, /* error */ 56*4882a593Smuzhiyun YYUNDEF = 257, /* "invalid token" */ 57*4882a593Smuzhiyun T_VIRTUAL = 258, /* T_VIRTUAL */ 58*4882a593Smuzhiyun T_DISPLAY = 259, /* T_DISPLAY */ 59*4882a593Smuzhiyun T_WALL = 260, /* T_WALL */ 60*4882a593Smuzhiyun T_OPTION = 261, /* T_OPTION */ 61*4882a593Smuzhiyun T_PARAM = 262, /* T_PARAM */ 62*4882a593Smuzhiyun T_STRING = 263, /* T_STRING */ 63*4882a593Smuzhiyun T_DIMENSION = 264, /* T_DIMENSION */ 64*4882a593Smuzhiyun T_OFFSET = 265, /* T_OFFSET */ 65*4882a593Smuzhiyun T_ORIGIN = 266, /* T_ORIGIN */ 66*4882a593Smuzhiyun T_COMMENT = 267, /* T_COMMENT */ 67*4882a593Smuzhiyun T_LINE_COMMENT = 268 /* T_LINE_COMMENT */ 68*4882a593Smuzhiyun }; 69*4882a593Smuzhiyun typedef enum yytokentype yytoken_kind_t; 70*4882a593Smuzhiyun #endif 71*4882a593Smuzhiyun /* Token kinds. */ 72*4882a593Smuzhiyun #define YYEOF 0 73*4882a593Smuzhiyun #define YYerror 256 74*4882a593Smuzhiyun #define YYUNDEF 257 75*4882a593Smuzhiyun #define T_VIRTUAL 258 76*4882a593Smuzhiyun #define T_DISPLAY 259 77*4882a593Smuzhiyun #define T_WALL 260 78*4882a593Smuzhiyun #define T_OPTION 261 79*4882a593Smuzhiyun #define T_PARAM 262 80*4882a593Smuzhiyun #define T_STRING 263 81*4882a593Smuzhiyun #define T_DIMENSION 264 82*4882a593Smuzhiyun #define T_OFFSET 265 83*4882a593Smuzhiyun #define T_ORIGIN 266 84*4882a593Smuzhiyun #define T_COMMENT 267 85*4882a593Smuzhiyun #define T_LINE_COMMENT 268 86*4882a593Smuzhiyun 87*4882a593Smuzhiyun /* Value type. */ 88*4882a593Smuzhiyun #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 89*4882a593Smuzhiyun union YYSTYPE 90*4882a593Smuzhiyun { 91*4882a593Smuzhiyun #line 57 "parser.y" 92*4882a593Smuzhiyun 93*4882a593Smuzhiyun DMXConfigTokenPtr token; 94*4882a593Smuzhiyun DMXConfigStringPtr string; 95*4882a593Smuzhiyun DMXConfigNumberPtr number; 96*4882a593Smuzhiyun DMXConfigPairPtr pair; 97*4882a593Smuzhiyun DMXConfigFullDimPtr fdim; 98*4882a593Smuzhiyun DMXConfigPartDimPtr pdim; 99*4882a593Smuzhiyun DMXConfigDisplayPtr display; 100*4882a593Smuzhiyun DMXConfigWallPtr wall; 101*4882a593Smuzhiyun DMXConfigOptionPtr option; 102*4882a593Smuzhiyun DMXConfigParamPtr param; 103*4882a593Smuzhiyun DMXConfigCommentPtr comment; 104*4882a593Smuzhiyun DMXConfigSubPtr subentry; 105*4882a593Smuzhiyun DMXConfigVirtualPtr virtual; 106*4882a593Smuzhiyun DMXConfigEntryPtr entry; 107*4882a593Smuzhiyun 108*4882a593Smuzhiyun #line 109 "parser.h" 109*4882a593Smuzhiyun 110*4882a593Smuzhiyun }; 111*4882a593Smuzhiyun typedef union YYSTYPE YYSTYPE; 112*4882a593Smuzhiyun # define YYSTYPE_IS_TRIVIAL 1 113*4882a593Smuzhiyun # define YYSTYPE_IS_DECLARED 1 114*4882a593Smuzhiyun #endif 115*4882a593Smuzhiyun 116*4882a593Smuzhiyun 117*4882a593Smuzhiyun extern YYSTYPE yylval; 118*4882a593Smuzhiyun 119*4882a593Smuzhiyun int yyparse (void); 120*4882a593Smuzhiyun 121*4882a593Smuzhiyun #endif /* !YY_YY_PARSER_H_INCLUDED */ 122