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     BEG = 258,
33     END = 259,
34     ACCELERATORS = 260,
35     VIRTKEY = 261,
36     ASCII = 262,
37     NOINVERT = 263,
38     SHIFT = 264,
39     CONTROL = 265,
40     ALT = 266,
41     BITMAP = 267,
42     CURSOR = 268,
43     DIALOG = 269,
44     DIALOGEX = 270,
45     EXSTYLE = 271,
46     CAPTION = 272,
47     CLASS = 273,
48     STYLE = 274,
49     AUTO3STATE = 275,
50     AUTOCHECKBOX = 276,
51     AUTORADIOBUTTON = 277,
52     CHECKBOX = 278,
53     COMBOBOX = 279,
54     CTEXT = 280,
55     DEFPUSHBUTTON = 281,
56     EDITTEXT = 282,
57     GROUPBOX = 283,
58     LISTBOX = 284,
59     LTEXT = 285,
60     PUSHBOX = 286,
61     PUSHBUTTON = 287,
62     RADIOBUTTON = 288,
63     RTEXT = 289,
64     SCROLLBAR = 290,
65     STATE3 = 291,
66     USERBUTTON = 292,
67     BEDIT = 293,
68     HEDIT = 294,
69     IEDIT = 295,
70     FONT = 296,
71     ICON = 297,
72     LANGUAGE = 298,
73     CHARACTERISTICS = 299,
74     VERSIONK = 300,
75     MENU = 301,
76     MENUEX = 302,
77     MENUITEM = 303,
78     SEPARATOR = 304,
79     POPUP = 305,
80     CHECKED = 306,
81     GRAYED = 307,
82     HELP = 308,
83     INACTIVE = 309,
84     MENUBARBREAK = 310,
85     MENUBREAK = 311,
86     MESSAGETABLE = 312,
87     RCDATA = 313,
88     STRINGTABLE = 314,
89     VERSIONINFO = 315,
90     FILEVERSION = 316,
91     PRODUCTVERSION = 317,
92     FILEFLAGSMASK = 318,
93     FILEFLAGS = 319,
94     FILEOS = 320,
95     FILETYPE = 321,
96     FILESUBTYPE = 322,
97     BLOCKSTRINGFILEINFO = 323,
98     BLOCKVARFILEINFO = 324,
99     VALUE = 325,
100     BLOCK = 326,
101     MOVEABLE = 327,
102     FIXED = 328,
103     PURE = 329,
104     IMPURE = 330,
105     PRELOAD = 331,
106     LOADONCALL = 332,
107     DISCARDABLE = 333,
108     NOT = 334,
109     QUOTEDSTRING = 335,
110     STRING = 336,
111     NUMBER = 337,
112     SIZEDSTRING = 338,
113     IGNORED_TOKEN = 339,
114     NEG = 340
115   };
116#endif
117#define BEG 258
118#define END 259
119#define ACCELERATORS 260
120#define VIRTKEY 261
121#define ASCII 262
122#define NOINVERT 263
123#define SHIFT 264
124#define CONTROL 265
125#define ALT 266
126#define BITMAP 267
127#define CURSOR 268
128#define DIALOG 269
129#define DIALOGEX 270
130#define EXSTYLE 271
131#define CAPTION 272
132#define CLASS 273
133#define STYLE 274
134#define AUTO3STATE 275
135#define AUTOCHECKBOX 276
136#define AUTORADIOBUTTON 277
137#define CHECKBOX 278
138#define COMBOBOX 279
139#define CTEXT 280
140#define DEFPUSHBUTTON 281
141#define EDITTEXT 282
142#define GROUPBOX 283
143#define LISTBOX 284
144#define LTEXT 285
145#define PUSHBOX 286
146#define PUSHBUTTON 287
147#define RADIOBUTTON 288
148#define RTEXT 289
149#define SCROLLBAR 290
150#define STATE3 291
151#define USERBUTTON 292
152#define BEDIT 293
153#define HEDIT 294
154#define IEDIT 295
155#define FONT 296
156#define ICON 297
157#define LANGUAGE 298
158#define CHARACTERISTICS 299
159#define VERSIONK 300
160#define MENU 301
161#define MENUEX 302
162#define MENUITEM 303
163#define SEPARATOR 304
164#define POPUP 305
165#define CHECKED 306
166#define GRAYED 307
167#define HELP 308
168#define INACTIVE 309
169#define MENUBARBREAK 310
170#define MENUBREAK 311
171#define MESSAGETABLE 312
172#define RCDATA 313
173#define STRINGTABLE 314
174#define VERSIONINFO 315
175#define FILEVERSION 316
176#define PRODUCTVERSION 317
177#define FILEFLAGSMASK 318
178#define FILEFLAGS 319
179#define FILEOS 320
180#define FILETYPE 321
181#define FILESUBTYPE 322
182#define BLOCKSTRINGFILEINFO 323
183#define BLOCKVARFILEINFO 324
184#define VALUE 325
185#define BLOCK 326
186#define MOVEABLE 327
187#define FIXED 328
188#define PURE 329
189#define IMPURE 330
190#define PRELOAD 331
191#define LOADONCALL 332
192#define DISCARDABLE 333
193#define NOT 334
194#define QUOTEDSTRING 335
195#define STRING 336
196#define NUMBER 337
197#define SIZEDSTRING 338
198#define IGNORED_TOKEN 339
199#define NEG 340
200
201
202
203
204#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
205#line 66 "rcparse.y"
206typedef union YYSTYPE {
207  struct accelerator acc;
208  struct accelerator *pacc;
209  struct dialog_control *dialog_control;
210  struct menuitem *menuitem;
211  struct
212  {
213    struct rcdata_item *first;
214    struct rcdata_item *last;
215  } rcdata;
216  struct rcdata_item *rcdata_item;
217  struct stringtable_data *stringtable;
218  struct fixed_versioninfo *fixver;
219  struct ver_info *verinfo;
220  struct ver_stringinfo *verstring;
221  struct ver_varinfo *vervar;
222  struct res_id id;
223  struct res_res_info res_info;
224  struct
225  {
226    unsigned short on;
227    unsigned short off;
228  } memflags;
229  struct
230  {
231    unsigned long val;
232    /* Nonzero if this number was explicitly specified as long.  */
233    int dword;
234  } i;
235  unsigned long il;
236  unsigned short is;
237  const char *s;
238  struct
239  {
240    unsigned long length;
241    const char *s;
242  } ss;
243} YYSTYPE;
244/* Line 1275 of yacc.c.  */
245#line 246 "rcparse.h"
246# define yystype YYSTYPE /* obsolescent; will be withdrawn */
247# define YYSTYPE_IS_DECLARED 1
248# define YYSTYPE_IS_TRIVIAL 1
249#endif
250
251extern YYSTYPE yylval;
252
253
254
255