/* A Bison parser, made by GNU Bison 2.3. */
|
/* A Bison parser, made by GNU Bison 2.3. */
|
|
|
/* Skeleton interface for Bison's Yacc-like parsers in C
|
/* Skeleton interface for Bison's Yacc-like parsers in C
|
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
|
|
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
the Free Software Foundation; either version 2, or (at your option)
|
the Free Software Foundation; either version 2, or (at your option)
|
any later version.
|
any later version.
|
|
|
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU General Public License for more details.
|
GNU General Public License for more details.
|
|
|
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
Boston, MA 02110-1301, USA. */
|
Boston, MA 02110-1301, USA. */
|
|
|
/* As a special exception, you may create a larger work that contains
|
/* As a special exception, you may create a larger work that contains
|
part or all of the Bison parser skeleton and distribute that work
|
part or all of the Bison parser skeleton and distribute that work
|
under terms of your choice, so long as that work isn't itself a
|
under terms of your choice, so long as that work isn't itself a
|
parser generator using the skeleton or a modified version thereof
|
parser generator using the skeleton or a modified version thereof
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
the parser skeleton itself, you may (at your option) remove this
|
the parser skeleton itself, you may (at your option) remove this
|
special exception, which will cause the skeleton and the resulting
|
special exception, which will cause the skeleton and the resulting
|
Bison output files to be licensed under the GNU General Public
|
Bison output files to be licensed under the GNU General Public
|
License without this special exception.
|
License without this special exception.
|
|
|
This special exception was added by the Free Software Foundation in
|
This special exception was added by the Free Software Foundation in
|
version 2.2 of Bison. */
|
version 2.2 of Bison. */
|
|
|
/* Tokens. */
|
/* Tokens. */
|
#ifndef YYTOKENTYPE
|
#ifndef YYTOKENTYPE
|
# define YYTOKENTYPE
|
# define YYTOKENTYPE
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
know about them. */
|
know about them. */
|
enum yytokentype {
|
enum yytokentype {
|
BEG = 258,
|
BEG = 258,
|
END = 259,
|
END = 259,
|
ACCELERATORS = 260,
|
ACCELERATORS = 260,
|
VIRTKEY = 261,
|
VIRTKEY = 261,
|
ASCII = 262,
|
ASCII = 262,
|
NOINVERT = 263,
|
NOINVERT = 263,
|
SHIFT = 264,
|
SHIFT = 264,
|
CONTROL = 265,
|
CONTROL = 265,
|
ALT = 266,
|
ALT = 266,
|
BITMAP = 267,
|
BITMAP = 267,
|
CURSOR = 268,
|
CURSOR = 268,
|
DIALOG = 269,
|
DIALOG = 269,
|
DIALOGEX = 270,
|
DIALOGEX = 270,
|
EXSTYLE = 271,
|
EXSTYLE = 271,
|
CAPTION = 272,
|
CAPTION = 272,
|
CLASS = 273,
|
CLASS = 273,
|
STYLE = 274,
|
STYLE = 274,
|
AUTO3STATE = 275,
|
AUTO3STATE = 275,
|
AUTOCHECKBOX = 276,
|
AUTOCHECKBOX = 276,
|
AUTORADIOBUTTON = 277,
|
AUTORADIOBUTTON = 277,
|
CHECKBOX = 278,
|
CHECKBOX = 278,
|
COMBOBOX = 279,
|
COMBOBOX = 279,
|
CTEXT = 280,
|
CTEXT = 280,
|
DEFPUSHBUTTON = 281,
|
DEFPUSHBUTTON = 281,
|
EDITTEXT = 282,
|
EDITTEXT = 282,
|
GROUPBOX = 283,
|
GROUPBOX = 283,
|
LISTBOX = 284,
|
LISTBOX = 284,
|
LTEXT = 285,
|
LTEXT = 285,
|
PUSHBOX = 286,
|
PUSHBOX = 286,
|
PUSHBUTTON = 287,
|
PUSHBUTTON = 287,
|
RADIOBUTTON = 288,
|
RADIOBUTTON = 288,
|
RTEXT = 289,
|
RTEXT = 289,
|
SCROLLBAR = 290,
|
SCROLLBAR = 290,
|
STATE3 = 291,
|
STATE3 = 291,
|
USERBUTTON = 292,
|
USERBUTTON = 292,
|
BEDIT = 293,
|
BEDIT = 293,
|
HEDIT = 294,
|
HEDIT = 294,
|
IEDIT = 295,
|
IEDIT = 295,
|
FONT = 296,
|
FONT = 296,
|
ICON = 297,
|
ICON = 297,
|
ANICURSOR = 298,
|
ANICURSOR = 298,
|
ANIICON = 299,
|
ANIICON = 299,
|
DLGINCLUDE = 300,
|
DLGINCLUDE = 300,
|
DLGINIT = 301,
|
DLGINIT = 301,
|
FONTDIR = 302,
|
FONTDIR = 302,
|
HTML = 303,
|
HTML = 303,
|
MANIFEST = 304,
|
MANIFEST = 304,
|
PLUGPLAY = 305,
|
PLUGPLAY = 305,
|
VXD = 306,
|
VXD = 306,
|
TOOLBAR = 307,
|
TOOLBAR = 307,
|
BUTTON = 308,
|
BUTTON = 308,
|
LANGUAGE = 309,
|
LANGUAGE = 309,
|
CHARACTERISTICS = 310,
|
CHARACTERISTICS = 310,
|
VERSIONK = 311,
|
VERSIONK = 311,
|
MENU = 312,
|
MENU = 312,
|
MENUEX = 313,
|
MENUEX = 313,
|
MENUITEM = 314,
|
MENUITEM = 314,
|
SEPARATOR = 315,
|
SEPARATOR = 315,
|
POPUP = 316,
|
POPUP = 316,
|
CHECKED = 317,
|
CHECKED = 317,
|
GRAYED = 318,
|
GRAYED = 318,
|
HELP = 319,
|
HELP = 319,
|
INACTIVE = 320,
|
INACTIVE = 320,
|
MENUBARBREAK = 321,
|
MENUBARBREAK = 321,
|
MENUBREAK = 322,
|
MENUBREAK = 322,
|
MESSAGETABLE = 323,
|
MESSAGETABLE = 323,
|
RCDATA = 324,
|
RCDATA = 324,
|
STRINGTABLE = 325,
|
STRINGTABLE = 325,
|
VERSIONINFO = 326,
|
VERSIONINFO = 326,
|
FILEVERSION = 327,
|
FILEVERSION = 327,
|
PRODUCTVERSION = 328,
|
PRODUCTVERSION = 328,
|
FILEFLAGSMASK = 329,
|
FILEFLAGSMASK = 329,
|
FILEFLAGS = 330,
|
FILEFLAGS = 330,
|
FILEOS = 331,
|
FILEOS = 331,
|
FILETYPE = 332,
|
FILETYPE = 332,
|
FILESUBTYPE = 333,
|
FILESUBTYPE = 333,
|
BLOCKSTRINGFILEINFO = 334,
|
BLOCKSTRINGFILEINFO = 334,
|
BLOCKVARFILEINFO = 335,
|
BLOCKVARFILEINFO = 335,
|
VALUE = 336,
|
VALUE = 336,
|
BLOCK = 337,
|
BLOCK = 337,
|
MOVEABLE = 338,
|
MOVEABLE = 338,
|
FIXED = 339,
|
FIXED = 339,
|
PURE = 340,
|
PURE = 340,
|
IMPURE = 341,
|
IMPURE = 341,
|
PRELOAD = 342,
|
PRELOAD = 342,
|
LOADONCALL = 343,
|
LOADONCALL = 343,
|
DISCARDABLE = 344,
|
DISCARDABLE = 344,
|
NOT = 345,
|
NOT = 345,
|
QUOTEDUNISTRING = 346,
|
QUOTEDUNISTRING = 346,
|
QUOTEDSTRING = 347,
|
QUOTEDSTRING = 347,
|
STRING = 348,
|
STRING = 348,
|
NUMBER = 349,
|
NUMBER = 349,
|
SIZEDUNISTRING = 350,
|
SIZEDUNISTRING = 350,
|
SIZEDSTRING = 351,
|
SIZEDSTRING = 351,
|
IGNORED_TOKEN = 352,
|
IGNORED_TOKEN = 352,
|
NEG = 353
|
NEG = 353
|
};
|
};
|
#endif
|
#endif
|
/* Tokens. */
|
/* Tokens. */
|
#define BEG 258
|
#define BEG 258
|
#define END 259
|
#define END 259
|
#define ACCELERATORS 260
|
#define ACCELERATORS 260
|
#define VIRTKEY 261
|
#define VIRTKEY 261
|
#define ASCII 262
|
#define ASCII 262
|
#define NOINVERT 263
|
#define NOINVERT 263
|
#define SHIFT 264
|
#define SHIFT 264
|
#define CONTROL 265
|
#define CONTROL 265
|
#define ALT 266
|
#define ALT 266
|
#define BITMAP 267
|
#define BITMAP 267
|
#define CURSOR 268
|
#define CURSOR 268
|
#define DIALOG 269
|
#define DIALOG 269
|
#define DIALOGEX 270
|
#define DIALOGEX 270
|
#define EXSTYLE 271
|
#define EXSTYLE 271
|
#define CAPTION 272
|
#define CAPTION 272
|
#define CLASS 273
|
#define CLASS 273
|
#define STYLE 274
|
#define STYLE 274
|
#define AUTO3STATE 275
|
#define AUTO3STATE 275
|
#define AUTOCHECKBOX 276
|
#define AUTOCHECKBOX 276
|
#define AUTORADIOBUTTON 277
|
#define AUTORADIOBUTTON 277
|
#define CHECKBOX 278
|
#define CHECKBOX 278
|
#define COMBOBOX 279
|
#define COMBOBOX 279
|
#define CTEXT 280
|
#define CTEXT 280
|
#define DEFPUSHBUTTON 281
|
#define DEFPUSHBUTTON 281
|
#define EDITTEXT 282
|
#define EDITTEXT 282
|
#define GROUPBOX 283
|
#define GROUPBOX 283
|
#define LISTBOX 284
|
#define LISTBOX 284
|
#define LTEXT 285
|
#define LTEXT 285
|
#define PUSHBOX 286
|
#define PUSHBOX 286
|
#define PUSHBUTTON 287
|
#define PUSHBUTTON 287
|
#define RADIOBUTTON 288
|
#define RADIOBUTTON 288
|
#define RTEXT 289
|
#define RTEXT 289
|
#define SCROLLBAR 290
|
#define SCROLLBAR 290
|
#define STATE3 291
|
#define STATE3 291
|
#define USERBUTTON 292
|
#define USERBUTTON 292
|
#define BEDIT 293
|
#define BEDIT 293
|
#define HEDIT 294
|
#define HEDIT 294
|
#define IEDIT 295
|
#define IEDIT 295
|
#define FONT 296
|
#define FONT 296
|
#define ICON 297
|
#define ICON 297
|
#define ANICURSOR 298
|
#define ANICURSOR 298
|
#define ANIICON 299
|
#define ANIICON 299
|
#define DLGINCLUDE 300
|
#define DLGINCLUDE 300
|
#define DLGINIT 301
|
#define DLGINIT 301
|
#define FONTDIR 302
|
#define FONTDIR 302
|
#define HTML 303
|
#define HTML 303
|
#define MANIFEST 304
|
#define MANIFEST 304
|
#define PLUGPLAY 305
|
#define PLUGPLAY 305
|
#define VXD 306
|
#define VXD 306
|
#define TOOLBAR 307
|
#define TOOLBAR 307
|
#define BUTTON 308
|
#define BUTTON 308
|
#define LANGUAGE 309
|
#define LANGUAGE 309
|
#define CHARACTERISTICS 310
|
#define CHARACTERISTICS 310
|
#define VERSIONK 311
|
#define VERSIONK 311
|
#define MENU 312
|
#define MENU 312
|
#define MENUEX 313
|
#define MENUEX 313
|
#define MENUITEM 314
|
#define MENUITEM 314
|
#define SEPARATOR 315
|
#define SEPARATOR 315
|
#define POPUP 316
|
#define POPUP 316
|
#define CHECKED 317
|
#define CHECKED 317
|
#define GRAYED 318
|
#define GRAYED 318
|
#define HELP 319
|
#define HELP 319
|
#define INACTIVE 320
|
#define INACTIVE 320
|
#define MENUBARBREAK 321
|
#define MENUBARBREAK 321
|
#define MENUBREAK 322
|
#define MENUBREAK 322
|
#define MESSAGETABLE 323
|
#define MESSAGETABLE 323
|
#define RCDATA 324
|
#define RCDATA 324
|
#define STRINGTABLE 325
|
#define STRINGTABLE 325
|
#define VERSIONINFO 326
|
#define VERSIONINFO 326
|
#define FILEVERSION 327
|
#define FILEVERSION 327
|
#define PRODUCTVERSION 328
|
#define PRODUCTVERSION 328
|
#define FILEFLAGSMASK 329
|
#define FILEFLAGSMASK 329
|
#define FILEFLAGS 330
|
#define FILEFLAGS 330
|
#define FILEOS 331
|
#define FILEOS 331
|
#define FILETYPE 332
|
#define FILETYPE 332
|
#define FILESUBTYPE 333
|
#define FILESUBTYPE 333
|
#define BLOCKSTRINGFILEINFO 334
|
#define BLOCKSTRINGFILEINFO 334
|
#define BLOCKVARFILEINFO 335
|
#define BLOCKVARFILEINFO 335
|
#define VALUE 336
|
#define VALUE 336
|
#define BLOCK 337
|
#define BLOCK 337
|
#define MOVEABLE 338
|
#define MOVEABLE 338
|
#define FIXED 339
|
#define FIXED 339
|
#define PURE 340
|
#define PURE 340
|
#define IMPURE 341
|
#define IMPURE 341
|
#define PRELOAD 342
|
#define PRELOAD 342
|
#define LOADONCALL 343
|
#define LOADONCALL 343
|
#define DISCARDABLE 344
|
#define DISCARDABLE 344
|
#define NOT 345
|
#define NOT 345
|
#define QUOTEDUNISTRING 346
|
#define QUOTEDUNISTRING 346
|
#define QUOTEDSTRING 347
|
#define QUOTEDSTRING 347
|
#define STRING 348
|
#define STRING 348
|
#define NUMBER 349
|
#define NUMBER 349
|
#define SIZEDUNISTRING 350
|
#define SIZEDUNISTRING 350
|
#define SIZEDSTRING 351
|
#define SIZEDSTRING 351
|
#define IGNORED_TOKEN 352
|
#define IGNORED_TOKEN 352
|
#define NEG 353
|
#define NEG 353
|
|
|
|
|
|
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
typedef union YYSTYPE
|
typedef union YYSTYPE
|
#line 69 "rcparse.y"
|
#line 69 "rcparse.y"
|
{
|
{
|
rc_accelerator acc;
|
rc_accelerator acc;
|
rc_accelerator *pacc;
|
rc_accelerator *pacc;
|
rc_dialog_control *dialog_control;
|
rc_dialog_control *dialog_control;
|
rc_menuitem *menuitem;
|
rc_menuitem *menuitem;
|
struct
|
struct
|
{
|
{
|
rc_rcdata_item *first;
|
rc_rcdata_item *first;
|
rc_rcdata_item *last;
|
rc_rcdata_item *last;
|
} rcdata;
|
} rcdata;
|
rc_rcdata_item *rcdata_item;
|
rc_rcdata_item *rcdata_item;
|
rc_fixed_versioninfo *fixver;
|
rc_fixed_versioninfo *fixver;
|
rc_ver_info *verinfo;
|
rc_ver_info *verinfo;
|
rc_ver_stringinfo *verstring;
|
rc_ver_stringinfo *verstring;
|
rc_ver_varinfo *vervar;
|
rc_ver_varinfo *vervar;
|
rc_toolbar_item *toobar_item;
|
rc_toolbar_item *toobar_item;
|
rc_res_id id;
|
rc_res_id id;
|
rc_res_res_info res_info;
|
rc_res_res_info res_info;
|
struct
|
struct
|
{
|
{
|
rc_uint_type on;
|
rc_uint_type on;
|
rc_uint_type off;
|
rc_uint_type off;
|
} memflags;
|
} memflags;
|
struct
|
struct
|
{
|
{
|
rc_uint_type val;
|
rc_uint_type val;
|
/* Nonzero if this number was explicitly specified as long. */
|
/* Nonzero if this number was explicitly specified as long. */
|
int dword;
|
int dword;
|
} i;
|
} i;
|
rc_uint_type il;
|
rc_uint_type il;
|
rc_uint_type is;
|
rc_uint_type is;
|
const char *s;
|
const char *s;
|
struct
|
struct
|
{
|
{
|
rc_uint_type length;
|
rc_uint_type length;
|
const char *s;
|
const char *s;
|
} ss;
|
} ss;
|
unichar *uni;
|
unichar *uni;
|
struct
|
struct
|
{
|
{
|
rc_uint_type length;
|
rc_uint_type length;
|
const unichar *s;
|
const unichar *s;
|
} suni;
|
} suni;
|
}
|
}
|
/* Line 1529 of yacc.c. */
|
/* Line 1529 of yacc.c. */
|
#line 290 "rcparse.h"
|
#line 290 "rcparse.h"
|
YYSTYPE;
|
YYSTYPE;
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
# define YYSTYPE_IS_DECLARED 1
|
# define YYSTYPE_IS_DECLARED 1
|
# define YYSTYPE_IS_TRIVIAL 1
|
# define YYSTYPE_IS_TRIVIAL 1
|
#endif
|
#endif
|
|
|
extern YYSTYPE yylval;
|
extern YYSTYPE yylval;
|
|
|
|
|