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