1 |
|
---|
2 | /* A Bison parser, made by GNU Bison 2.4.1. */
|
---|
3 |
|
---|
4 | /* Skeleton interface for Bison's Yacc-like parsers in C
|
---|
5 |
|
---|
6 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
---|
7 | Free Software Foundation, Inc.
|
---|
8 |
|
---|
9 | This program is free software: you can redistribute it and/or modify
|
---|
10 | it under the terms of the GNU General Public License as published by
|
---|
11 | the Free Software Foundation, either version 3 of the License, or
|
---|
12 | (at your option) any later version.
|
---|
13 |
|
---|
14 | This program is distributed in the hope that it will be useful,
|
---|
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
17 | GNU General Public License for more details.
|
---|
18 |
|
---|
19 | You should have received a copy of the GNU General Public License
|
---|
20 | along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
---|
21 |
|
---|
22 | /*
|
---|
23 | * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
24 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
25 | * the General Public License version 2 (GPLv2) at this time for any software where
|
---|
26 | * a choice of GPL license versions is made available with the language indicating
|
---|
27 | * that GPLv2 or any later version may be used, or where a choice of which version
|
---|
28 | * of the GPL is applied is otherwise unspecified.
|
---|
29 | */
|
---|
30 |
|
---|
31 | /* As a special exception, you may create a larger work that contains
|
---|
32 | part or all of the Bison parser skeleton and distribute that work
|
---|
33 | under terms of your choice, so long as that work isn't itself a
|
---|
34 | parser generator using the skeleton or a modified version thereof
|
---|
35 | as a parser skeleton. Alternatively, if you modify or redistribute
|
---|
36 | the parser skeleton itself, you may (at your option) remove this
|
---|
37 | special exception, which will cause the skeleton and the resulting
|
---|
38 | Bison output files to be licensed under the GNU General Public
|
---|
39 | License without this special exception.
|
---|
40 |
|
---|
41 | This special exception was added by the Free Software Foundation in
|
---|
42 | version 2.2 of Bison. */
|
---|
43 |
|
---|
44 |
|
---|
45 | /* Tokens. */
|
---|
46 | #ifndef YYTOKENTYPE
|
---|
47 | # define YYTOKENTYPE
|
---|
48 | /* Put the tokens into the symbol table, so that GDB and other debuggers
|
---|
49 | know about them. */
|
---|
50 | enum yytokentype {
|
---|
51 | T_VIRTUAL = 258,
|
---|
52 | T_DISPLAY = 259,
|
---|
53 | T_WALL = 260,
|
---|
54 | T_OPTION = 261,
|
---|
55 | T_PARAM = 262,
|
---|
56 | T_STRING = 263,
|
---|
57 | T_DIMENSION = 264,
|
---|
58 | T_OFFSET = 265,
|
---|
59 | T_ORIGIN = 266,
|
---|
60 | T_COMMENT = 267,
|
---|
61 | T_LINE_COMMENT = 268
|
---|
62 | };
|
---|
63 | #endif
|
---|
64 | /* Tokens. */
|
---|
65 | #define T_VIRTUAL 258
|
---|
66 | #define T_DISPLAY 259
|
---|
67 | #define T_WALL 260
|
---|
68 | #define T_OPTION 261
|
---|
69 | #define T_PARAM 262
|
---|
70 | #define T_STRING 263
|
---|
71 | #define T_DIMENSION 264
|
---|
72 | #define T_OFFSET 265
|
---|
73 | #define T_ORIGIN 266
|
---|
74 | #define T_COMMENT 267
|
---|
75 | #define T_LINE_COMMENT 268
|
---|
76 |
|
---|
77 |
|
---|
78 |
|
---|
79 |
|
---|
80 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
---|
81 | typedef union YYSTYPE
|
---|
82 | {
|
---|
83 |
|
---|
84 | /* Line 1676 of yacc.c */
|
---|
85 | #line 56 "parser.y"
|
---|
86 |
|
---|
87 | DMXConfigTokenPtr token;
|
---|
88 | DMXConfigStringPtr string;
|
---|
89 | DMXConfigNumberPtr number;
|
---|
90 | DMXConfigPairPtr pair;
|
---|
91 | DMXConfigFullDimPtr fdim;
|
---|
92 | DMXConfigPartDimPtr pdim;
|
---|
93 | DMXConfigDisplayPtr display;
|
---|
94 | DMXConfigWallPtr wall;
|
---|
95 | DMXConfigOptionPtr option;
|
---|
96 | DMXConfigParamPtr param;
|
---|
97 | DMXConfigCommentPtr comment;
|
---|
98 | DMXConfigSubPtr subentry;
|
---|
99 | DMXConfigVirtualPtr virtual;
|
---|
100 | DMXConfigEntryPtr entry;
|
---|
101 |
|
---|
102 |
|
---|
103 |
|
---|
104 | /* Line 1676 of yacc.c */
|
---|
105 | #line 97 "parser.h"
|
---|
106 | } YYSTYPE;
|
---|
107 | # define YYSTYPE_IS_TRIVIAL 1
|
---|
108 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
---|
109 | # define YYSTYPE_IS_DECLARED 1
|
---|
110 | #endif
|
---|
111 |
|
---|
112 | extern YYSTYPE yylval;
|
---|
113 |
|
---|
114 |
|
---|