Don't use pointer to freed memory. Modified: trunk/reactos/tools/widl/ChangeLog Modified: trunk/reactos/tools/widl/parser.y Modified: trunk/reactos/tools/widl/y.tab.c Modified: trunk/reactos/tools/widl/y.tab.h _____
Modified: trunk/reactos/tools/widl/ChangeLog --- trunk/reactos/tools/widl/ChangeLog 2005-04-18 21:34:11 UTC (rev 14683) +++ trunk/reactos/tools/widl/ChangeLog 2005-04-18 21:50:08 UTC (rev 14684) @@ -1,5 +1,11 @@
ChangeLog
+2005-04-18 navaraf + + tools/widl/parser.y + +Don't use pointer to freed memory. + 2005-04-17 ekohl
tools/widl/server.c _____
Modified: trunk/reactos/tools/widl/parser.y --- trunk/reactos/tools/widl/parser.y 2005-04-18 21:34:11 UTC (rev 14683) +++ trunk/reactos/tools/widl/parser.y 2005-04-18 21:50:08 UTC (rev 14684) @@ -726,7 +726,6 @@
structdef: tSTRUCT t_ident '{' fields '}' { $$ = get_typev(RPC_FC_STRUCT, $2, tsSTRUCT); /* overwrite RPC_FC_STRUCT with a more exact type */ $$->type = get_struct_type( $4 ); - $$->name = $2->name; $$->fields = $4; $$->defined = TRUE; if(in_typelib) _____
Modified: trunk/reactos/tools/widl/y.tab.c --- trunk/reactos/tools/widl/y.tab.c 2005-04-18 21:34:11 UTC (rev 14683) +++ trunk/reactos/tools/widl/y.tab.c 2005-04-18 21:50:08 UTC (rev 14684) @@ -1,3256 +1,3968 @@
- -/* A Bison parser, made from parser.y - by GNU Bison version 1.28 */ - -#define YYBISON 1 /* Identify Bison output. */ - -#define aIDENTIFIER 257 -#define aKNOWNTYPE 258 -#define aNUM 259 -#define aHEXNUM 260 -#define aSTRING 261 -#define aUUID 262 -#define aEOF 263 -#define SHL 264 -#define SHR 265 -#define tAGGREGATABLE 266 -#define tALLOCATE 267 -#define tAPPOBJECT 268 -#define tARRAYS 269 -#define tASYNC 270 -#define tASYNCUUID 271 -#define tAUTOHANDLE 272 -#define tBINDABLE 273 -#define tBOOLEAN 274 -#define tBROADCAST 275 -#define tBYTE 276 -#define tBYTECOUNT 277 -#define tCALLAS 278 -#define tCALLBACK 279 -#define tCASE 280 -#define tCDECL 281 -#define tCHAR 282 -#define tCOCLASS 283 -#define tCODE 284 -#define tCOMMSTATUS 285 -#define tCONST 286 -#define tCONTEXTHANDLE 287 -#define tCONTEXTHANDLENOSERIALIZE 288 -#define tCONTEXTHANDLESERIALIZE 289 -#define tCONTROL 290 -#define tCPPQUOTE 291 -#define tDEFAULT 292 -#define tDEFAULTVALUE 293 -#define tDISPINTERFACE 294 -#define tDLLNAME 295 -#define tDOUBLE 296 -#define tDUAL 297 -#define tENDPOINT 298 -#define tENTRY 299 -#define tENUM 300 -#define tERRORSTATUST 301 -#define tEXPLICITHANDLE 302 -#define tEXTERN 303 -#define tFLOAT 304 -#define tHANDLE 305 -#define tHANDLET 306 -#define tHELPCONTEXT 307 -#define tHELPFILE 308 -#define tHELPSTRING 309 -#define tHELPSTRINGCONTEXT 310 -#define tHELPSTRINGDLL 311 -#define tHIDDEN 312 -#define tHYPER 313 -#define tID 314 -#define tIDEMPOTENT 315 -#define tIIDIS 316 -#define tIMPLICITHANDLE 317 -#define tIMPORT 318 -#define tIMPORTLIB 319 -#define tIN 320 -#define tINCLUDE 321 -#define tINLINE 322 -#define tINPUTSYNC 323 -#define tINT 324 -#define tINT64 325 -#define tINTERFACE 326 -#define tLENGTHIS 327 -#define tLIBRARY 328 -#define tLOCAL 329 -#define tLONG 330 -#define tMETHODS 331 -#define tMODULE 332 -#define tNONCREATABLE 333 -#define tOBJECT 334 -#define tODL 335 -#define tOLEAUTOMATION 336 -#define tOPTIONAL 337 -#define tOUT 338 -#define tPOINTERDEFAULT 339 -#define tPROPERTIES 340 -#define tPROPGET 341 -#define tPROPPUT 342 -#define tPROPPUTREF 343 -#define tPTR 344 -#define tPUBLIC 345 -#define tREADONLY 346 -#define tREF 347 -#define tRESTRICTED 348 -#define tRETVAL 349 -#define tSHORT 350 -#define tSIGNED 351 -#define tSIZEIS 352 -#define tSIZEOF 353 -#define tSMALL 354 -#define tSOURCE 355 -#define tSTDCALL 356 -#define tSTRING 357 -#define tSTRUCT 358 -#define tSWITCH 359 -#define tSWITCHIS 360 -#define tSWITCHTYPE 361 -#define tTRANSMITAS 362 -#define tTYPEDEF 363 -#define tUNION 364 -#define tUNIQUE 365 -#define tUNSIGNED 366 -#define tUUID 367 -#define tV1ENUM 368 -#define tVARARG 369 -#define tVERSION 370 -#define tVOID 371 -#define tWCHAR 372 -#define tWIREMARSHAL 373 -#define tPOINTERTYPE 374 -#define COND 375 -#define CAST 376 -#define PPTR 377 -#define NEG 378 - -#line 1 "parser.y" - -/* - * IDL Compiler - * - * Copyright 2002 Ove Kaaven - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "config.h" - -#include <stdio.h> -#include <stdlib.h> -#include <stdarg.h> -#include <assert.h> -#include <ctype.h> -#include <string.h> -#ifdef HAVE_ALLOCA_H -#include <alloca.h> -#endif - -#include "widl.h" -#include "utils.h" -#include "parser.h" -#include "header.h" -#include "typelib.h" - -#if defined(YYBYACC) - /* Berkeley yacc (byacc) doesn't seem to know about these */ - /* Some *BSD supplied versions do define these though */ -# ifndef YYEMPTY -# define YYEMPTY (-1) /* Empty lookahead value of yychar */ -# endif -# ifndef YYLEX -# define YYLEX yylex() -# endif - -#elif defined(YYBISON) - /* Bison was used for original development */ - /* #define YYEMPTY -2 */ - /* #define YYLEX yylex() */ - -#else - /* No yacc we know yet */ -# if !defined(YYEMPTY) || !defined(YYLEX) -# error Yacc version/type unknown. This version needs to be verified for settings of YYEMPTY and YYLEX. -# elif defined(__GNUC__) /* gcc defines the #warning directive */ -# warning Yacc version/type unknown. It defines YYEMPTY and YYLEX, but is not tested - /* #else we just take a chance that it works... */ -# endif -#endif - -static attr_t *make_attr(enum attr_type type); -static attr_t *make_attrv(enum attr_type type, unsigned long val); -static attr_t *make_attrp(enum attr_type type, void *val); -static expr_t *make_expr(enum expr_type type); -static expr_t *make_exprl(enum expr_type type, long val); -static expr_t *make_exprs(enum expr_type type, char *val); -static expr_t *make_exprt(enum expr_type type, typeref_t *tref, expr_t *expr); -static expr_t *make_expr1(enum expr_type type, expr_t *expr); -static expr_t *make_expr2(enum expr_type type, expr_t *exp1, expr_t *exp2); -static expr_t *make_expr3(enum expr_type type, expr_t *expr1, expr_t *expr2, expr_t *expr3); -static type_t *make_type(unsigned char type, type_t *ref); -static typeref_t *make_tref(char *name, type_t *ref); -static typeref_t *uniq_tref(typeref_t *ref); -static type_t *type_ref(typeref_t *ref); -static void set_type(var_t *v, typeref_t *ref, expr_t *arr); -static ifref_t *make_ifref(type_t *iface); -static var_t *make_var(char *name); -static func_t *make_func(var_t *def, var_t *args); -static class_t *make_class(char *name); - -static type_t *reg_type(type_t *type, char *name, int t); -static type_t *reg_types(type_t *type, var_t *names, int t); -static type_t *find_type(char *name, int t); -static type_t *find_type2(char *name, int t); -static type_t *get_type(unsigned char type, char *name, int t); -static type_t *get_typev(unsigned char type, var_t *name, int t); -static int get_struct_type(var_t *fields); - -static var_t *reg_const(var_t *var); -static var_t *find_const(char *name, int f); - -#define tsENUM 1 -#define tsSTRUCT 2 -#define tsUNION 3 - -static type_t std_bool = { "boolean" }; -static type_t std_int = { "int" }; -static type_t std_int64 = { "__int64" }; -static type_t std_uhyper = { "MIDL_uhyper" }; - - -#line 106 "parser.y" -typedef union { - attr_t *attr; - expr_t *expr; - type_t *type; - typeref_t *tref; - var_t *var; - func_t *func; - ifref_t *ifref; - class_t *clas; - char *str; - UUID *uuid; - unsigned int num; -} YYSTYPE; -#include <stdio.h> - -#ifndef __cplusplus -#ifndef __STDC__ -#define const -#endif -#endif - - - -#define YYFINAL 462 -#define YYFLAG -32768 -#define YYNTBASE 144 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 378 ? yytranslate[x] : 216) - -static const short yytranslate[] = { 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 124, 2, 134, - 135, 127, 126, 121, 125, 143, 128, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 140, 133, 2, - 141, 2, 142, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 138, 2, 139, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 136, 123, 137, 129, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 1, 3, 4, 5, 6, - 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, - 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, - 117, 118, 119, 120, 122, 130, 131, 132 -}; - -#if YYDEBUG != 0 -static const short yyprhs[] = { 0, - 0, 2, 3, 6, 9, 12, 15, 18, 21, 22, - 25, 28, 31, 34, 37, 38, 42, 45, 47, 50, - 52, 55, 58, 60, 63, 66, 69, 74, 78, 82, - 85, 89, 93, 94, 96, 98, 100, 104, 106, 111, - 115, 122, 128, 129, 133, 137, 139, 143, 148, 149, - 151, 155, 157, 161, 166, 168, 170, 175, 180, 182, - 184, 186, 188, 190, 195, 200, 205, 207, 212, 217, - 222, 224, 226, 231, 236, 241, 246, 251, 253, 258, - 260, 265, 271, 273, 275, 280, 282, 284, 286, 288, - 290, 292, 294, 299, 301, 303, 305, 307, 309, 311, - 313, 315, 317, 322, 324, 326, 331, 336, 341, 343, - 348, 350, 352, 357, 362, 364, 365, 367, 368, 371, - 376, 380, 386, 387, 390, 392, 394, 398, 402, 404, - 410, 412, 416, 417, 419, 421, 423, 425, 431, 435, - 439, 443, 447, 451, 455, 459, 463, 466, 469, 472, - 477, 482, 486, 488, 492, 494, 499, 500, 503, 506, - 510, 513, 515, 520, 528, 529, 531, 532, 534, 536, - 538, 540, 542, 544, 546, 548, 550, 552, 555, 558, - 560, 562, 564, 566, 568, 570, 571, 573, 575, 578, - 581, 584, 587, 589, 591, 594, 597, 600, 605, 606, - 609, 612, 615, 618, 621, 624, 628, 631, 635, 641, - 642, 645, 648, 651, 654, 660, 668, 670, 673, 676, - 679, 682, 685, 690, 693, 696, 698, 700, 704, 706, - 710, 712, 714, 720, 722, 724, 726, 729, 731, 734, - 736, 739, 741, 744, 749, 755, 766, 768 -}; - -static const short yyrhs[] = { 145, - 0, 0, 145, 203, 0, 145, 202, 0, 145, 191, - 0, 145, 206, 0, 145, 154, 0, 145, 148, 0, - 0, 146, 203, 0, 146, 202, 0, 146, 191, 0, - 146, 206, 0, 146, 148, 0, 0, 147, 182, 133, - 0, 147, 148, 0, 133, 0, 168, 133, 0, 149, - 0, 172, 133, 0, 178, 133, 0, 151, 0, 211, - 133, 0, 213, 133, 0, 214, 133, 0, 37, 134, - 7, 135, 0, 64, 7, 133, 0, 150, 146, 9, - 0, 74, 3, 0, 162, 152, 136, 0, 153, 146, - 137, 0, 0, 157, 0, 117, 0, 158, 0, 157, - 121, 158, 0, 156, 0, 162, 212, 208, 159, 0, - 212, 208, 159, 0, 162, 212, 208, 134, 155, 135, - 0, 212, 208, 134, 155, 135, 0, 0, 138, 160, - 139, 0, 138, 127, 139, 0, 174, 0, 160, 121, - 175, 0, 160, 139, 138, 175, 0, 0, 162, 0, - 138, 163, 139, 0, 164, 0, 163, 121, 164, 0, - 163, 139, 138, 164, 0, 16, 0, 18, 0, 24, - 134, 185, 135, 0, 26, 134, 176, 135, 0, 33, - 0, 34, 0, 35, 0, 36, 0, 38, 0, 39, - 134, 177, 135, 0, 39, 134, 7, 135, 0, 41, - 134, 7, 135, 0, 43, 0, 44, 134, 7, 135, - 0, 45, 134, 7, 135, 0, 45, 134, 177, 135, - 0, 48, 0, 51, 0, 53, 134, 177, 135, 0, - 54, 134, 7, 135, 0, 55, 134, 7, 135, 0, - 56, 134, 177, 135, 0, 57, 134, 7, 135, 0, - 58, 0, 60, 134, 177, 135, 0, 61, 0, 62, - 134, 185, 135, 0, 63, 134, 52, 3, 135, 0, - 66, 0, 69, 0, 73, 134, 173, 135, 0, 75, - 0, 79, 0, 80, 0, 81, 0, 82, 0, 83, - 0, 84, 0, 85, 134, 210, 135, 0, 87, 0, - 88, 0, 89, 0, 90, 0, 91, 0, 92, 0, - 93, 0, 94, 0, 95, 0, 98, 134, 173, 135, - 0, 101, 0, 103, 0, 106, 134, 175, 135, 0, - 107, 134, 212, 135, 0, 108, 134, 212, 135, 0, - 111, 0, 113, 134, 8, 135, 0, 114, 0, 115, - 0, 116, 134, 215, 135, 0, 119, 134, 212, 135, - 0, 210, 0, 0, 102, 0, 0, 166, 167, 0, - 26, 175, 140, 180, 0, 38, 140, 180, 0, 32, - 212, 185, 141, 177, 0, 0, 170, 121, 0, 170, - 0, 171, 0, 170, 121, 171, 0, 185, 141, 177, - 0, 185, 0, 46, 184, 136, 169, 137, 0, 174, - 0, 173, 121, 174, 0, 0, 175, 0, 5, 0, - 6, 0, 3, 0, 175, 142, 175, 140, 175, 0, - 175, 123, 175, 0, 175, 124, 175, 0, 175, 126, - 175, 0, 175, 125, 175, 0, 175, 127, 175, 0, - 175, 128, 175, 0, 175, 10, 175, 0, 175, 11, - 175, 0, 129, 175, 0, 125, 175, 0, 127, 175, - 0, 134, 212, 135, 175, 0, 99, 134, 212, 135, - 0, 134, 175, 135, 0, 177, 0, 176, 121, 177, - 0, 175, 0, 49, 32, 212, 185, 0, 0, 179, - 180, 0, 181, 133, 0, 161, 214, 133, 0, 162, - 133, 0, 133, 0, 161, 212, 208, 159, 0, 161, - 212, 165, 208, 134, 155, 135, 0, 0, 185, 0, - 0, 3, 0, 4, 0, 3, 0, 4, 0, 60, - 0, 95, 0, 116, 0, 22, 0, 118, 0, 188, - 0, 97, 188, 0, 112, 188, 0, 112, 0, 50, - 0, 42, 0, 20, 0, 47, 0, 52, 0, 0, - 70, 0, 70, 0, 100, 187, 0, 96, 187, 0, - 76, 187, 0, 59, 187, 0, 71, 0, 28, 0, - 29, 3, 0, 29, 4, 0, 162, 189, 0, 190, - 136, 192, 137, 0, 0, 192, 193, 0, 161, 203, - 0, 40, 3, 0, 40, 4, 0, 162, 194, 0, - 86, 140, 0, 196, 181, 133, 0, 77, 140, 0, - 197, 182, 133, 0, 195, 136, 196, 197, 137, 0, - 0, 140, 4, 0, 72, 3, 0, 72, 4, 0, - 162, 200, 0, 201, 199, 136, 147, 137, 0, 201, - 140, 3, 136, 151, 147, 137, 0, 198, 0, 200, - 133, 0, 194, 133, 0, 78, 3, 0, 78, 4, - 0, 162, 204, 0, 205, 136, 147, 137, 0, 127, - 208, 0, 32, 207, 0, 185, 0, 207, 0, 134, - 208, 135, 0, 208, 0, 209, 121, 208, 0, 93, - 0, 111, 0, 104, 184, 136, 179, 137, 0, 117, - 0, 4, 0, 186, 0, 32, 212, 0, 172, 0, - 46, 3, 0, 211, 0, 104, 3, 0, 214, 0, - 110, 3, 0, 109, 161, 212, 209, 0, 110, 184, - 136, 179, 137, 0, 110, 184, 105, 134, 181, 135, - 183, 136, 166, 137, 0, 5, 0, 5, 143, 5, - 0 -}; - -#endif - -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 227, 230, 231, 232, 233, 234, 235, 236, 239, 240, - 241, 242, 243, 244, 247, 248, 249, 252, 253, 254, - 255, 256, 257, 258, 259, 260, 263, 265, 268, 271, - 273, 275, 278, 279, 282, 285, 286, 287, 291, 295, - 298, 304, 311, 312, 313, 316, 317, 318, 321, 322, - 325, 329, 330, 331, 334, 336, 337, 338, 339, 340, - 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, - 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, - 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, - 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, - 391, 392, 393, 394, 395, 398, 399, 402, 403, 408, - 412, 418, 425, 426, 427, 430, 431, 437, 442, 448, - 456, 457, 470, 471, 474, 475, 476, 477, 478, 479, - 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, - 490, 491, 494, 495, 498, 504, 509, 510, 515, 516, - 517, 518, 521, 524, 535, 536, 539, 540, 541, 544, - 546, 547, 548, 549, 552, 553, 554, 555, 556, 568, - 570, 571, 572, 573, 574, 577, 578, 581, 582, 583, - 584, 585, 586, 587, 590, 591, 594, 601, 606, 607, - 610, 614, 615, 618, 630, 631, 634, 635, 638, 653, - 654, 657, 658, 661, 669, 677, 684, 687, 689, 692, - 693, 696, 701, 707, 708, 711, 712, 713, 716, 718, - 721, 723, 726, 737, 738, 739, 740, 741, 742, 743, - 744, 745, 746, 749, 762, 766, 779, 781 -}; -#endif - - -#if YYDEBUG != 0 || defined (YYERROR_VERBOSE) - -static const char * const yytname[] = { "$","error","$undefined.","aIDENTIFIER", -"aKNOWNTYPE","aNUM","aHEXNUM","aSTRING","aUUID","aEOF","SHL","SHR","tAG GREGATABLE", -"tALLOCATE","tAPPOBJECT","tARRAYS","tASYNC","tASYNCUUID","tAUTOHANDLE", "tBINDABLE", -"tBOOLEAN","tBROADCAST","tBYTE","tBYTECOUNT","tCALLAS","tCALLBACK","tCA SE","tCDECL", -"tCHAR","tCOCLASS","tCODE","tCOMMSTATUS","tCONST","tCONTEXTHANDLE","tCO NTEXTHANDLENOSERIALIZE", -"tCONTEXTHANDLESERIALIZE","tCONTROL","tCPPQUOTE","tDEFAULT","tDEFAULTVA LUE", -"tDISPINTERFACE","tDLLNAME","tDOUBLE","tDUAL","tENDPOINT","tENTRY","tEN UM","tERRORSTATUST", -"tEXPLICITHANDLE","tEXTERN","tFLOAT","tHANDLE","tHANDLET","tHELPCONTEXT ","tHELPFILE", -"tHELPSTRING","tHELPSTRINGCONTEXT","tHELPSTRINGDLL","tHIDDEN","tHYPER", "tID", -"tIDEMPOTENT","tIIDIS","tIMPLICITHANDLE","tIMPORT","tIMPORTLIB","tIN"," tINCLUDE", -"tINLINE","tINPUTSYNC","tINT","tINT64","tINTERFACE","tLENGTHIS","tLIBRA RY","tLOCAL", -"tLONG","tMETHODS","tMODULE","tNONCREATABLE","tOBJECT","tODL","tOLEAUTO MATION", -"tOPTIONAL","tOUT","tPOINTERDEFAULT","tPROPERTIES","tPROPGET","tPROPPUT ","tPROPPUTREF", -"tPTR","tPUBLIC","tREADONLY","tREF","tRESTRICTED","tRETVAL","tSHORT","t SIGNED", -"tSIZEIS","tSIZEOF","tSMALL","tSOURCE","tSTDCALL","tSTRING","tSTRUCT"," tSWITCH", -"tSWITCHIS","tSWITCHTYPE","tTRANSMITAS","tTYPEDEF","tUNION","tUNIQUE"," tUNSIGNED", -"tUUID","tV1ENUM","tVARARG","tVERSION","tVOID","tWCHAR","tWIREMARSHAL", "tPOINTERTYPE", -"','","COND","'|'","'&'","'-'","'+'","'*'","'/'","'~'","CAST","PPTR","N EG","';'", -"'('","')'","'{'","'}'","'['","']'","':'","'='","'?'","'.'","input","gb l_statements", -"imp_statements","int_statements","statement","cppquote","import_start" ,"import", -"libraryhdr","library_start","librarydef","m_args","no_args","args","ar g","array", -"array_list","m_attributes","attributes","attrib_list","attribute","cal lconv", -"cases","case","constdef","enums","enum_list","enum","enumdef","m_exprs ","m_expr", -"expr","expr_list_const","expr_const","externdef","fields","field","s_f ield", -"funcdef","m_ident","t_ident","ident","base_type","m_int","int_std","co class", -"coclasshdr","coclassdef","coclass_ints","coclass_int","dispinterface", "dispinterfacehdr", -"dispint_props","dispint_meths","dispinterfacedef","inherit","interface ","interfacehdr", -"interfacedef","interfacedec","module","modulehdr","moduledef","p_ident ","pident", -"pident_list","pointer_type","structdef","type","typedef","uniondef","v ersion", NULL -}; -#endif - -static const short yyr1[] = { 0, - 144, 145, 145, 145, 145, 145, 145, 145, 146, 146, - 146, 146, 146, 146, 147, 147, 147, 148, 148, 148, - 148, 148, 148, 148, 148, 148, 149, 150, 151, 152, - 153, 154, 155, 155, 156, 157, 157, 157, 158, 158, - 158, 158, 159, 159, 159, 160, 160, 160, 161, 161, - 162, 163, 163, 163, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 165, 165, 166, 166, 167, - 167, 168, 169, 169, 169, 170, 170, 171, 171, 172, - 173, 173, 174, 174, 175, 175, 175, 175, 175, 175, - 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, - 175, 175, 176, 176, 177, 178, 179, 179, 180, 180, - 180, 180, 181, 182, 183, 183, 184, 184, 184, 185, - 185, 185, 185, 185, 186, 186, 186, 186, 186, 186, - 186, 186, 186, 186, 186, 187, 187, 188, 188, 188, - 188, 188, 188, 188, 189, 189, 190, 191, 192, 192, - 193, 194, 194, 195, 196, 196, 197, 197, 198, 199, - 199, 200, 200, 201, 202, 202, 202, 203, 203, 204, - 204, 205, 206, 207, 207, 208, 208, 208, 209, 209, - 210, 210, 211, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 213, 214, 214, 215, 215 -}; - -static const short yyr2[] = { 0, - 1, 0, 2, 2, 2, 2, 2, 2, 0, 2, - 2, 2, 2, 2, 0, 3, 2, 1, 2, 1, - 2, 2, 1, 2, 2, 2, 4, 3, 3, 2, - 3, 3, 0, 1, 1, 1, 3, 1, 4, 3, - 6, 5, 0, 3, 3, 1, 3, 4, 0, 1, - 3, 1, 3, 4, 1, 1, 4, 4, 1, 1, - 1, 1, 1, 4, 4, 4, 1, 4, 4, 4, - 1, 1, 4, 4, 4, 4, 4, 1, 4, 1, - 4, 5, 1, 1, 4, 1, 1, 1, 1, 1, - 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 4, 1, 1, 4, 4, 4, 1, 4, - 1, 1, 4, 4, 1, 0, 1, 0, 2, 4, - 3, 5, 0, 2, 1, 1, 3, 3, 1, 5, - 1, 3, 0, 1, 1, 1, 1, 5, 3, 3, - 3, 3, 3, 3, 3, 3, 2, 2, 2, 4, - 4, 3, 1, 3, 1, 4, 0, 2, 2, 3, - 2, 1, 4, 7, 0, 1, 0, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, - 1, 1, 1, 1, 1, 0, 1, 1, 2, 2, - 2, 2, 1, 1, 2, 2, 2, 4, 0, 2, - 2, 2, 2, 2, 2, 3, 2, 3, 5, 0, - 2, 2, 2, 2, 5, 7, 1, 2, 2, 2, - 2, 2, 4, 2, 2, 1, 1, 3, 1, 3, - 1, 1, 5, 1, 1, 1, 2, 1, 2, 1, - 2, 1, 2, 4, 5, 10, 1, 3 -}; - -static const short yydefact[] = { 2, - 1, 0, 0, 0, 167, 0, 0, 0, 167, 49, - 167, 18, 0, 8, 20, 9, 23, 9, 7, 0, - 0, 0, 0, 0, 5, 0, 0, 217, 0, 210, - 4, 3, 0, 6, 0, 0, 0, 235, 183, 175, - 194, 0, 182, 167, 184, 181, 185, 186, 188, 193, - 186, 186, 0, 186, 167, 167, 180, 234, 176, 238, - 236, 177, 240, 0, 242, 0, 202, 203, 168, 169, - 0, 0, 0, 212, 213, 0, 0, 50, 0, 55, - 56, 0, 0, 59, 60, 61, 62, 63, 0, 0, - 67, 0, 0, 71, 72, 0, 0, 0, 0, 0, - 78, 0, 80, 0, 0, 83, 84, 0, 86, 87, - 88, 89, 90, 91, 92, 0, 94, 95, 96, 97, - 98, 99, 100, 101, 102, 0, 104, 105, 0, 0, - 0, 109, 0, 111, 112, 0, 0, 0, 52, 115, - 0, 0, 0, 0, 0, 0, 197, 204, 214, 222, - 19, 21, 22, 199, 219, 0, 218, 0, 0, 15, - 24, 25, 26, 237, 239, 187, 192, 191, 190, 178, - 189, 241, 243, 179, 170, 171, 172, 173, 174, 0, - 0, 123, 0, 28, 157, 0, 0, 157, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 133, 0, 133, 0, 0, 0, 0, 0, - 0, 0, 51, 29, 14, 0, 12, 11, 10, 13, - 32, 195, 196, 30, 220, 221, 31, 49, 0, 49, - 0, 211, 15, 49, 0, 27, 0, 125, 126, 129, - 156, 49, 0, 0, 0, 226, 227, 229, 244, 49, - 49, 0, 137, 135, 136, 0, 0, 0, 0, 0, - 155, 0, 153, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 131, 134, - 231, 232, 0, 0, 0, 0, 0, 0, 247, 0, - 0, 53, 0, 198, 0, 200, 205, 0, 0, 0, - 49, 0, 49, 223, 17, 0, 0, 122, 130, 124, - 0, 162, 233, 0, 50, 158, 0, 225, 224, 0, - 0, 0, 245, 57, 0, 148, 149, 147, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 58, 65, 64, 66, 68, 69, 70, 73, 74, 75, - 76, 77, 79, 81, 0, 133, 85, 93, 103, 106, - 107, 108, 110, 0, 113, 114, 54, 201, 207, 0, - 206, 209, 0, 15, 215, 116, 16, 127, 128, 242, - 161, 159, 228, 230, 165, 0, 152, 0, 145, 146, - 139, 140, 142, 141, 143, 144, 0, 154, 82, 132, - 248, 43, 208, 49, 117, 0, 160, 0, 166, 151, - 150, 0, 133, 163, 216, 0, 118, 138, 0, 0, - 46, 33, 0, 45, 0, 44, 234, 0, 38, 34, - 36, 0, 0, 0, 0, 246, 119, 47, 0, 164, - 0, 0, 43, 0, 49, 48, 37, 43, 33, 40, - 49, 121, 33, 39, 0, 120, 0, 42, 41, 0, - 0, 0 -}; - -static const short yydefgoto[] = { 460, - 1, 141, 234, 305, 15, 16, 17, 146, 18, 19, - 428, 429, 430, 431, 414, 420, 306, 78, 138, 139, - 406, 423, 437, 21, 237, 238, 239, 60, 278, 279, - 261, 262, 263, 23, 242, 316, 317, 307, 408, 71, - 246, 61, 167, 62, 147, 24, 217, 228, 296, 26, - 27, 230, 301, 28, 159, 29, 30, 218, 219, 150, - 33, 220, 247, 248, 249, 140, 63, 433, 36, 65, - 290 -}; - -static const short yypact[] = {-32768, - 514, 533, -109, 177, 188, 15, 30, 207, 188, -79, - 188,-32768, 742,-32768,-32768,-32768,-32768,-32768,-32768, 24, - -83, -54, -36, -20,-32768, -27, -5,-32768, -11, 2, --32768,-32768, 17,-32768, 6, 42, 60,-32768,-32768,-32768, --32768, 533,-32768, 215,-32768,-32768,-32768, 54,-32768,-32768, - 54, 54, 29, 54, 265, 270, 29,-32768,-32768,-32768, --32768,-32768,-32768, 299,-32768, 175,-32768,-32768,-32768,-32768, - 66, 533, 83,-32768,-32768, 91, 533,-32768, -74,-32768, --32768, 96, 98,-32768,-32768,-32768,-32768,-32768, 102, 117, --32768, 119, 126,-32768,-32768, 129, 131, 141, 145, 151, --32768, 160,-32768, 161, 162,-32768,-32768, 163,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 164,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 167,-32768,-32768, 178, 180, - 182,-32768, 184,-32768,-32768, 186, 187, -88,-32768,-32768, - 498, 595, 274, 306, 279, 189,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 225,-32768, 284, 191,-32768, --32768,-32768,-32768,-32768, 192,-32768,-32768,-32768,-32768,-32768, --32768, 192, -71,-32768,-32768,-32768,-32768,-32768,-32768, 183, - 194, 299, 299,-32768,-32768, 394, 198,-32768, 299, 220, - 106, 316, 326, 130, 220, 328, 329, 220, 330, 220, - 299, 287, 220, -45, 220, 220, 533, 533, 332, 336, - 533, 742, 204,-32768,-32768, 32,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768, 152, 203, -57, - 212,-32768,-32768, 616, 220,-32768, 213, 237,-32768, 214, --32768, -30, -9, 394, 394,-32768,-32768,-32768, 239, -79, - -10, 235,-32768,-32768,-32768, 240, 220, 220, 220, 472, - 357, -61,-32768, 241, 243, 244, 247, 254, 255, 257, - 258, 268, 269, 271, 276, 281, 372, -50,-32768, 357, --32768,-32768, 282, -46, 72, 283, 288, 289, 262, 292, - 293,-32768, 742,-32768, -14,-32768,-32768, 290, 533, 296, - 154, 358, 626,-32768,-32768, 533, 298,-32768,-32768, 299, - 220,-32768,-32768, 533, 301,-32768, 302,-32768,-32768, 297, - 394, 303,-32768,-32768, 533, 294, 294, 294, 238, 304, - 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768, 307, 220,-32768,-32768,-32768,-32768, --32768,-32768,-32768, 436,-32768,-32768,-32768,-32768,-32768, 394, --32768,-32768, 314,-32768,-32768, 353,-32768,-32768,-32768, 318, --32768,-32768,-32768,-32768, 299, 321,-32768, 220, 294, 294, - 31, 59, 35, 35, 18, 18, 260,-32768,-32768,-32768, --32768, 319,-32768, 636,-32768, 394,-32768, 322,-32768,-32768, - 294, 220, 407,-32768,-32768, 331,-32768, 357, 49, -72, --32768, 234, -16,-32768, 220, 324, -34, 325,-32768, 342, --32768, 533, 394, 220, 339,-32768,-32768, 357, 220,-32768, - 349, 394, -4, 346, -98, 357,-32768, 56, 234,-32768, - -98,-32768, 234,-32768, 333,-32768, 355,-32768,-32768, 464, - 491,-32768 -}; - -static const short yypgoto[] = {-32768, --32768, 475, -220, 8,-32768,-32768, 193,-32768,-32768,-32768, - -236,-32768,-32768, 55, -380,-32768, -8, -1,-32768, -198, --32768,-32768,-32768,-32768,-32768,-32768, 195, 5, 308, -329, - -167,-32768, -179,-32768, 309, -365, -206, 197,-32768, 21, - -63,-32768, 63, 171,-32768,-32768, 500,-32768,-32768, -13, --32768,-32768,-32768,-32768,-32768, -12,-32768, 501, 4,-32768, --32768, 502, 266, -227,-32768, 311, 10, 1,-32768, 3, --32768 -}; - - -#define YYLAST 861 - - -static const short yytable[] = { 20, - 180, 77, 64, 37, 32, 22, 148, 149, 14, 434, - 35, 265, 303, 292, 269, 270, 319, 320, 273, 298, - 275, 435, 243, 300, 66, 4, 400, 331, 332, 76, - 187, 79, 212, -168, 312, 280, 73, 280, 285, 13, - 331, 332, 164, 322, 331, 332, 72, 281, 425, 151, - 213, 253, 143, 254, 255, 308, 41, 8, 13, 340, - 143, 188, 450, 4, -168, 282, 426, 454, 331, 332, - 356, 4, 183, 341, 356, 76, 79, 186, 152, 452, - 13, 331, 332, 421, 357, 456, -35, 48, 359, 326, - 327, 328, 329, 384, 367, 8, 153, 144, 49, 50, - -35, 145, 312, 8, 51, 155, 313, 13, 253, 145, - 254, 255, 264, 168, 169, 154, 171, 244, 240, 241, - 436, 157, 312, 166, 52, 252, 323, 13, 54, 449, - 156, 379, 253, 413, 254, 255, 268, 276, 161, 216, - 216, 158, 402, 37, 37, 22, 22, 256, 215, 215, - 35, 35, 160, 404, 334, 335, 336, 337, 338, 339, - 398, 337, 338, 389, 390, 391, 392, 393, 394, 395, - 396, 397, 339, 257, 162, 258, 339, 259, 416, 67, - 68, 181, 260, 335, 336, 337, 338, 424, 280, 453, - 69, 70, 163, 413, 333, 334, 335, 336, 337, 338, - 339, 182, 148, 149, 256, 443, 360, 286, 287, 74, - 75, 291, 455, 339, 448, 184, 457, 165, 70, 295, - 411, 299, 253, 170, 254, 255, 185, 174, 256, 189, - 257, 190, 258, 314, 259, 191, 37, 38, 22, 260, - 315, 299, 314, 35, 418, 280, 240, 331, 332, 315, - 192, 327, 193, 39, 257, 40, 258, 438, 259, 194, - 330, 41, 195, 260, 196, 42, 444, 172, 70, 331, - 332, 446, 173, 70, 197, 43, 222, 223, 198, 44, - 45, 225, 226, 46, 199, 47, 231, 232, 294, 13, - 372, 13, 48, 200, 201, 202, 203, 204, 368, 370, - 205, 175, 176, 49, 50, 37, 376, 22, 224, 51, - 229, 206, 35, 207, 370, 208, 380, 209, 256, 210, - 211, 409, 266, 235, 227, 386, 233, -168, 236, 52, - 53, 250, 267, 54, 271, 272, 274, 55, 277, 288, - 289, 293, 297, 56, 257, 57, 258, 302, 259, 309, - 427, 59, 38, 260, 311, 331, 332, 310, 177, 321, - 333, 334, 335, 336, 337, 338, 331, 332, 39, 324, - 40, 13, 387, 325, 355, 342, 41, 343, 344, 339, - 42, 345, 333, 334, 335, 336, 337, 338, 346, 347, - 43, 348, 349, 178, 44, 45, 175, 176, 46, 412, - 47, 339, 350, 351, 364, 352, 37, 48, 22, 253, - 353, 254, 255, 35, 179, 354, 358, 361, 49, 50, - 432, 7, 362, 363, 51, 243, 365, 366, 371, 369, - 377, 383, 442, 381, 382, 339, 314, 385, 388, 432, - 401, 399, 314, 315, 52, 53, 403, 432, 54, 315, - 407, 432, 55, 177, 405, 410, 413, 417, 56, 440, - 57, 439, 441, 461, 422, 58, 59, 458, 333, 334, - 335, 336, 337, 338, 253, 38, 254, 255, 445, 333, - 334, 335, 336, 337, 338, 451, 13, 339, 178, 459, - 462, 39, 142, 40, 374, 447, 251, 373, 339, 41, - 25, 31, 34, 42, 378, 256, 214, 0, 318, 179, - 0, 0, 284, 43, 283, 0, 0, 44, 45, 0, - 244, 46, 0, 47, 0, 0, 0, 245, 0, 2, - 48, 257, 0, 419, 3, 259, 38, 4, 0, 0, - 260, 49, 50, 5, 0, 2, 6, 51, 0, 0, - 3, 0, 39, 4, 40, 0, 0, 0, 0, 5, - 41, 7, 6, 0, 42, 0, 0, 52, 53, 8, - 256, 54, 0, 0, 43, 55, 0, 7, 44, 45, - 0, 56, 46, 57, 47, 8, 0, 0, 58, 59, - 0, 48, 0, 0, 0, 0, 257, 0, 258, 0, - 259, 9, 49, 50, 0, 260, 10, 11, 51, 0, - 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, - 0, 0, 10, 11, 0, 0, 2, 0, 52, 53, - 12, 3, 54, 0, 4, 13, 55, 0, 0, 0, - 5, 0, 56, 6, 57, 0, 12, 2, 0, 58, - 59, 13, 3, 0, 0, 0, 0, 2, 7, 0, - 0, 5, 3, 0, 6, 0, 8, 2, 0, 0, - 0, 5, 3, 0, 6, 0, 0, 0, 0, 7, - 0, 5, 0, 0, 6, 0, 0, 0, 0, 7, - 0, 0, 0, 0, 0, 0, 0, 0, 9, 7, - 0, 0, 0, 10, 11, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, - 0, 0, 0, 0, 10, 11, 0, 12, 0, 9, - 0, 221, 13, 0, 10, 11, 0, 0, 0, 9, - 0, 0, 0, 0, 10, 11, 0, 0, 12, 0, - 0, 0, 304, 13, 0, 0, 0, 80, 12, 81, - 0, 0, 375, 13, 0, 82, 0, 83, 12, 0, - 0, 0, 415, 13, 84, 85, 86, 87, 0, 88, - 89, 0, 90, 0, 91, 92, 93, 0, 0, 94, - 0, 0, 95, 0, 96, 97, 98, 99, 100, 101, - 0, 102, 103, 104, 105, 0, 0, 106, 0, 0, - 107, 0, 0, 0, 108, 0, 109, 0, 0, 0, - 110, 111, 112, 113, 114, 115, 116, 0, 117, 118, - 119, 120, 121, 122, 123, 124, 125, 0, 0, 126, - 0, 0, 127, 0, 128, 0, 0, 129, 130, 131, - 0, 0, 132, 0, 133, 134, 135, 136, 0, 0, - 137 -}; - -static const short yycheck[] = { 1, - 64, 10, 2, 1, 1, 1, 20, 20, 1, 26, - 1, 191, 233, 212, 194, 195, 244, 245, 198, 77, - 200, 38, 32, 230, 134, 40, 356, 10, 11, 9, - 105, 11, 121, 105, 133, 203, 7, 205, 206, 138, - 10, 11, 42, 250, 10, 11, 32, 93, 121, 133, - 139, 3, 29, 5, 6, 235, 28, 72, 138, 121, - 29, 136, 443, 40, 136, 111, 139, 448, 10, 11, - 121, 40, 72, 135, 121, 55, 56, 77, 133, 445, - 138, 10, 11, 413, 135, 451, 121, 59, 135, 257, - 258, 259, 260, 321, 293, 72, 133, 74, 70, 71, - 135, 78, 133, 72, 76, 133, 137, 138, 3, 78, - 5, 6, 7, 51, 52, 136, 54, 127, 182, 183, - 137, 133, 133, 70, 96, 189, 137, 138, 100, 134, - 136, 311, 3, 138, 5, 6, 7, 201, 133, 141, - 142, 140, 370, 141, 142, 141, 142, 99, 141, 142, - 141, 142, 136, 374, 124, 125, 126, 127, 128, 142, - 340, 127, 128, 331, 332, 333, 334, 335, 336, 337, - 338, 339, 142, 125, 133, 127, 142, 129, 406, 3, - 4, 7, 134, 125, 126, 127, 128, 139, 356, 134, - 3, 4, 133, 138, 123, 124, 125, 126, 127, 128, - 142, 136, 216, 216, 99, 433, 135, 207, 208, 3, - 4, 211, 449, 142, 442, 133, 453, 3, 4, 228, - 388, 230, 3, 53, 5, 6, 136, 57, 99, 134, - 125, 134, 127, 242, 129, 134, 234, 4, 234, 134, - 242, 250, 251, 234, 412, 413, 310, 10, 11, 251, - 134, 419, 134, 20, 125, 22, 127, 425, 129, 134, - 260, 28, 134, 134, 134, 32, 434, 3, 4, 10, - 11, 439, 3, 4, 134, 42, 3, 4, 134, 46, - 47, 3, 4, 50, 134, 52, 3, 4, 137, 138, - 137, 138, 59, 134, 134, 134, 134, 134, 295, 299, - 134, 3, 4, 70, 71, 303, 306, 303, 3, 76, - 86, 134, 303, 134, 314, 134, 314, 134, 99, 134, - 134, 385, 7, 141, 136, 325, 136, 136, 135, 96, - 97, 134, 7, 100, 7, 7, 7, 104, 52, 8, - 5, 138, 140, 110, 125, 112, 127, 136, 129, 137, - 117, 118, 4, 134, 141, 10, 11, 121, 60, 121, - 123, 124, 125, 126, 127, 128, 10, 11, 20, 135, - 22, 138, 135, 134, 3, 135, 28, 135, 135, 142, - 32, 135, 123, 124, 125, 126, 127, 128, 135, 135, - 42, 135, 135, 95, 46, 47, 3, 4, 50, 140, - 52, 142, 135, 135, 143, 135, 404, 59, 404, 3, - 135, 5, 6, 404, 116, 135, 135, 135, 70, 71, - 422, 64, 135, 135, 76, 32, 135, 135, 133, 140, - 133, 135, 432, 133, 133, 142, 445, 135, 135, 441, - 5, 135, 451, 445, 96, 97, 133, 449, 100, 451, - 133, 453, 104, 60, 102, 135, 138, 136, 110, 135, - 112, 138, 121, 0, 134, 117, 118, 135, 123, 124, - 125, 126, 127, 128, 3, 4, 5, 6, 140, 123, - 124, 125, 126, 127, 128, 140, 138, 142, 95, 135, - 0, 20, 18, 22, 302, 441, 188, 301, 142, 28, - 1, 1, 1, 32, 310, 99, 9, -1, 243, 116, - -1, -1, 205, 42, 204, -1, -1, 46, 47, -1, - 127, 50, -1, 52, -1, -1, -1, 134, -1, 32, - 59, 125, -1, 127, 37, 129, 4, 40, -1, -1, - 134, 70, 71, 46, -1, 32, 49, 76, -1, -1, - 37, -1, 20, 40, 22, -1, -1, -1, -1, 46, - 28, 64, 49, -1, 32, -1, -1, 96, 97, 72, - 99, 100, -1, -1, 42, 104, -1, 64, 46, 47, - -1, 110, 50, 112, 52, 72, -1, -1, 117, 118, - -1, 59, -1, -1, -1, -1, 125, -1, 127, -1, - 129, 104, 70, 71, -1, 134, 109, 110, 76, -1, - -1, -1, -1, -1, -1, -1, -1, 104, -1, -1, - -1, -1, 109, 110, -1, -1, 32, -1, 96, 97, - 133, 37, 100, -1, 40, 138, 104, -1, -1, -1, - 46, -1, 110, 49, 112, -1, 133, 32, -1, 117, - 118, 138, 37, -1, -1, -1, -1, 32, 64, -1, - -1, 46, 37, -1, 49, -1, 72, 32, -1, -1, - -1, 46, 37, -1, 49, -1, -1, -1, -1, 64, - -1, 46, -1, -1, 49, -1, -1, -1, -1, 64, - -1, -1, -1, -1, -1, -1, -1, -1, 104, 64, - -1, -1, -1, 109, 110, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 104, - -1, -1, -1, -1, 109, 110, -1, 133, -1, 104, - -1, 137, 138, -1, 109, 110, -1, -1, -1, 104, - -1, -1, -1, -1, 109, 110, -1, -1, 133, -1, - -1, -1, 137, 138, -1, -1, -1, 16, 133, 18, - -1, -1, 137, 138, -1, 24, -1, 26, 133, -1, - -1, -1, 137, 138, 33, 34, 35, 36, -1, 38, - 39, -1, 41, -1, 43, 44, 45, -1, -1, 48, - -1, -1, 51, -1, 53, 54, 55, 56, 57, 58, - -1, 60, 61, 62, 63, -1, -1, 66, -1, -1, - 69, -1, -1, -1, 73, -1, 75, -1, -1, -1, - 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, - 89, 90, 91, 92, 93, 94, 95, -1, -1, 98, - -1, -1, 101, -1, 103, -1, -1, 106, 107, 108, - -1, -1, 111, -1, 113, 114, 115, 116, -1, -1, - 119 -}; -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "/usr/share/bison.simple" -/* This file comes from bison-1.28. */ - -/* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990 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 2, 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, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -/* This is the parser code that is written into each bison parser - when the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ - -#ifndef YYSTACK_USE_ALLOCA -#ifdef alloca -#define YYSTACK_USE_ALLOCA -#else /* alloca not defined */ -#ifdef __GNUC__ -#define YYSTACK_USE_ALLOCA -#define alloca __builtin_alloca -#else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386)) -#define YYSTACK_USE_ALLOCA -#include <alloca.h> -#else /* not sparc */ -/* We think this test detects Watcom and Microsoft C. */ -/* This used to test MSDOS, but that is a bad idea - since that symbol is in the user namespace. */ -#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__) -#if 0 /* No need for malloc.h, which pollutes the namespace; - instead, just don't use alloca. */ -#include <malloc.h> -#endif -#else /* not MSDOS, or __TURBOC__ */ -#if defined(_AIX) -/* I don't know what this was needed for, but it pollutes the namespace. - So I turned it off. rms, 2 May 1997. */ -/* #include <malloc.h> */ - #pragma alloca -#define YYSTACK_USE_ALLOCA -#else /* not MSDOS, or __TURBOC__, or _AIX */ -#if 0 -#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up, - and on HPUX 10. Eventually we can turn this on. */ -#define YYSTACK_USE_ALLOCA -#define alloca __builtin_alloca -#endif /* __hpux */ -#endif -#endif /* not _AIX */ -#endif /* not MSDOS, or __TURBOC__ */ -#endif /* not sparc */ -#endif /* not GNU C */ -#endif /* alloca not defined */ -#endif /* YYSTACK_USE_ALLOCA not defined */ - -#ifdef YYSTACK_USE_ALLOCA -#define YYSTACK_ALLOC alloca -#else -#define YYSTACK_ALLOC malloc -#endif - -/* Note: there must be only one dollar sign in this file. - It is replaced by the list of actions, each action - as one case of the switch. */ - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 -/* Like YYERROR except do call yyerror. - This remains here temporarily to ease the - transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ -#define YYFAIL goto yyerrlab -#define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(token, value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { yychar = (token), yylval = (value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { yyerror ("syntax error: cannot back up"); YYERROR; } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - -#ifndef YYPURE -#define YYLEX yylex() -#endif - -#ifdef YYPURE -#ifdef YYLSP_NEEDED -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval, &yylloc) -#endif [truncated at 1000 lines; 6707 more skipped]