Sync to wine-0.9.60:
[reactos.git] / reactos / tools / widl / parser.tab.h
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 aIDENTIFIER = 258,
33 aKNOWNTYPE = 259,
34 aNUM = 260,
35 aHEXNUM = 261,
36 aDOUBLE = 262,
37 aSTRING = 263,
38 aUUID = 264,
39 aEOF = 265,
40 SHL = 266,
41 SHR = 267,
42 tAGGREGATABLE = 268,
43 tALLOCATE = 269,
44 tAPPOBJECT = 270,
45 tASYNC = 271,
46 tASYNCUUID = 272,
47 tAUTOHANDLE = 273,
48 tBINDABLE = 274,
49 tBOOLEAN = 275,
50 tBROADCAST = 276,
51 tBYTE = 277,
52 tBYTECOUNT = 278,
53 tCALLAS = 279,
54 tCALLBACK = 280,
55 tCASE = 281,
56 tCDECL = 282,
57 tCHAR = 283,
58 tCOCLASS = 284,
59 tCODE = 285,
60 tCOMMSTATUS = 286,
61 tCONST = 287,
62 tCONTEXTHANDLE = 288,
63 tCONTEXTHANDLENOSERIALIZE = 289,
64 tCONTEXTHANDLESERIALIZE = 290,
65 tCONTROL = 291,
66 tCPPQUOTE = 292,
67 tDEFAULT = 293,
68 tDEFAULTCOLLELEM = 294,
69 tDEFAULTVALUE = 295,
70 tDEFAULTVTABLE = 296,
71 tDISPLAYBIND = 297,
72 tDISPINTERFACE = 298,
73 tDLLNAME = 299,
74 tDOUBLE = 300,
75 tDUAL = 301,
76 tENDPOINT = 302,
77 tENTRY = 303,
78 tENUM = 304,
79 tERRORSTATUST = 305,
80 tEXPLICITHANDLE = 306,
81 tEXTERN = 307,
82 tFALSE = 308,
83 tFASTCALL = 309,
84 tFLOAT = 310,
85 tHANDLE = 311,
86 tHANDLET = 312,
87 tHELPCONTEXT = 313,
88 tHELPFILE = 314,
89 tHELPSTRING = 315,
90 tHELPSTRINGCONTEXT = 316,
91 tHELPSTRINGDLL = 317,
92 tHIDDEN = 318,
93 tHYPER = 319,
94 tID = 320,
95 tIDEMPOTENT = 321,
96 tIIDIS = 322,
97 tIMMEDIATEBIND = 323,
98 tIMPLICITHANDLE = 324,
99 tIMPORT = 325,
100 tIMPORTLIB = 326,
101 tIN = 327,
102 tINLINE = 328,
103 tINPUTSYNC = 329,
104 tINT = 330,
105 tINT64 = 331,
106 tINTERFACE = 332,
107 tLCID = 333,
108 tLENGTHIS = 334,
109 tLIBRARY = 335,
110 tLOCAL = 336,
111 tLONG = 337,
112 tMETHODS = 338,
113 tMODULE = 339,
114 tNONBROWSABLE = 340,
115 tNONCREATABLE = 341,
116 tNONEXTENSIBLE = 342,
117 tOBJECT = 343,
118 tODL = 344,
119 tOLEAUTOMATION = 345,
120 tOPTIONAL = 346,
121 tOUT = 347,
122 tPASCAL = 348,
123 tPOINTERDEFAULT = 349,
124 tPROPERTIES = 350,
125 tPROPGET = 351,
126 tPROPPUT = 352,
127 tPROPPUTREF = 353,
128 tPTR = 354,
129 tPUBLIC = 355,
130 tRANGE = 356,
131 tREADONLY = 357,
132 tREF = 358,
133 tREQUESTEDIT = 359,
134 tRESTRICTED = 360,
135 tRETVAL = 361,
136 tSAFEARRAY = 362,
137 tSHORT = 363,
138 tSIGNED = 364,
139 tSINGLE = 365,
140 tSIZEIS = 366,
141 tSIZEOF = 367,
142 tSMALL = 368,
143 tSOURCE = 369,
144 tSTDCALL = 370,
145 tSTRICTCONTEXTHANDLE = 371,
146 tSTRING = 372,
147 tSTRUCT = 373,
148 tSWITCH = 374,
149 tSWITCHIS = 375,
150 tSWITCHTYPE = 376,
151 tTRANSMITAS = 377,
152 tTRUE = 378,
153 tTYPEDEF = 379,
154 tUNION = 380,
155 tUNIQUE = 381,
156 tUNSIGNED = 382,
157 tUUID = 383,
158 tV1ENUM = 384,
159 tVARARG = 385,
160 tVERSION = 386,
161 tVOID = 387,
162 tWCHAR = 388,
163 tWIREMARSHAL = 389,
164 CAST = 390,
165 PPTR = 391,
166 NEG = 392,
167 ADDRESSOF = 393
168 };
169 #endif
170 /* Tokens. */
171 #define aIDENTIFIER 258
172 #define aKNOWNTYPE 259
173 #define aNUM 260
174 #define aHEXNUM 261
175 #define aDOUBLE 262
176 #define aSTRING 263
177 #define aUUID 264
178 #define aEOF 265
179 #define SHL 266
180 #define SHR 267
181 #define tAGGREGATABLE 268
182 #define tALLOCATE 269
183 #define tAPPOBJECT 270
184 #define tASYNC 271
185 #define tASYNCUUID 272
186 #define tAUTOHANDLE 273
187 #define tBINDABLE 274
188 #define tBOOLEAN 275
189 #define tBROADCAST 276
190 #define tBYTE 277
191 #define tBYTECOUNT 278
192 #define tCALLAS 279
193 #define tCALLBACK 280
194 #define tCASE 281
195 #define tCDECL 282
196 #define tCHAR 283
197 #define tCOCLASS 284
198 #define tCODE 285
199 #define tCOMMSTATUS 286
200 #define tCONST 287
201 #define tCONTEXTHANDLE 288
202 #define tCONTEXTHANDLENOSERIALIZE 289
203 #define tCONTEXTHANDLESERIALIZE 290
204 #define tCONTROL 291
205 #define tCPPQUOTE 292
206 #define tDEFAULT 293
207 #define tDEFAULTCOLLELEM 294
208 #define tDEFAULTVALUE 295
209 #define tDEFAULTVTABLE 296
210 #define tDISPLAYBIND 297
211 #define tDISPINTERFACE 298
212 #define tDLLNAME 299
213 #define tDOUBLE 300
214 #define tDUAL 301
215 #define tENDPOINT 302
216 #define tENTRY 303
217 #define tENUM 304
218 #define tERRORSTATUST 305
219 #define tEXPLICITHANDLE 306
220 #define tEXTERN 307
221 #define tFALSE 308
222 #define tFASTCALL 309
223 #define tFLOAT 310
224 #define tHANDLE 311
225 #define tHANDLET 312
226 #define tHELPCONTEXT 313
227 #define tHELPFILE 314
228 #define tHELPSTRING 315
229 #define tHELPSTRINGCONTEXT 316
230 #define tHELPSTRINGDLL 317
231 #define tHIDDEN 318
232 #define tHYPER 319
233 #define tID 320
234 #define tIDEMPOTENT 321
235 #define tIIDIS 322
236 #define tIMMEDIATEBIND 323
237 #define tIMPLICITHANDLE 324
238 #define tIMPORT 325
239 #define tIMPORTLIB 326
240 #define tIN 327
241 #define tINLINE 328
242 #define tINPUTSYNC 329
243 #define tINT 330
244 #define tINT64 331
245 #define tINTERFACE 332
246 #define tLCID 333
247 #define tLENGTHIS 334
248 #define tLIBRARY 335
249 #define tLOCAL 336
250 #define tLONG 337
251 #define tMETHODS 338
252 #define tMODULE 339
253 #define tNONBROWSABLE 340
254 #define tNONCREATABLE 341
255 #define tNONEXTENSIBLE 342
256 #define tOBJECT 343
257 #define tODL 344
258 #define tOLEAUTOMATION 345
259 #define tOPTIONAL 346
260 #define tOUT 347
261 #define tPASCAL 348
262 #define tPOINTERDEFAULT 349
263 #define tPROPERTIES 350
264 #define tPROPGET 351
265 #define tPROPPUT 352
266 #define tPROPPUTREF 353
267 #define tPTR 354
268 #define tPUBLIC 355
269 #define tRANGE 356
270 #define tREADONLY 357
271 #define tREF 358
272 #define tREQUESTEDIT 359
273 #define tRESTRICTED 360
274 #define tRETVAL 361
275 #define tSAFEARRAY 362
276 #define tSHORT 363
277 #define tSIGNED 364
278 #define tSINGLE 365
279 #define tSIZEIS 366
280 #define tSIZEOF 367
281 #define tSMALL 368
282 #define tSOURCE 369
283 #define tSTDCALL 370
284 #define tSTRICTCONTEXTHANDLE 371
285 #define tSTRING 372
286 #define tSTRUCT 373
287 #define tSWITCH 374
288 #define tSWITCHIS 375
289 #define tSWITCHTYPE 376
290 #define tTRANSMITAS 377
291 #define tTRUE 378
292 #define tTYPEDEF 379
293 #define tUNION 380
294 #define tUNIQUE 381
295 #define tUNSIGNED 382
296 #define tUUID 383
297 #define tV1ENUM 384
298 #define tVARARG 385
299 #define tVERSION 386
300 #define tVOID 387
301 #define tWCHAR 388
302 #define tWIREMARSHAL 389
303 #define CAST 390
304 #define PPTR 391
305 #define NEG 392
306 #define ADDRESSOF 393
307
308
309
310
311 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
312 #line 139 "parser.y"
313 typedef union YYSTYPE {
314 attr_t *attr;
315 attr_list_t *attr_list;
316 str_list_t *str_list;
317 expr_t *expr;
318 expr_list_t *expr_list;
319 array_dims_t *array_dims;
320 type_t *type;
321 var_t *var;
322 var_list_t *var_list;
323 pident_t *pident;
324 pident_list_t *pident_list;
325 func_t *func;
326 func_list_t *func_list;
327 ifref_t *ifref;
328 ifref_list_t *ifref_list;
329 char *str;
330 UUID *uuid;
331 unsigned int num;
332 double dbl;
333 interface_info_t ifinfo;
334 } YYSTYPE;
335 /* Line 1447 of yacc.c. */
336 #line 337 "parser.tab.h"
337 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
338 # define YYSTYPE_IS_DECLARED 1
339 # define YYSTYPE_IS_TRIVIAL 1
340 #endif
341
342 extern YYSTYPE parser_lval;
343
344
345