1 | /* A Bison parser, made by GNU Bison 2.1. */
|
---|
2 |
|
---|
3 | /* Skeleton parser for Yacc-like parsing with Bison,
|
---|
4 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
---|
5 |
|
---|
6 | This program is free software; you can redistribute it and/or modify
|
---|
7 | it under the terms of the GNU General Public License as published by
|
---|
8 | the Free Software Foundation; either version 2, or (at your option)
|
---|
9 | any later version.
|
---|
10 |
|
---|
11 | This program is distributed in the hope that it will be useful,
|
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | GNU General Public License for more details.
|
---|
15 |
|
---|
16 | You should have received a copy of the GNU General Public License
|
---|
17 | along with this program; if not, write to the Free Software
|
---|
18 | Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
---|
19 | Boston, MA 02110-1301, USA. */
|
---|
20 |
|
---|
21 | /* As a special exception, when this file is copied by Bison into a
|
---|
22 | Bison output file, you may use that output file without restriction.
|
---|
23 | This special exception was added by the Free Software Foundation
|
---|
24 | in version 1.24 of Bison. */
|
---|
25 |
|
---|
26 | /* Tokens. */
|
---|
27 | #ifndef YYTOKENTYPE
|
---|
28 | # define YYTOKENTYPE
|
---|
29 | /* Put the tokens into the symbol table, so that GDB and other debuggers
|
---|
30 | know about them. */
|
---|
31 | enum yytokentype {
|
---|
32 | T_VIRTUAL = 258,
|
---|
33 | T_DISPLAY = 259,
|
---|
34 | T_WALL = 260,
|
---|
35 | T_OPTION = 261,
|
---|
36 | T_PARAM = 262,
|
---|
37 | T_STRING = 263,
|
---|
38 | T_DIMENSION = 264,
|
---|
39 | T_OFFSET = 265,
|
---|
40 | T_ORIGIN = 266,
|
---|
41 | T_COMMENT = 267,
|
---|
42 | T_LINE_COMMENT = 268
|
---|
43 | };
|
---|
44 | #endif
|
---|
45 | /* Tokens. */
|
---|
46 | #define T_VIRTUAL 258
|
---|
47 | #define T_DISPLAY 259
|
---|
48 | #define T_WALL 260
|
---|
49 | #define T_OPTION 261
|
---|
50 | #define T_PARAM 262
|
---|
51 | #define T_STRING 263
|
---|
52 | #define T_DIMENSION 264
|
---|
53 | #define T_OFFSET 265
|
---|
54 | #define T_ORIGIN 266
|
---|
55 | #define T_COMMENT 267
|
---|
56 | #define T_LINE_COMMENT 268
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 |
|
---|
61 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
---|
62 | #line 56 "parser.y"
|
---|
63 | typedef union YYSTYPE {
|
---|
64 | DMXConfigTokenPtr token;
|
---|
65 | DMXConfigStringPtr string;
|
---|
66 | DMXConfigNumberPtr number;
|
---|
67 | DMXConfigPairPtr pair;
|
---|
68 | DMXConfigFullDimPtr fdim;
|
---|
69 | DMXConfigPartDimPtr pdim;
|
---|
70 | DMXConfigDisplayPtr display;
|
---|
71 | DMXConfigWallPtr wall;
|
---|
72 | DMXConfigOptionPtr option;
|
---|
73 | DMXConfigParamPtr param;
|
---|
74 | DMXConfigCommentPtr comment;
|
---|
75 | DMXConfigSubPtr subentry;
|
---|
76 | DMXConfigVirtualPtr virtual;
|
---|
77 | DMXConfigEntryPtr entry;
|
---|
78 | } YYSTYPE;
|
---|
79 | /* Line 1447 of yacc.c. */
|
---|
80 | #line 81 "parser.h"
|
---|
81 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
---|
82 | # define YYSTYPE_IS_DECLARED 1
|
---|
83 | # define YYSTYPE_IS_TRIVIAL 1
|
---|
84 | #endif
|
---|
85 |
|
---|
86 | extern YYSTYPE yylval;
|
---|
87 |
|
---|
88 |
|
---|
89 |
|
---|