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