aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs8070
1 files changed, 4602 insertions, 3468 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index 6fc35d80c5..a2255fd813 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -1,167 +1,386 @@
+/* A Bison parser, made by GNU Bison 2.3. */
-/* A Bison parser, made from /Users/ggreif/llvm/lib/AsmParser/llvmAsmParser.y
- by GNU Bison version 1.28 */
+/* Skeleton implementation for Bison's Yacc-like parsers in C
-#define YYBISON 1 /* Identify Bison output. */
+ 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 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., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
+
+/* 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. */
+
+/* C LALR(1) parser skeleton written by Richard Stallman, by
+ simplifying the original so-called "semantic" parser. */
+
+/* All symbols defined below should begin with yy or YY, to avoid
+ infringing on user name space. This should be done even for local
+ variables, as they might otherwise be expanded by user macros.
+ There are some unavoidable exceptions within include files to
+ define necessary library symbols; they are noted "INFRINGES ON
+ USER NAME SPACE" below. */
+
+/* Identify Bison output. */
+#define YYBISON 1
+
+/* Bison version. */
+#define YYBISON_VERSION "2.3"
+
+/* Skeleton name. */
+#define YYSKELETON_NAME "yacc.c"
+
+/* Pure parsers. */
+#define YYPURE 0
+
+/* Using locations. */
+#define YYLSP_NEEDED 0
+
+/* Substitute the variable and function names. */
#define yyparse llvmAsmparse
-#define yylex llvmAsmlex
+#define yylex llvmAsmlex
#define yyerror llvmAsmerror
-#define yylval llvmAsmlval
-#define yychar llvmAsmchar
+#define yylval llvmAsmlval
+#define yychar llvmAsmchar
#define yydebug llvmAsmdebug
#define yynerrs llvmAsmnerrs
-#define ESINT64VAL 257
-#define EUINT64VAL 258
-#define ESAPINTVAL 259
-#define EUAPINTVAL 260
-#define LOCALVAL_ID 261
-#define GLOBALVAL_ID 262
-#define FPVAL 263
-#define VOID 264
-#define INTTYPE 265
-#define FLOAT 266
-#define DOUBLE 267
-#define X86_FP80 268
-#define FP128 269
-#define PPC_FP128 270
-#define LABEL 271
-#define TYPE 272
-#define LOCALVAR 273
-#define GLOBALVAR 274
-#define LABELSTR 275
-#define STRINGCONSTANT 276
-#define ATSTRINGCONSTANT 277
-#define PCTSTRINGCONSTANT 278
-#define ZEROINITIALIZER 279
-#define TRUETOK 280
-#define FALSETOK 281
-#define BEGINTOK 282
-#define ENDTOK 283
-#define DECLARE 284
-#define DEFINE 285
-#define GLOBAL 286
-#define CONSTANT 287
-#define SECTION 288
-#define ALIAS 289
-#define VOLATILE 290
-#define THREAD_LOCAL 291
-#define TO 292
-#define DOTDOTDOT 293
-#define NULL_TOK 294
-#define UNDEF 295
-#define INTERNAL 296
-#define LINKONCE 297
-#define WEAK 298
-#define APPENDING 299
-#define DLLIMPORT 300
-#define DLLEXPORT 301
-#define EXTERN_WEAK 302
-#define OPAQUE 303
-#define EXTERNAL 304
-#define TARGET 305
-#define TRIPLE 306
-#define ALIGN 307
-#define ADDRSPACE 308
-#define DEPLIBS 309
-#define CALL 310
-#define TAIL 311
-#define ASM_TOK 312
-#define MODULE 313
-#define SIDEEFFECT 314
-#define CC_TOK 315
-#define CCC_TOK 316
-#define FASTCC_TOK 317
-#define COLDCC_TOK 318
-#define X86_STDCALLCC_TOK 319
-#define X86_FASTCALLCC_TOK 320
-#define DATALAYOUT 321
-#define UNWINDS 322
-#define RET 323
-#define BR 324
-#define SWITCH 325
-#define INVOKE 326
-#define UNWIND 327
-#define UNREACHABLE 328
-#define ADD 329
-#define SUB 330
-#define MUL 331
-#define UDIV 332
-#define SDIV 333
-#define FDIV 334
-#define UREM 335
-#define SREM 336
-#define FREM 337
-#define AND 338
-#define OR 339
-#define XOR 340
-#define SHL 341
-#define LSHR 342
-#define ASHR 343
-#define ICMP 344
-#define FCMP 345
-#define EQ 346
-#define NE 347
-#define SLT 348
-#define SGT 349
-#define SLE 350
-#define SGE 351
-#define ULT 352
-#define UGT 353
-#define ULE 354
-#define UGE 355
-#define OEQ 356
-#define ONE 357
-#define OLT 358
-#define OGT 359
-#define OLE 360
-#define OGE 361
-#define ORD 362
-#define UNO 363
-#define UEQ 364
-#define UNE 365
-#define MALLOC 366
-#define ALLOCA 367
-#define FREE 368
-#define LOAD 369
-#define STORE 370
-#define GETELEMENTPTR 371
-#define TRUNC 372
-#define ZEXT 373
-#define SEXT 374
-#define FPTRUNC 375
-#define FPEXT 376
-#define BITCAST 377
-#define UITOFP 378
-#define SITOFP 379
-#define FPTOUI 380
-#define FPTOSI 381
-#define INTTOPTR 382
-#define PTRTOINT 383
-#define PHI_TOK 384
-#define SELECT 385
-#define VAARG 386
-#define EXTRACTELEMENT 387
-#define INSERTELEMENT 388
-#define SHUFFLEVECTOR 389
-#define GETRESULT 390
-#define SIGNEXT 391
-#define ZEROEXT 392
-#define NORETURN 393
-#define INREG 394
-#define SRET 395
-#define NOUNWIND 396
-#define NOALIAS 397
-#define BYVAL 398
-#define NEST 399
-#define READNONE 400
-#define READONLY 401
-#define GC 402
-#define DEFAULT 403
-#define HIDDEN 404
-#define PROTECTED 405
-
-#line 14 "/Users/ggreif/llvm/lib/AsmParser/llvmAsmParser.y"
+
+
+/* Tokens. */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {
+ ESINT64VAL = 258,
+ EUINT64VAL = 259,
+ ESAPINTVAL = 260,
+ EUAPINTVAL = 261,
+ LOCALVAL_ID = 262,
+ GLOBALVAL_ID = 263,
+ FPVAL = 264,
+ VOID = 265,
+ INTTYPE = 266,
+ FLOAT = 267,
+ DOUBLE = 268,
+ X86_FP80 = 269,
+ FP128 = 270,
+ PPC_FP128 = 271,
+ LABEL = 272,
+ TYPE = 273,
+ LOCALVAR = 274,
+ GLOBALVAR = 275,
+ LABELSTR = 276,
+ STRINGCONSTANT = 277,
+ ATSTRINGCONSTANT = 278,
+ PCTSTRINGCONSTANT = 279,
+ ZEROINITIALIZER = 280,
+ TRUETOK = 281,
+ FALSETOK = 282,
+ BEGINTOK = 283,
+ ENDTOK = 284,
+ DECLARE = 285,
+ DEFINE = 286,
+ GLOBAL = 287,
+ CONSTANT = 288,
+ SECTION = 289,
+ ALIAS = 290,
+ VOLATILE = 291,
+ THREAD_LOCAL = 292,
+ TO = 293,
+ DOTDOTDOT = 294,
+ NULL_TOK = 295,
+ UNDEF = 296,
+ INTERNAL = 297,
+ LINKONCE = 298,
+ WEAK = 299,
+ APPENDING = 300,
+ DLLIMPORT = 301,
+ DLLEXPORT = 302,
+ EXTERN_WEAK = 303,
+ OPAQUE = 304,
+ EXTERNAL = 305,
+ TARGET = 306,
+ TRIPLE = 307,
+ ALIGN = 308,
+ ADDRSPACE = 309,
+ DEPLIBS = 310,
+ CALL = 311,
+ TAIL = 312,
+ ASM_TOK = 313,
+ MODULE = 314,
+ SIDEEFFECT = 315,
+ CC_TOK = 316,
+ CCC_TOK = 317,
+ FASTCC_TOK = 318,
+ COLDCC_TOK = 319,
+ X86_STDCALLCC_TOK = 320,
+ X86_FASTCALLCC_TOK = 321,
+ DATALAYOUT = 322,
+ UNWINDS = 323,
+ RET = 324,
+ BR = 325,
+ SWITCH = 326,
+ INVOKE = 327,
+ UNWIND = 328,
+ UNREACHABLE = 329,
+ ADD = 330,
+ SUB = 331,
+ MUL = 332,
+ UDIV = 333,
+ SDIV = 334,
+ FDIV = 335,
+ UREM = 336,
+ SREM = 337,
+ FREM = 338,
+ AND = 339,
+ OR = 340,
+ XOR = 341,
+ SHL = 342,
+ LSHR = 343,
+ ASHR = 344,
+ ICMP = 345,
+ FCMP = 346,
+ EQ = 347,
+ NE = 348,
+ SLT = 349,
+ SGT = 350,
+ SLE = 351,
+ SGE = 352,
+ ULT = 353,
+ UGT = 354,
+ ULE = 355,
+ UGE = 356,
+ OEQ = 357,
+ ONE = 358,
+ OLT = 359,
+ OGT = 360,
+ OLE = 361,
+ OGE = 362,
+ ORD = 363,
+ UNO = 364,
+ UEQ = 365,
+ UNE = 366,
+ MALLOC = 367,
+ ALLOCA = 368,
+ FREE = 369,
+ LOAD = 370,
+ STORE = 371,
+ GETELEMENTPTR = 372,
+ TRUNC = 373,
+ ZEXT = 374,
+ SEXT = 375,
+ FPTRUNC = 376,
+ FPEXT = 377,
+ BITCAST = 378,
+ UITOFP = 379,
+ SITOFP = 380,
+ FPTOUI = 381,
+ FPTOSI = 382,
+ INTTOPTR = 383,
+ PTRTOINT = 384,
+ PHI_TOK = 385,
+ SELECT = 386,
+ VAARG = 387,
+ EXTRACTELEMENT = 388,
+ INSERTELEMENT = 389,
+ SHUFFLEVECTOR = 390,
+ GETRESULT = 391,
+ SIGNEXT = 392,
+ ZEROEXT = 393,
+ NORETURN = 394,
+ INREG = 395,
+ SRET = 396,
+ NOUNWIND = 397,
+ NOALIAS = 398,
+ BYVAL = 399,
+ NEST = 400,
+ READNONE = 401,
+ READONLY = 402,
+ GC = 403,
+ DEFAULT = 404,
+ HIDDEN = 405,
+ PROTECTED = 406
+ };
+#endif
+/* Tokens. */
+#define ESINT64VAL 258
+#define EUINT64VAL 259
+#define ESAPINTVAL 260
+#define EUAPINTVAL 261
+#define LOCALVAL_ID 262
+#define GLOBALVAL_ID 263
+#define FPVAL 264
+#define VOID 265
+#define INTTYPE 266
+#define FLOAT 267
+#define DOUBLE 268
+#define X86_FP80 269
+#define FP128 270
+#define PPC_FP128 271
+#define LABEL 272
+#define TYPE 273
+#define LOCALVAR 274
+#define GLOBALVAR 275
+#define LABELSTR 276
+#define STRINGCONSTANT 277
+#define ATSTRINGCONSTANT 278
+#define PCTSTRINGCONSTANT 279
+#define ZEROINITIALIZER 280
+#define TRUETOK 281
+#define FALSETOK 282
+#define BEGINTOK 283
+#define ENDTOK 284
+#define DECLARE 285
+#define DEFINE 286
+#define GLOBAL 287
+#define CONSTANT 288
+#define SECTION 289
+#define ALIAS 290
+#define VOLATILE 291
+#define THREAD_LOCAL 292
+#define TO 293
+#define DOTDOTDOT 294
+#define NULL_TOK 295
+#define UNDEF 296
+#define INTERNAL 297
+#define LINKONCE 298
+#define WEAK 299
+#define APPENDING 300
+#define DLLIMPORT 301
+#define DLLEXPORT 302
+#define EXTERN_WEAK 303
+#define OPAQUE 304
+#define EXTERNAL 305
+#define TARGET 306
+#define TRIPLE 307
+#define ALIGN 308
+#define ADDRSPACE 309
+#define DEPLIBS 310
+#define CALL 311
+#define TAIL 312
+#define ASM_TOK 313
+#define MODULE 314
+#define SIDEEFFECT 315
+#define CC_TOK 316
+#define CCC_TOK 317
+#define FASTCC_TOK 318
+#define COLDCC_TOK 319
+#define X86_STDCALLCC_TOK 320
+#define X86_FASTCALLCC_TOK 321
+#define DATALAYOUT 322
+#define UNWINDS 323
+#define RET 324
+#define BR 325
+#define SWITCH 326
+#define INVOKE 327
+#define UNWIND 328
+#define UNREACHABLE 329
+#define ADD 330
+#define SUB 331
+#define MUL 332
+#define UDIV 333
+#define SDIV 334
+#define FDIV 335
+#define UREM 336
+#define SREM 337
+#define FREM 338
+#define AND 339
+#define OR 340
+#define XOR 341
+#define SHL 342
+#define LSHR 343
+#define ASHR 344
+#define ICMP 345
+#define FCMP 346
+#define EQ 347
+#define NE 348
+#define SLT 349
+#define SGT 350
+#define SLE 351
+#define SGE 352
+#define ULT 353
+#define UGT 354
+#define ULE 355
+#define UGE 356
+#define OEQ 357
+#define ONE 358
+#define OLT 359
+#define OGT 360
+#define OLE 361
+#define OGE 362
+#define ORD 363
+#define UNO 364
+#define UEQ 365
+#define UNE 366
+#define MALLOC 367
+#define ALLOCA 368
+#define FREE 369
+#define LOAD 370
+#define STORE 371
+#define GETELEMENTPTR 372
+#define TRUNC 373
+#define ZEXT 374
+#define SEXT 375
+#define FPTRUNC 376
+#define FPEXT 377
+#define BITCAST 378
+#define UITOFP 379
+#define SITOFP 380
+#define FPTOUI 381
+#define FPTOSI 382
+#define INTTOPTR 383
+#define PTRTOINT 384
+#define PHI_TOK 385
+#define SELECT 386
+#define VAARG 387
+#define EXTRACTELEMENT 388
+#define INSERTELEMENT 389
+#define SHUFFLEVECTOR 390
+#define GETRESULT 391
+#define SIGNEXT 392
+#define ZEROEXT 393
+#define NORETURN 394
+#define INREG 395
+#define SRET 396
+#define NOUNWIND 397
+#define NOALIAS 398
+#define BYVAL 399
+#define NEST 400
+#define READNONE 401
+#define READONLY 402
+#define GC 403
+#define DEFAULT 404
+#define HIDDEN 405
+#define PROTECTED 406
+
+
+
+
+/* Copy the first part of user declarations. */
+#line 14 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -1097,8 +1316,29 @@ Module *llvm::RunVMAsmParser(llvm::MemoryBuffer *MB) {
}
-#line 950 "/Users/ggreif/llvm/lib/AsmParser/llvmAsmParser.y"
-typedef union {
+
+/* Enabling traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
+
+/* Enabling verbose error messages. */
+#ifdef YYERROR_VERBOSE
+# undef YYERROR_VERBOSE
+# define YYERROR_VERBOSE 1
+#else
+# define YYERROR_VERBOSE 0
+#endif
+
+/* Enabling the token table. */
+#ifndef YYTOKEN_TABLE
+# define YYTOKEN_TABLE 0
+#endif
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+#line 950 "/Users/gohman/LLVM/llvm/lib/AsmParser/llvmAsmParser.y"
+{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
llvm::BasicBlock *BasicBlockVal;
@@ -1143,1227 +1383,1913 @@ typedef union {
llvm::Instruction::OtherOps OtherOpVal;
llvm::ICmpInst::Predicate IPredicate;
llvm::FCmpInst::Predicate FPredicate;
-} YYSTYPE;
-#include <stdio.h>
+}
+/* Line 193 of yacc.c. */
+#line 1389 "llvmAsmParser.tab.c"
+ YYSTYPE;
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+
-#ifndef __cplusplus
-#ifndef __STDC__
-#define const
+
+/* Copy the second part of user declarations. */
+
+
+/* Line 216 of yacc.c. */
+#line 1402 "llvmAsmParser.tab.c"
+
+#ifdef short
+# undef short
#endif
+
+#ifdef YYTYPE_UINT8
+typedef YYTYPE_UINT8 yytype_uint8;
+#else
+typedef unsigned char yytype_uint8;
#endif
+#ifdef YYTYPE_INT8
+typedef YYTYPE_INT8 yytype_int8;
+#elif (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+typedef signed char yytype_int8;
+#else
+typedef short int yytype_int8;
+#endif
+#ifdef YYTYPE_UINT16
+typedef YYTYPE_UINT16 yytype_uint16;
+#else
+typedef unsigned short int yytype_uint16;
+#endif
-#define YYFINAL 635
-#define YYFLAG -32768
-#define YYNTBASE 166
-
-#define YYTRANSLATE(x) ((unsigned)(x) <= 405 ? yytranslate[x] : 250)
-
-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, 2, 2, 152,
- 153, 156, 2, 155, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 161,
- 154, 162, 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,
- 158, 157, 160, 2, 2, 2, 2, 2, 165, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 159,
- 2, 2, 163, 2, 164, 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, 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, 121, 122, 123, 124, 125, 126,
- 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
- 137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
- 147, 148, 149, 150, 151
-};
+#ifdef YYTYPE_INT16
+typedef YYTYPE_INT16 yytype_int16;
+#else
+typedef short int yytype_int16;
+#endif
-#if YYDEBUG != 0
-static const short yyprhs[] = { 0,
- 0, 2, 4, 6, 8, 10, 12, 14, 16, 18,
- 20, 22, 24, 26, 28, 30, 32, 34, 36, 38,
- 40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
- 60, 62, 64, 66, 68, 70, 72, 74, 76, 78,
- 80, 82, 84, 86, 88, 90, 92, 94, 96, 98,
- 100, 102, 104, 106, 108, 110, 112, 114, 116, 118,
- 120, 122, 124, 126, 127, 132, 133, 136, 137, 139,
- 141, 143, 144, 147, 149, 151, 153, 155, 157, 159,
- 161, 163, 164, 166, 168, 170, 171, 173, 175, 176,
- 178, 180, 182, 184, 185, 187, 189, 190, 192, 194,
- 196, 198, 200, 203, 205, 207, 209, 211, 213, 215,
- 217, 219, 221, 224, 225, 228, 230, 232, 234, 236,
- 238, 240, 241, 244, 245, 248, 249, 252, 253, 257,
- 260, 261, 263, 264, 268, 270, 273, 275, 277, 279,
- 281, 283, 285, 287, 289, 291, 295, 297, 300, 306,
- 312, 318, 324, 328, 331, 337, 342, 345, 347, 349,
- 351, 355, 357, 361, 363, 364, 366, 370, 375, 379,
- 383, 388, 393, 397, 404, 410, 413, 416, 419, 422,
- 425, 428, 431, 434, 437, 440, 443, 446, 453, 459,
- 468, 475, 482, 490, 498, 505, 514, 523, 527, 529,
- 531, 533, 535, 536, 539, 546, 548, 549, 551, 554,
- 555, 559, 560, 564, 568, 572, 576, 577, 586, 587,
- 597, 598, 608, 614, 617, 621, 623, 627, 631, 635,
- 639, 641, 642, 648, 652, 654, 658, 660, 661, 672,
- 674, 676, 681, 683, 685, 688, 692, 693, 695, 697,
- 699, 701, 703, 705, 707, 709, 711, 715, 717, 723,
- 725, 727, 729, 731, 733, 735, 738, 740, 744, 747,
- 750, 754, 757, 758, 762, 764, 769, 772, 775, 779,
- 789, 799, 808, 823, 825, 827, 834, 840, 843, 850,
- 858, 863, 868, 875, 882, 883, 884, 888, 891, 893,
- 899, 905, 912, 919, 924, 931, 936, 941, 948, 955,
- 958, 967, 969, 971, 972, 976, 983, 987, 994, 997,
- 1003, 1011, 1017
-};
+#ifndef YYSIZE_T
+# ifdef __SIZE_TYPE__
+# define YYSIZE_T __SIZE_TYPE__
+# elif defined size_t
+# define YYSIZE_T size_t
+# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+# define YYSIZE_T size_t
+# else
+# define YYSIZE_T unsigned int
+# endif
+#endif
-static const short yyrhs[] = { 75,
- 0, 76, 0, 77, 0, 78, 0, 79, 0, 80,
- 0, 81, 0, 82, 0, 83, 0, 87, 0, 88,
- 0, 89, 0, 84, 0, 85, 0, 86, 0, 118,
- 0, 119, 0, 120, 0, 121, 0, 122, 0, 123,
- 0, 124, 0, 125, 0, 126, 0, 127, 0, 128,
- 0, 129, 0, 92, 0, 93, 0, 94, 0, 95,
- 0, 96, 0, 97, 0, 98, 0, 99, 0, 100,
- 0, 101, 0, 102, 0, 103, 0, 104, 0, 105,
- 0, 106, 0, 107, 0, 108, 0, 109, 0, 110,
- 0, 111, 0, 98, 0, 99, 0, 100, 0, 101,
- 0, 26, 0, 27, 0, 11, 0, 12, 0, 13,
- 0, 16, 0, 15, 0, 14, 0, 19, 0, 22,
- 0, 24, 0, 173, 0, 0, 54, 152, 4, 153,
- 0, 0, 173, 154, 0, 0, 20, 0, 23, 0,
- 179, 0, 0, 177, 154, 0, 42, 0, 44, 0,
- 43, 0, 45, 0, 47, 0, 46, 0, 48, 0,
- 50, 0, 0, 149, 0, 150, 0, 151, 0, 0,
- 46, 0, 48, 0, 0, 42, 0, 43, 0, 44,
- 0, 47, 0, 0, 44, 0, 42, 0, 0, 62,
- 0, 63, 0, 64, 0, 65, 0, 66, 0, 61,
- 4, 0, 138, 0, 119, 0, 137, 0, 120, 0,
- 140, 0, 141, 0, 143, 0, 144, 0, 145, 0,
- 53, 4, 0, 0, 188, 187, 0, 139, 0, 142,
- 0, 138, 0, 137, 0, 146, 0, 147, 0, 0,
- 190, 189, 0, 0, 148, 22, 0, 0, 53, 4,
- 0, 0, 155, 53, 4, 0, 34, 22, 0, 0,
- 194, 0, 0, 155, 197, 196, 0, 194, 0, 53,
- 4, 0, 11, 0, 12, 0, 13, 0, 16, 0,
- 15, 0, 14, 0, 17, 0, 49, 0, 198, 0,
- 199, 175, 156, 0, 233, 0, 157, 4, 0, 199,
- 152, 203, 153, 190, 0, 10, 152, 203, 153, 190,
- 0, 158, 4, 159, 199, 160, 0, 161, 4, 159,
- 199, 162, 0, 163, 204, 164, 0, 163, 164, 0,
- 161, 163, 204, 164, 162, 0, 161, 163, 164, 162,
- 0, 199, 188, 0, 199, 0, 10, 0, 200, 0,
- 202, 155, 200, 0, 202, 0, 202, 155, 39, 0,
- 39, 0, 0, 199, 0, 204, 155, 199, 0, 199,
- 158, 207, 160, 0, 199, 158, 160, 0, 199, 165,
- 22, 0, 199, 161, 207, 162, 0, 199, 163, 207,
- 164, 0, 199, 163, 164, 0, 199, 161, 163, 207,
- 164, 162, 0, 199, 161, 163, 164, 162, 0, 199,
- 40, 0, 199, 41, 0, 199, 233, 0, 199, 206,
- 0, 199, 25, 0, 171, 3, 0, 171, 5, 0,
- 171, 4, 0, 171, 6, 0, 11, 26, 0, 11,
- 27, 0, 172, 9, 0, 168, 152, 205, 38, 199,
- 153, 0, 117, 152, 205, 245, 153, 0, 131, 152,
- 205, 155, 205, 155, 205, 153, 0, 166, 152, 205,
- 155, 205, 153, 0, 167, 152, 205, 155, 205, 153,
- 0, 90, 169, 152, 205, 155, 205, 153, 0, 91,
- 170, 152, 205, 155, 205, 153, 0, 133, 152, 205,
- 155, 205, 153, 0, 134, 152, 205, 155, 205, 155,
- 205, 153, 0, 135, 152, 205, 155, 205, 155, 205,
- 153, 0, 207, 155, 205, 0, 205, 0, 32, 0,
- 33, 0, 37, 0, 0, 201, 233, 0, 123, 152,
- 210, 38, 199, 153, 0, 212, 0, 0, 213, 0,
- 212, 213, 0, 0, 31, 214, 229, 0, 0, 30,
- 215, 230, 0, 59, 58, 219, 0, 176, 18, 199,
- 0, 176, 18, 10, 0, 0, 178, 182, 209, 208,
- 205, 175, 216, 196, 0, 0, 178, 180, 182, 209,
- 208, 205, 175, 217, 196, 0, 0, 178, 181, 182,
- 209, 208, 199, 175, 218, 196, 0, 178, 182, 35,
- 185, 210, 0, 51, 220, 0, 55, 154, 221, 0,
- 22, 0, 52, 154, 22, 0, 67, 154, 22, 0,
- 158, 222, 160, 0, 222, 155, 22, 0, 22, 0,
- 0, 223, 155, 199, 188, 174, 0, 199, 188, 174,
- 0, 223, 0, 223, 155, 39, 0, 39, 0, 0,
- 186, 201, 177, 152, 224, 153, 190, 195, 192, 191,
- 0, 28, 0, 163, 0, 184, 182, 225, 226, 0,
- 29, 0, 164, 0, 237, 228, 0, 183, 182, 225,
- 0, 0, 60, 0, 3, 0, 4, 0, 9, 0,
- 26, 0, 27, 0, 40, 0, 41, 0, 25, 0,
- 161, 207, 162, 0, 206, 0, 58, 231, 22, 155,
- 22, 0, 7, 0, 8, 0, 173, 0, 177, 0,
- 233, 0, 232, 0, 199, 234, 0, 235, 0, 236,
- 155, 235, 0, 237, 238, 0, 227, 238, 0, 239,
- 176, 240, 0, 239, 242, 0, 0, 68, 38, 234,
- 0, 21, 0, 21, 68, 38, 234, 0, 69, 236,
- 0, 69, 10, 0, 70, 17, 234, 0, 70, 11,
- 234, 155, 17, 234, 155, 17, 234, 0, 71, 171,
- 234, 155, 17, 234, 158, 241, 160, 0, 71, 171,
- 234, 155, 17, 234, 158, 160, 0, 72, 186, 201,
- 234, 152, 244, 153, 190, 38, 17, 234, 73, 17,
- 234, 0, 73, 0, 74, 0, 241, 171, 232, 155,
- 17, 234, 0, 171, 232, 155, 17, 234, 0, 176,
- 247, 0, 199, 158, 234, 155, 234, 160, 0, 243,
- 155, 158, 234, 155, 234, 160, 0, 199, 188, 234,
- 188, 0, 17, 188, 234, 188, 0, 244, 155, 199,
- 188, 234, 188, 0, 244, 155, 17, 188, 234, 188,
- 0, 0, 0, 245, 155, 235, 0, 57, 56, 0,
- 56, 0, 166, 199, 234, 155, 234, 0, 167, 199,
- 234, 155, 234, 0, 90, 169, 199, 234, 155, 234,
- 0, 91, 170, 199, 234, 155, 234, 0, 168, 235,
- 38, 199, 0, 131, 235, 155, 235, 155, 235, 0,
- 132, 235, 155, 199, 0, 133, 235, 155, 235, 0,
- 134, 235, 155, 235, 155, 235, 0, 135, 235, 155,
- 235, 155, 235, 0, 130, 243, 0, 246, 186, 201,
- 234, 152, 244, 153, 190, 0, 249, 0, 36, 0,
- 0, 112, 199, 193, 0, 112, 199, 155, 11, 234,
- 193, 0, 113, 199, 193, 0, 113, 199, 155, 11,
- 234, 193, 0, 114, 235, 0, 248, 115, 199, 234,
- 193, 0, 248, 116, 235, 155, 199, 234, 193, 0,
- 136, 199, 233, 155, 4, 0, 117, 199, 234, 245,
- 0
-};
+#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
+
+#ifndef YY_
+# if defined YYENABLE_NLS && YYENABLE_NLS
+# if ENABLE_NLS
+# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
+# define YY_(msgid) dgettext ("bison-runtime", msgid)
+# endif
+# endif
+# ifndef YY_
+# define YY_(msgid) msgid
+# endif
+#endif
+/* Suppress unused-variable warnings by "using" E. */
+#if ! defined lint || defined __GNUC__
+# define YYUSE(e) ((void) (e))
+#else
+# define YYUSE(e) /* empty */
#endif
-#if YYDEBUG != 0
-static const short yyrline[] = { 0,
- 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1113,
- 1113, 1113, 1113, 1113, 1113, 1114, 1114, 1114, 1114, 1114,
- 1114, 1114, 1115, 1115, 1115, 1115, 1115, 1118, 1118, 1119,
- 1119, 1120, 1120, 1121, 1121, 1122, 1122, 1126, 1126, 1127,
- 1127, 1128, 1128, 1129, 1129, 1130, 1130, 1131, 1131, 1132,
- 1132, 1133, 1134, 1139, 1140, 1140, 1140, 1140, 1140, 1142,
- 1142, 1142, 1143, 1143, 1145, 1146, 1150, 1154, 1159, 1159,
- 1161, 1162, 1167, 1173, 1174, 1175, 1176, 1177, 1181, 1182,
- 1183, 1187, 1188, 1189, 1190, 1194, 1195, 1196, 1200, 1201,
- 1202, 1203, 1204, 1208, 1209, 1210, 1213, 1213, 1214, 1215,
- 1216, 1217, 1218, 1226, 1227, 1228, 1229, 1230, 1231, 1232,
- 1233, 1234, 1235, 1239, 1240, 1245, 1246, 1247, 1248, 1249,
- 1250, 1253, 1254, 1259, 1260, 1267, 1267, 1274, 1274, 1284,
- 1292, 1292, 1298, 1298, 1300, 1305, 1318, 1318, 1318, 1318,
- 1318, 1318, 1318, 1321, 1325, 1329, 1336, 1341, 1349, 1379,
- 1404, 1409, 1419, 1429, 1433, 1443, 1450, 1459, 1466, 1471,
- 1476, 1483, 1484, 1491, 1498, 1506, 1512, 1524, 1552, 1568,
- 1595, 1623, 1649, 1669, 1695, 1715, 1727, 1734, 1800, 1810,
- 1820, 1826, 1836, 1842, 1852, 1857, 1862, 1875, 1887, 1909,
- 1917, 1923, 1934, 1939, 1944, 1950, 1956, 1965, 1969, 1977,
- 1977, 1980, 1980, 1983, 1995, 2016, 2021, 2029, 2030, 2034,
- 2034, 2038, 2038, 2041, 2044, 2068, 2079, 2087, 2090, 2096,
- 2099, 2106, 2110, 2150, 2153, 2159, 2169, 2173, 2178, 2180,
- 2185, 2190, 2199, 2209, 2220, 2224, 2233, 2242, 2247, 2373,
- 2373, 2375, 2384, 2384, 2386, 2391, 2403, 2407, 2412, 2416,
- 2420, 2424, 2428, 2432, 2436, 2440, 2444, 2469, 2473, 2483,
- 2487, 2491, 2496, 2503, 2503, 2509, 2518, 2523, 2528, 2532,
- 2541, 2550, 2559, 2563, 2567, 2572, 2578, 2586, 2590, 2595,
- 2605, 2624, 2633, 2714, 2718, 2725, 2736, 2749, 2759, 2770,
- 2780, 2791, 2799, 2809, 2816, 2819, 2820, 2827, 2831, 2836,
- 2852, 2869, 2883, 2897, 2909, 2917, 2924, 2930, 2936, 2942,
- 2957, 3043, 3048, 3052, 3059, 3066, 3074, 3081, 3089, 3097,
- 3111, 3128, 3136
-};
+/* Identity function, used to suppress warnings about constant conditions. */
+#ifndef lint
+# define YYID(n) (n)
+#else
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static int
+YYID (int i)
+#else
+static int
+YYID (i)
+ int i;
+#endif
+{
+ return i;
+}
#endif
+#if ! defined yyoverflow || YYERROR_VERBOSE
+
+/* The parser invokes alloca or malloc; define the necessary symbols. */
+
+# ifdef YYSTACK_USE_ALLOCA
+# if YYSTACK_USE_ALLOCA
+# ifdef __GNUC__
+# define YYSTACK_ALLOC __builtin_alloca
+# elif defined __BUILTIN_VA_ARG_INCR
+# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
+# elif defined _AIX
+# define YYSTACK_ALLOC __alloca
+# elif defined _MSC_VER
+# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
+# define alloca _alloca
+# else
+# define YYSTACK_ALLOC alloca
+# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+# ifndef _STDLIB_H
+# define _STDLIB_H 1
+# endif
+# endif
+# endif
+# endif
+# endif
+
+# ifdef YYSTACK_ALLOC
+ /* Pacify GCC's `empty if-body' warning. */
+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
+# ifndef YYSTACK_ALLOC_MAXIMUM
+ /* The OS might guarantee only one guard page at the bottom of the stack,
+ and a page size can be as small as 4096 bytes. So we cannot safely
+ invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
+ to allow for a few compiler-allocated temporary stack slots. */
+# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
+# endif
+# else
+# define YYSTACK_ALLOC YYMALLOC
+# define YYSTACK_FREE YYFREE
+# ifndef YYSTACK_ALLOC_MAXIMUM
+# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
+# endif
+# if (defined __cplusplus && ! defined _STDLIB_H \
+ && ! ((defined YYMALLOC || defined malloc) \
+ && (defined YYFREE || defined free)))
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+# ifndef _STDLIB_H
+# define _STDLIB_H 1
+# endif
+# endif
+# ifndef YYMALLOC
+# define YYMALLOC malloc
+# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
+# endif
+# endif
+# ifndef YYFREE
+# define YYFREE free
+# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+void free (void *); /* INFRINGES ON USER NAME SPACE */
+# endif
+# endif
+# endif
+#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
+
+
+#if (! defined yyoverflow \
+ && (! defined __cplusplus \
+ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+
+/* A type that is properly aligned for any stack member. */
+union yyalloc
+{
+ yytype_int16 yyss;
+ YYSTYPE yyvs;
+ };
+
+/* The size of the maximum gap between one aligned stack and the next. */
+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
+
+/* The size of an array large to enough to hold all stacks, each with
+ N elements. */
+# define YYSTACK_BYTES(N) \
+ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ + YYSTACK_GAP_MAXIMUM)
+
+/* Copy COUNT objects from FROM to TO. The source and destination do
+ not overlap. */
+# ifndef YYCOPY
+# if defined __GNUC__ && 1 < __GNUC__
+# define YYCOPY(To, From, Count) \
+ __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
+# else
+# define YYCOPY(To, From, Count) \
+ do \
+ { \
+ YYSIZE_T yyi; \
+ for (yyi = 0; yyi < (Count); yyi++) \
+ (To)[yyi] = (From)[yyi]; \
+ } \
+ while (YYID (0))
+# endif
+# endif
+
+/* Relocate STACK from its old location to the new one. The
+ local variables YYSIZE and YYSTACKSIZE give the old and new number of
+ elements in the stack, and YYPTR gives the new location of the
+ stack. Advance YYPTR to a properly aligned location for the next
+ stack. */
+# define YYSTACK_RELOCATE(Stack) \
+ do \
+ { \