mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
242 lines
5.8 KiB
C
242 lines
5.8 KiB
C
|
|
/* A Bison parser, made by GNU Bison 2.4.1. */
|
|
|
|
/* Skeleton interface for Bison's Yacc-like parsers in C
|
|
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
|
Free Software Foundation, Inc.
|
|
|
|
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
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
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
|
|
parser generator using the skeleton or a modified version thereof
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
special exception, which will cause the skeleton and the resulting
|
|
Bison output files to be licensed under the GNU General Public
|
|
License without this special exception.
|
|
|
|
This special exception was added by the Free Software Foundation in
|
|
version 2.2 of Bison. */
|
|
|
|
|
|
/* Tokens. */
|
|
#ifndef YYTOKENTYPE
|
|
# define YYTOKENTYPE
|
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
|
know about them. */
|
|
enum yytokentype {
|
|
aIDENTIFIER = 258,
|
|
aKNOWNTYPE = 259,
|
|
aNUM = 260,
|
|
aHEXNUM = 261,
|
|
aDOUBLE = 262,
|
|
aSTRING = 263,
|
|
aWSTRING = 264,
|
|
aUUID = 265,
|
|
aEOF = 266,
|
|
SHL = 267,
|
|
SHR = 268,
|
|
MEMBERPTR = 269,
|
|
EQUALITY = 270,
|
|
INEQUALITY = 271,
|
|
GREATEREQUAL = 272,
|
|
LESSEQUAL = 273,
|
|
LOGICALOR = 274,
|
|
LOGICALAND = 275,
|
|
tAGGREGATABLE = 276,
|
|
tALLOCATE = 277,
|
|
tAPPOBJECT = 278,
|
|
tASYNC = 279,
|
|
tASYNCUUID = 280,
|
|
tAUTOHANDLE = 281,
|
|
tBINDABLE = 282,
|
|
tBOOLEAN = 283,
|
|
tBROADCAST = 284,
|
|
tBYTE = 285,
|
|
tBYTECOUNT = 286,
|
|
tCALLAS = 287,
|
|
tCALLBACK = 288,
|
|
tCASE = 289,
|
|
tCDECL = 290,
|
|
tCHAR = 291,
|
|
tCOCLASS = 292,
|
|
tCODE = 293,
|
|
tCOMMSTATUS = 294,
|
|
tCONST = 295,
|
|
tCONTEXTHANDLE = 296,
|
|
tCONTEXTHANDLENOSERIALIZE = 297,
|
|
tCONTEXTHANDLESERIALIZE = 298,
|
|
tCONTROL = 299,
|
|
tCPPQUOTE = 300,
|
|
tDEFAULT = 301,
|
|
tDEFAULTCOLLELEM = 302,
|
|
tDEFAULTVALUE = 303,
|
|
tDEFAULTVTABLE = 304,
|
|
tDISPLAYBIND = 305,
|
|
tDISPINTERFACE = 306,
|
|
tDLLNAME = 307,
|
|
tDOUBLE = 308,
|
|
tDUAL = 309,
|
|
tENDPOINT = 310,
|
|
tENTRY = 311,
|
|
tENUM = 312,
|
|
tERRORSTATUST = 313,
|
|
tEXPLICITHANDLE = 314,
|
|
tEXTERN = 315,
|
|
tFALSE = 316,
|
|
tFASTCALL = 317,
|
|
tFLOAT = 318,
|
|
tHANDLE = 319,
|
|
tHANDLET = 320,
|
|
tHELPCONTEXT = 321,
|
|
tHELPFILE = 322,
|
|
tHELPSTRING = 323,
|
|
tHELPSTRINGCONTEXT = 324,
|
|
tHELPSTRINGDLL = 325,
|
|
tHIDDEN = 326,
|
|
tHYPER = 327,
|
|
tID = 328,
|
|
tIDEMPOTENT = 329,
|
|
tIIDIS = 330,
|
|
tIMMEDIATEBIND = 331,
|
|
tIMPLICITHANDLE = 332,
|
|
tIMPORT = 333,
|
|
tIMPORTLIB = 334,
|
|
tIN = 335,
|
|
tIN_LINE = 336,
|
|
tINLINE = 337,
|
|
tINPUTSYNC = 338,
|
|
tINT = 339,
|
|
tINT64 = 340,
|
|
tINTERFACE = 341,
|
|
tLCID = 342,
|
|
tLENGTHIS = 343,
|
|
tLIBRARY = 344,
|
|
tLOCAL = 345,
|
|
tLONG = 346,
|
|
tMETHODS = 347,
|
|
tMODULE = 348,
|
|
tNONBROWSABLE = 349,
|
|
tNONCREATABLE = 350,
|
|
tNONEXTENSIBLE = 351,
|
|
tNULL = 352,
|
|
tOBJECT = 353,
|
|
tODL = 354,
|
|
tOLEAUTOMATION = 355,
|
|
tOPTIONAL = 356,
|
|
tOUT = 357,
|
|
tPASCAL = 358,
|
|
tPOINTERDEFAULT = 359,
|
|
tPROPERTIES = 360,
|
|
tPROPGET = 361,
|
|
tPROPPUT = 362,
|
|
tPROPPUTREF = 363,
|
|
tPTR = 364,
|
|
tPUBLIC = 365,
|
|
tRANGE = 366,
|
|
tREADONLY = 367,
|
|
tREF = 368,
|
|
tREGISTER = 369,
|
|
tREQUESTEDIT = 370,
|
|
tRESTRICTED = 371,
|
|
tRETVAL = 372,
|
|
tSAFEARRAY = 373,
|
|
tSHORT = 374,
|
|
tSIGNED = 375,
|
|
tSIZEIS = 376,
|
|
tSIZEOF = 377,
|
|
tSMALL = 378,
|
|
tSOURCE = 379,
|
|
tSTATIC = 380,
|
|
tSTDCALL = 381,
|
|
tSTRICTCONTEXTHANDLE = 382,
|
|
tSTRING = 383,
|
|
tSTRUCT = 384,
|
|
tSWITCH = 385,
|
|
tSWITCHIS = 386,
|
|
tSWITCHTYPE = 387,
|
|
tTRANSMITAS = 388,
|
|
tTRUE = 389,
|
|
tTYPEDEF = 390,
|
|
tUNION = 391,
|
|
tUNIQUE = 392,
|
|
tUNSIGNED = 393,
|
|
tUUID = 394,
|
|
tV1ENUM = 395,
|
|
tVARARG = 396,
|
|
tVERSION = 397,
|
|
tVOID = 398,
|
|
tWCHAR = 399,
|
|
tWIREMARSHAL = 400,
|
|
ADDRESSOF = 401,
|
|
NEG = 402,
|
|
POS = 403,
|
|
PPTR = 404,
|
|
CAST = 405
|
|
};
|
|
#endif
|
|
|
|
|
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
|
typedef union YYSTYPE
|
|
{
|
|
|
|
/* Line 1676 of yacc.c */
|
|
#line 156 "parser.y"
|
|
|
|
attr_t *attr;
|
|
attr_list_t *attr_list;
|
|
str_list_t *str_list;
|
|
expr_t *expr;
|
|
expr_list_t *expr_list;
|
|
array_dims_t *array_dims;
|
|
type_t *type;
|
|
var_t *var;
|
|
var_list_t *var_list;
|
|
declarator_t *declarator;
|
|
declarator_list_t *declarator_list;
|
|
func_t *func;
|
|
func_list_t *func_list;
|
|
statement_t *statement;
|
|
statement_list_t *stmt_list;
|
|
ifref_t *ifref;
|
|
ifref_list_t *ifref_list;
|
|
char *str;
|
|
UUID *uuid;
|
|
unsigned int num;
|
|
double dbl;
|
|
interface_info_t ifinfo;
|
|
typelib_t *typelib;
|
|
struct _import_t *import;
|
|
struct _decl_spec_t *declspec;
|
|
enum storage_class stgclass;
|
|
|
|
|
|
|
|
/* Line 1676 of yacc.c */
|
|
#line 233 "parser.tab.h"
|
|
} YYSTYPE;
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
#endif
|
|
|
|
extern YYSTYPE parser_lval;
|
|
|
|
|