Sync to Wine-0_9:
[reactos.git] / reactos / tools / wrc / parser.tab.h
1 /* A Bison parser, made by GNU Bison 1.875c. */
2
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 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., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, 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 tNL = 258,
33 tNUMBER = 259,
34 tLNUMBER = 260,
35 tSTRING = 261,
36 tIDENT = 262,
37 tFILENAME = 263,
38 tRAWDATA = 264,
39 tACCELERATORS = 265,
40 tBITMAP = 266,
41 tCURSOR = 267,
42 tDIALOG = 268,
43 tDIALOGEX = 269,
44 tMENU = 270,
45 tMENUEX = 271,
46 tMESSAGETABLE = 272,
47 tRCDATA = 273,
48 tVERSIONINFO = 274,
49 tSTRINGTABLE = 275,
50 tFONT = 276,
51 tFONTDIR = 277,
52 tICON = 278,
53 tHTML = 279,
54 tAUTO3STATE = 280,
55 tAUTOCHECKBOX = 281,
56 tAUTORADIOBUTTON = 282,
57 tCHECKBOX = 283,
58 tDEFPUSHBUTTON = 284,
59 tPUSHBUTTON = 285,
60 tRADIOBUTTON = 286,
61 tSTATE3 = 287,
62 tGROUPBOX = 288,
63 tCOMBOBOX = 289,
64 tLISTBOX = 290,
65 tSCROLLBAR = 291,
66 tCONTROL = 292,
67 tEDITTEXT = 293,
68 tRTEXT = 294,
69 tCTEXT = 295,
70 tLTEXT = 296,
71 tBLOCK = 297,
72 tVALUE = 298,
73 tSHIFT = 299,
74 tALT = 300,
75 tASCII = 301,
76 tVIRTKEY = 302,
77 tGRAYED = 303,
78 tCHECKED = 304,
79 tINACTIVE = 305,
80 tNOINVERT = 306,
81 tPURE = 307,
82 tIMPURE = 308,
83 tDISCARDABLE = 309,
84 tLOADONCALL = 310,
85 tPRELOAD = 311,
86 tFIXED = 312,
87 tMOVEABLE = 313,
88 tCLASS = 314,
89 tCAPTION = 315,
90 tCHARACTERISTICS = 316,
91 tEXSTYLE = 317,
92 tSTYLE = 318,
93 tVERSION = 319,
94 tLANGUAGE = 320,
95 tFILEVERSION = 321,
96 tPRODUCTVERSION = 322,
97 tFILEFLAGSMASK = 323,
98 tFILEOS = 324,
99 tFILETYPE = 325,
100 tFILEFLAGS = 326,
101 tFILESUBTYPE = 327,
102 tMENUBARBREAK = 328,
103 tMENUBREAK = 329,
104 tMENUITEM = 330,
105 tPOPUP = 331,
106 tSEPARATOR = 332,
107 tHELP = 333,
108 tTOOLBAR = 334,
109 tBUTTON = 335,
110 tBEGIN = 336,
111 tEND = 337,
112 tDLGINIT = 338,
113 tNOT = 339,
114 pUPM = 340
115 };
116 #endif
117 #define tNL 258
118 #define tNUMBER 259
119 #define tLNUMBER 260
120 #define tSTRING 261
121 #define tIDENT 262
122 #define tFILENAME 263
123 #define tRAWDATA 264
124 #define tACCELERATORS 265
125 #define tBITMAP 266
126 #define tCURSOR 267
127 #define tDIALOG 268
128 #define tDIALOGEX 269
129 #define tMENU 270
130 #define tMENUEX 271
131 #define tMESSAGETABLE 272
132 #define tRCDATA 273
133 #define tVERSIONINFO 274
134 #define tSTRINGTABLE 275
135 #define tFONT 276
136 #define tFONTDIR 277
137 #define tICON 278
138 #define tHTML 279
139 #define tAUTO3STATE 280
140 #define tAUTOCHECKBOX 281
141 #define tAUTORADIOBUTTON 282
142 #define tCHECKBOX 283
143 #define tDEFPUSHBUTTON 284
144 #define tPUSHBUTTON 285
145 #define tRADIOBUTTON 286
146 #define tSTATE3 287
147 #define tGROUPBOX 288
148 #define tCOMBOBOX 289
149 #define tLISTBOX 290
150 #define tSCROLLBAR 291
151 #define tCONTROL 292
152 #define tEDITTEXT 293
153 #define tRTEXT 294
154 #define tCTEXT 295
155 #define tLTEXT 296
156 #define tBLOCK 297
157 #define tVALUE 298
158 #define tSHIFT 299
159 #define tALT 300
160 #define tASCII 301
161 #define tVIRTKEY 302
162 #define tGRAYED 303
163 #define tCHECKED 304
164 #define tINACTIVE 305
165 #define tNOINVERT 306
166 #define tPURE 307
167 #define tIMPURE 308
168 #define tDISCARDABLE 309
169 #define tLOADONCALL 310
170 #define tPRELOAD 311
171 #define tFIXED 312
172 #define tMOVEABLE 313
173 #define tCLASS 314
174 #define tCAPTION 315
175 #define tCHARACTERISTICS 316
176 #define tEXSTYLE 317
177 #define tSTYLE 318
178 #define tVERSION 319
179 #define tLANGUAGE 320
180 #define tFILEVERSION 321
181 #define tPRODUCTVERSION 322
182 #define tFILEFLAGSMASK 323
183 #define tFILEOS 324
184 #define tFILETYPE 325
185 #define tFILEFLAGS 326
186 #define tFILESUBTYPE 327
187 #define tMENUBARBREAK 328
188 #define tMENUBREAK 329
189 #define tMENUITEM 330
190 #define tPOPUP 331
191 #define tSEPARATOR 332
192 #define tHELP 333
193 #define tTOOLBAR 334
194 #define tBUTTON 335
195 #define tBEGIN 336
196 #define tEND 337
197 #define tDLGINIT 338
198 #define tNOT 339
199 #define pUPM 340
200
201
202
203
204 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
205 #line 241 "./parser.y"
206 typedef union YYSTYPE {
207 string_t *str;
208 int num;
209 int *iptr;
210 char *cptr;
211 resource_t *res;
212 accelerator_t *acc;
213 bitmap_t *bmp;
214 dialog_t *dlg;
215 dialogex_t *dlgex;
216 font_t *fnt;
217 fontdir_t *fnd;
218 menu_t *men;
219 menuex_t *menex;
220 html_t *html;
221 rcdata_t *rdt;
222 stringtable_t *stt;
223 stt_entry_t *stte;
224 user_t *usr;
225 messagetable_t *msg;
226 versioninfo_t *veri;
227 control_t *ctl;
228 name_id_t *nid;
229 font_id_t *fntid;
230 language_t *lan;
231 version_t *ver;
232 characts_t *chars;
233 event_t *event;
234 menu_item_t *menitm;
235 menuex_item_t *menexitm;
236 itemex_opt_t *exopt;
237 raw_data_t *raw;
238 lvc_t *lvc;
239 ver_value_t *val;
240 ver_block_t *blk;
241 ver_words_t *verw;
242 toolbar_t *tlbar;
243 toolbar_item_t *tlbarItems;
244 dlginit_t *dginit;
245 style_pair_t *styles;
246 style_t *style;
247 ani_any_t *ani;
248 } YYSTYPE;
249 /* Line 1275 of yacc.c. */
250 #line 251 "parser.tab.h"
251 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
252 # define YYSTYPE_IS_DECLARED 1
253 # define YYSTYPE_IS_TRIVIAL 1
254 #endif
255
256 extern YYSTYPE yylval;
257
258
259