First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / config / parser.h
blob0e90f06ee49b5bd7a892b61c7cb33683a2e36588
1 /* A Bison parser, made from /home/anholt/xserver-stable/hw/dmx/config/parser.y, by GNU bison 1.75. */
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
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.
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.
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., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
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. */
26 #ifndef BISON_PARSER_H
27 # define BISON_PARSER_H
29 /* Tokens. */
30 #ifndef YYTOKENTYPE
31 # define YYTOKENTYPE
32 /* Put the tokens into the symbol table, so that GDB and other debuggers
33 know about them. */
34 enum yytokentype {
35 T_VIRTUAL = 258,
36 T_DISPLAY = 259,
37 T_WALL = 260,
38 T_OPTION = 261,
39 T_PARAM = 262,
40 T_STRING = 263,
41 T_DIMENSION = 264,
42 T_OFFSET = 265,
43 T_ORIGIN = 266,
44 T_COMMENT = 267,
45 T_LINE_COMMENT = 268
47 #endif
48 #define T_VIRTUAL 258
49 #define T_DISPLAY 259
50 #define T_WALL 260
51 #define T_OPTION 261
52 #define T_PARAM 262
53 #define T_STRING 263
54 #define T_DIMENSION 264
55 #define T_OFFSET 265
56 #define T_ORIGIN 266
57 #define T_COMMENT 267
58 #define T_LINE_COMMENT 268
63 #ifndef YYSTYPE
64 #line 56 "parser.y"
65 typedef union {
66 DMXConfigTokenPtr token;
67 DMXConfigStringPtr string;
68 DMXConfigNumberPtr number;
69 DMXConfigPairPtr pair;
70 DMXConfigFullDimPtr fdim;
71 DMXConfigPartDimPtr pdim;
72 DMXConfigDisplayPtr display;
73 DMXConfigWallPtr wall;
74 DMXConfigOptionPtr option;
75 DMXConfigParamPtr param;
76 DMXConfigCommentPtr comment;
77 DMXConfigSubPtr subentry;
78 DMXConfigVirtualPtr virtual;
79 DMXConfigEntryPtr entry;
80 } yystype;
81 /* Line 1237 of /usr/local/share/bison/yacc.c. */
82 #line 83 "parser.h"
83 # define YYSTYPE yystype
84 #endif
86 extern YYSTYPE yylval;
89 #endif /* not BISON_PARSER_H */