enable targets gold
[platform/upstream/binutils.git] / binutils / rcparse.h
1 /* A Bison parser, made by GNU Bison 2.3.  */
2
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4
5    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6    Free Software Foundation, Inc.
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2, or (at your option)
11    any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 51 Franklin Street, Fifth Floor,
21    Boston, MA 02110-1301, USA.  */
22
23 /* As a special exception, you may create a larger work that contains
24    part or all of the Bison parser skeleton and distribute that work
25    under terms of your choice, so long as that work isn't itself a
26    parser generator using the skeleton or a modified version thereof
27    as a parser skeleton.  Alternatively, if you modify or redistribute
28    the parser skeleton itself, you may (at your option) remove this
29    special exception, which will cause the skeleton and the resulting
30    Bison output files to be licensed under the GNU General Public
31    License without this special exception.
32
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
35
36 /* Tokens.  */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39    /* Put the tokens into the symbol table, so that GDB and other debuggers
40       know about them.  */
41    enum yytokentype {
42      BEG = 258,
43      END = 259,
44      ACCELERATORS = 260,
45      VIRTKEY = 261,
46      ASCII = 262,
47      NOINVERT = 263,
48      SHIFT = 264,
49      CONTROL = 265,
50      ALT = 266,
51      BITMAP = 267,
52      CURSOR = 268,
53      DIALOG = 269,
54      DIALOGEX = 270,
55      EXSTYLE = 271,
56      CAPTION = 272,
57      CLASS = 273,
58      STYLE = 274,
59      AUTO3STATE = 275,
60      AUTOCHECKBOX = 276,
61      AUTORADIOBUTTON = 277,
62      CHECKBOX = 278,
63      COMBOBOX = 279,
64      CTEXT = 280,
65      DEFPUSHBUTTON = 281,
66      EDITTEXT = 282,
67      GROUPBOX = 283,
68      LISTBOX = 284,
69      LTEXT = 285,
70      PUSHBOX = 286,
71      PUSHBUTTON = 287,
72      RADIOBUTTON = 288,
73      RTEXT = 289,
74      SCROLLBAR = 290,
75      STATE3 = 291,
76      USERBUTTON = 292,
77      BEDIT = 293,
78      HEDIT = 294,
79      IEDIT = 295,
80      FONT = 296,
81      ICON = 297,
82      ANICURSOR = 298,
83      ANIICON = 299,
84      DLGINCLUDE = 300,
85      DLGINIT = 301,
86      FONTDIR = 302,
87      HTML = 303,
88      MANIFEST = 304,
89      PLUGPLAY = 305,
90      VXD = 306,
91      TOOLBAR = 307,
92      BUTTON = 308,
93      LANGUAGE = 309,
94      CHARACTERISTICS = 310,
95      VERSIONK = 311,
96      MENU = 312,
97      MENUEX = 313,
98      MENUITEM = 314,
99      SEPARATOR = 315,
100      POPUP = 316,
101      CHECKED = 317,
102      GRAYED = 318,
103      HELP = 319,
104      INACTIVE = 320,
105      MENUBARBREAK = 321,
106      MENUBREAK = 322,
107      MESSAGETABLE = 323,
108      RCDATA = 324,
109      STRINGTABLE = 325,
110      VERSIONINFO = 326,
111      FILEVERSION = 327,
112      PRODUCTVERSION = 328,
113      FILEFLAGSMASK = 329,
114      FILEFLAGS = 330,
115      FILEOS = 331,
116      FILETYPE = 332,
117      FILESUBTYPE = 333,
118      BLOCKSTRINGFILEINFO = 334,
119      BLOCKVARFILEINFO = 335,
120      VALUE = 336,
121      BLOCK = 337,
122      MOVEABLE = 338,
123      FIXED = 339,
124      PURE = 340,
125      IMPURE = 341,
126      PRELOAD = 342,
127      LOADONCALL = 343,
128      DISCARDABLE = 344,
129      NOT = 345,
130      QUOTEDUNISTRING = 346,
131      QUOTEDSTRING = 347,
132      STRING = 348,
133      NUMBER = 349,
134      SIZEDUNISTRING = 350,
135      SIZEDSTRING = 351,
136      IGNORED_TOKEN = 352,
137      NEG = 353
138    };
139 #endif
140 /* Tokens.  */
141 #define BEG 258
142 #define END 259
143 #define ACCELERATORS 260
144 #define VIRTKEY 261
145 #define ASCII 262
146 #define NOINVERT 263
147 #define SHIFT 264
148 #define CONTROL 265
149 #define ALT 266
150 #define BITMAP 267
151 #define CURSOR 268
152 #define DIALOG 269
153 #define DIALOGEX 270
154 #define EXSTYLE 271
155 #define CAPTION 272
156 #define CLASS 273
157 #define STYLE 274
158 #define AUTO3STATE 275
159 #define AUTOCHECKBOX 276
160 #define AUTORADIOBUTTON 277
161 #define CHECKBOX 278
162 #define COMBOBOX 279
163 #define CTEXT 280
164 #define DEFPUSHBUTTON 281
165 #define EDITTEXT 282
166 #define GROUPBOX 283
167 #define LISTBOX 284
168 #define LTEXT 285
169 #define PUSHBOX 286
170 #define PUSHBUTTON 287
171 #define RADIOBUTTON 288
172 #define RTEXT 289
173 #define SCROLLBAR 290
174 #define STATE3 291
175 #define USERBUTTON 292
176 #define BEDIT 293
177 #define HEDIT 294
178 #define IEDIT 295
179 #define FONT 296
180 #define ICON 297
181 #define ANICURSOR 298
182 #define ANIICON 299
183 #define DLGINCLUDE 300
184 #define DLGINIT 301
185 #define FONTDIR 302
186 #define HTML 303
187 #define MANIFEST 304
188 #define PLUGPLAY 305
189 #define VXD 306
190 #define TOOLBAR 307
191 #define BUTTON 308
192 #define LANGUAGE 309
193 #define CHARACTERISTICS 310
194 #define VERSIONK 311
195 #define MENU 312
196 #define MENUEX 313
197 #define MENUITEM 314
198 #define SEPARATOR 315
199 #define POPUP 316
200 #define CHECKED 317
201 #define GRAYED 318
202 #define HELP 319
203 #define INACTIVE 320
204 #define MENUBARBREAK 321
205 #define MENUBREAK 322
206 #define MESSAGETABLE 323
207 #define RCDATA 324
208 #define STRINGTABLE 325
209 #define VERSIONINFO 326
210 #define FILEVERSION 327
211 #define PRODUCTVERSION 328
212 #define FILEFLAGSMASK 329
213 #define FILEFLAGS 330
214 #define FILEOS 331
215 #define FILETYPE 332
216 #define FILESUBTYPE 333
217 #define BLOCKSTRINGFILEINFO 334
218 #define BLOCKVARFILEINFO 335
219 #define VALUE 336
220 #define BLOCK 337
221 #define MOVEABLE 338
222 #define FIXED 339
223 #define PURE 340
224 #define IMPURE 341
225 #define PRELOAD 342
226 #define LOADONCALL 343
227 #define DISCARDABLE 344
228 #define NOT 345
229 #define QUOTEDUNISTRING 346
230 #define QUOTEDSTRING 347
231 #define STRING 348
232 #define NUMBER 349
233 #define SIZEDUNISTRING 350
234 #define SIZEDSTRING 351
235 #define IGNORED_TOKEN 352
236 #define NEG 353
237
238
239
240
241 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
242 typedef union YYSTYPE
243 #line 68 "rcparse.y"
244 {
245   rc_accelerator acc;
246   rc_accelerator *pacc;
247   rc_dialog_control *dialog_control;
248   rc_menuitem *menuitem;
249   struct
250   {
251     rc_rcdata_item *first;
252     rc_rcdata_item *last;
253   } rcdata;
254   rc_rcdata_item *rcdata_item;
255   rc_fixed_versioninfo *fixver;
256   rc_ver_info *verinfo;
257   rc_ver_stringtable *verstringtable;
258   rc_ver_stringinfo *verstring;
259   rc_ver_varinfo *vervar;
260   rc_toolbar_item *toobar_item;
261   rc_res_id id;
262   rc_res_res_info res_info;
263   struct
264   {
265     rc_uint_type on;
266     rc_uint_type off;
267   } memflags;
268   struct
269   {
270     rc_uint_type val;
271     /* Nonzero if this number was explicitly specified as long.  */
272     int dword;
273   } i;
274   rc_uint_type il;
275   rc_uint_type is;
276   const char *s;
277   struct
278   {
279     rc_uint_type length;
280     const char *s;
281   } ss;
282   unichar *uni;
283   struct
284   {
285     rc_uint_type length;
286     const unichar *s;
287   } suni;
288 }
289 /* Line 1529 of yacc.c.  */
290 #line 291 "rcparse.h"
291         YYSTYPE;
292 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
293 # define YYSTYPE_IS_DECLARED 1
294 # define YYSTYPE_IS_TRIVIAL 1
295 #endif
296
297 extern YYSTYPE yylval;
298