diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-31 04:44:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-31 04:44:08 +0000 |
commit | f7469af5a2b4c1cd70d1a12fb3ba3ecb53f28307 (patch) | |
tree | c80391212d255bd400f27941703a44f0ac170c15 /lib/AsmParser/llvmAsmParser.cpp.cvs | |
parent | e0135406545a350f761d19b8576c10531754e4bc (diff) |
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp.cvs | 7078 |
1 files changed, 3083 insertions, 3995 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs index f11f291e10..d611dc99bb 100644 --- a/lib/AsmParser/llvmAsmParser.cpp.cvs +++ b/lib/AsmParser/llvmAsmParser.cpp.cvs @@ -1,336 +1,147 @@ -/* A Bison parser, made by GNU Bison 2.1. */ -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +/* A Bison parser, made from /Volumes/ProjectsDisk/cvs/llvm/lib/AsmParser/llvmAsmParser.y + by GNU Bison version 1.28 */ - 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, 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. */ +#define YYBISON 1 /* Identify Bison output. */ -/* 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.1" - -/* 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 - - -/* 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, - LOCALVAL_ID = 260, - GLOBALVAL_ID = 261, - FPVAL = 262, - VOID = 263, - INTTYPE = 264, - FLOAT = 265, - DOUBLE = 266, - LABEL = 267, - TYPE = 268, - LOCALVAR = 269, - GLOBALVAR = 270, - LABELSTR = 271, - STRINGCONSTANT = 272, - ATSTRINGCONSTANT = 273, - IMPLEMENTATION = 274, - ZEROINITIALIZER = 275, - TRUETOK = 276, - FALSETOK = 277, - BEGINTOK = 278, - ENDTOK = 279, - DECLARE = 280, - DEFINE = 281, - GLOBAL = 282, - CONSTANT = 283, - SECTION = 284, - VOLATILE = 285, - TO = 286, - DOTDOTDOT = 287, - NULL_TOK = 288, - UNDEF = 289, - INTERNAL = 290, - LINKONCE = 291, - WEAK = 292, - APPENDING = 293, - DLLIMPORT = 294, - DLLEXPORT = 295, - EXTERN_WEAK = 296, - OPAQUE = 297, - EXTERNAL = 298, - TARGET = 299, - TRIPLE = 300, - ALIGN = 301, - DEPLIBS = 302, - CALL = 303, - TAIL = 304, - ASM_TOK = 305, - MODULE = 306, - SIDEEFFECT = 307, - CC_TOK = 308, - CCC_TOK = 309, - FASTCC_TOK = 310, - COLDCC_TOK = 311, - X86_STDCALLCC_TOK = 312, - X86_FASTCALLCC_TOK = 313, - DATALAYOUT = 314, - RET = 315, - BR = 316, - SWITCH = 317, - INVOKE = 318, - UNWIND = 319, - UNREACHABLE = 320, - ADD = 321, - SUB = 322, - MUL = 323, - UDIV = 324, - SDIV = 325, - FDIV = 326, - UREM = 327, - SREM = 328, - FREM = 329, - AND = 330, - OR = 331, - XOR = 332, - ICMP = 333, - FCMP = 334, - EQ = 335, - NE = 336, - SLT = 337, - SGT = 338, - SLE = 339, - SGE = 340, - ULT = 341, - UGT = 342, - ULE = 343, - UGE = 344, - OEQ = 345, - ONE = 346, - OLT = 347, - OGT = 348, - OLE = 349, - OGE = 350, - ORD = 351, - UNO = 352, - UEQ = 353, - UNE = 354, - MALLOC = 355, - ALLOCA = 356, - FREE = 357, - LOAD = 358, - STORE = 359, - GETELEMENTPTR = 360, - TRUNC = 361, - ZEXT = 362, - SEXT = 363, - FPTRUNC = 364, - FPEXT = 365, - BITCAST = 366, - UITOFP = 367, - SITOFP = 368, - FPTOUI = 369, - FPTOSI = 370, - INTTOPTR = 371, - PTRTOINT = 372, - PHI_TOK = 373, - SELECT = 374, - SHL = 375, - LSHR = 376, - ASHR = 377, - VAARG = 378, - EXTRACTELEMENT = 379, - INSERTELEMENT = 380, - SHUFFLEVECTOR = 381, - NORETURN = 382, - INREG = 383, - SRET = 384, - DEFAULT = 385, - HIDDEN = 386 - }; -#endif -/* Tokens. */ -#define ESINT64VAL 258 -#define EUINT64VAL 259 -#define LOCALVAL_ID 260 -#define GLOBALVAL_ID 261 -#define FPVAL 262 -#define VOID 263 -#define INTTYPE 264 -#define FLOAT 265 -#define DOUBLE 266 -#define LABEL 267 -#define TYPE 268 -#define LOCALVAR 269 -#define GLOBALVAR 270 -#define LABELSTR 271 -#define STRINGCONSTANT 272 -#define ATSTRINGCONSTANT 273 -#define IMPLEMENTATION 274 -#define ZEROINITIALIZER 275 -#define TRUETOK 276 -#define FALSETOK 277 -#define BEGINTOK 278 -#define ENDTOK 279 -#define DECLARE 280 -#define DEFINE 281 -#define GLOBAL 282 -#define CONSTANT 283 -#define SECTION 284 -#define VOLATILE 285 -#define TO 286 -#define DOTDOTDOT 287 -#define NULL_TOK 288 -#define UNDEF 289 -#define INTERNAL 290 -#define LINKONCE 291 -#define WEAK 292 -#define APPENDING 293 -#define DLLIMPORT 294 -#define DLLEXPORT 295 -#define EXTERN_WEAK 296 -#define OPAQUE 297 -#define EXTERNAL 298 -#define TARGET 299 -#define TRIPLE 300 -#define ALIGN 301 -#define DEPLIBS 302 -#define CALL 303 -#define TAIL 304 -#define ASM_TOK 305 -#define MODULE 306 -#define SIDEEFFECT 307 -#define CC_TOK 308 -#define CCC_TOK 309 -#define FASTCC_TOK 310 -#define COLDCC_TOK 311 -#define X86_STDCALLCC_TOK 312 -#define X86_FASTCALLCC_TOK 313 -#define DATALAYOUT 314 -#define RET 315 -#define BR 316 -#define SWITCH 317 -#define INVOKE 318 -#define UNWIND 319 -#define UNREACHABLE 320 -#define ADD 321 -#define SUB 322 -#define MUL 323 -#define UDIV 324 -#define SDIV 325 -#define FDIV 326 -#define UREM 327 -#define SREM 328 -#define FREM 329 -#define AND 330 -#define OR 331 -#define XOR 332 -#define ICMP 333 -#define FCMP 334 -#define EQ 335 -#define NE 336 -#define SLT 337 -#define SGT 338 -#define SLE 339 -#define SGE 340 -#define ULT 341 -#define UGT 342 -#define ULE 343 -#define UGE 344 -#define OEQ 345 -#define ONE 346 -#define OLT 347 -#define OGT 348 -#define OLE 349 -#define OGE 350 -#define ORD 351 -#define UNO 352 -#define UEQ 353 -#define UNE 354 -#define MALLOC 355 -#define ALLOCA 356 -#define FREE 357 -#define LOAD 358 -#define STORE 359 -#define GETELEMENTPTR 360 -#define TRUNC 361 -#define ZEXT 362 -#define SEXT 363 -#define FPTRUNC 364 -#define FPEXT 365 -#define BITCAST 366 -#define UITOFP 367 -#define SITOFP 368 -#define FPTOUI 369 -#define FPTOSI 370 -#define INTTOPTR 371 -#define PTRTOINT 372 -#define PHI_TOK 373 -#define SELECT 374 -#define SHL 375 -#define LSHR 376 -#define ASHR 377 -#define VAARG 378 -#define EXTRACTELEMENT 379 -#define INSERTELEMENT 380 -#define SHUFFLEVECTOR 381 -#define NORETURN 382 -#define INREG 383 -#define SRET 384 -#define DEFAULT 385 -#define HIDDEN 386 - - - - -/* Copy the first part of user declarations. */ -#line 14 "/proj/llvm/llvm-1/lib/AsmParser/llvmAsmParser.y" +#define ESINT64VAL 257 +#define EUINT64VAL 258 +#define LOCALVAL_ID 259 +#define GLOBALVAL_ID 260 +#define FPVAL 261 +#define VOID 262 +#define INTTYPE 263 +#define FLOAT 264 +#define DOUBLE 265 +#define LABEL 266 +#define TYPE 267 +#define LOCALVAR 268 +#define GLOBALVAR 269 +#define LABELSTR 270 +#define STRINGCONSTANT 271 +#define ATSTRINGCONSTANT 272 +#define IMPLEMENTATION 273 +#define ZEROINITIALIZER 274 +#define TRUETOK 275 +#define FALSETOK 276 +#define BEGINTOK 277 +#define ENDTOK 278 +#define DECLARE 279 +#define DEFINE 280 +#define GLOBAL 281 +#define CONSTANT 282 +#define SECTION 283 +#define VOLATILE 284 +#define TO 285 +#define DOTDOTDOT 286 +#define NULL_TOK 287 +#define UNDEF 288 +#define INTERNAL 289 +#define LINKONCE 290 +#define WEAK 291 +#define APPENDING 292 +#define DLLIMPORT 293 +#define DLLEXPORT 294 +#define EXTERN_WEAK 295 +#define OPAQUE 296 +#define EXTERNAL 297 +#define TARGET 298 +#define TRIPLE 299 +#define ALIGN 300 +#define DEPLIBS 301 +#define CALL 302 +#define TAIL 303 +#define ASM_TOK 304 +#define MODULE 305 +#define SIDEEFFECT 306 +#define CC_TOK 307 +#define CCC_TOK 308 +#define FASTCC_TOK 309 +#define COLDCC_TOK 310 +#define X86_STDCALLCC_TOK 311 +#define X86_FASTCALLCC_TOK 312 +#define DATALAYOUT 313 +#define RET 314 +#define BR 315 +#define SWITCH 316 +#define INVOKE 317 +#define UNWIND 318 +#define UNREACHABLE 319 +#define ADD 320 +#define SUB 321 +#define MUL 322 +#define UDIV 323 +#define SDIV 324 +#define FDIV 325 +#define UREM 326 +#define SREM 327 +#define FREM 328 +#define AND 329 +#define OR 330 +#define XOR 331 +#define ICMP 332 +#define FCMP 333 +#define EQ 334 +#define NE 335 +#define SLT 336 +#define SGT 337 +#define SLE 338 +#define SGE 339 +#define ULT 340 +#define UGT 341 +#define ULE 342 +#define UGE 343 +#define OEQ 344 +#define ONE 345 +#define OLT 346 +#define OGT 347 +#define OLE 348 +#define OGE 349 +#define ORD 350 +#define UNO 351 +#define UEQ 352 +#define UNE 353 +#define MALLOC 354 +#define ALLOCA 355 +#define FREE 356 +#define LOAD 357 +#define STORE 358 +#define GETELEMENTPTR 359 +#define TRUNC 360 +#define ZEXT 361 +#define SEXT 362 +#define FPTRUNC 363 +#define FPEXT 364 +#define BITCAST 365 +#define UITOFP 366 +#define SITOFP 367 +#define FPTOUI 368 +#define FPTOSI 369 +#define INTTOPTR 370 +#define PTRTOINT 371 +#define PHI_TOK 372 +#define SELECT 373 +#define SHL 374 +#define LSHR 375 +#define ASHR 376 +#define VAARG 377 +#define EXTRACTELEMENT 378 +#define INSERTELEMENT 379 +#define SHUFFLEVECTOR 380 +#define NORETURN 381 +#define INREG 382 +#define SRET 383 +#define DEFAULT 384 +#define HIDDEN 385 + +#line 14 "/Volumes/ProjectsDisk/cvs/llvm/lib/AsmParser/llvmAsmParser.y" #include "ParserInternals.h" #include "llvm/CallingConv.h" @@ -340,6 +151,7 @@ #include "llvm/SymbolTable.h" #include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/Support/CommandLine.h" +#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/Streams.h" @@ -1201,28 +1013,8 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) { } - -/* 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) -#line 885 "/proj/llvm/llvm-1/lib/AsmParser/llvmAsmParser.y" -typedef union YYSTYPE { +#line 886 "/Volumes/ProjectsDisk/cvs/llvm/lib/AsmParser/llvmAsmParser.y" +typedef union { llvm::Module *ModuleVal; llvm::Function *FunctionVal; llvm::BasicBlock *BasicBlockVal; @@ -1267,1529 +1059,1062 @@ typedef union YYSTYPE { llvm::ICmpInst::Predicate IPredicate; llvm::FCmpInst::Predicate FPredicate; } YYSTYPE; -/* Line 196 of yacc.c. */ -#line 1272 "llvmAsmParser.tab.c" -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 -# define YYSTYPE_IS_TRIVIAL 1 -#endif - - +#include <stdio.h> -/* Copy the second part of user declarations. */ - - -/* Line 219 of yacc.c. */ -#line 1284 "llvmAsmParser.tab.c" - -#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) -# define YYSIZE_T __SIZE_TYPE__ -#endif -#if ! defined (YYSIZE_T) && defined (size_t) -# define YYSIZE_T size_t +#ifndef __cplusplus +#ifndef __STDC__ +#define const #endif -#if ! defined (YYSIZE_T) && (defined (__STDC__) || defined (__cplusplus)) -# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -#endif -#if ! defined (YYSIZE_T) -# define YYSIZE_T unsigned int -#endif - -#ifndef YY_ -# if 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 -#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 -# else -# define YYSTACK_ALLOC alloca -# if defined (__STDC__) || defined (__cplusplus) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# define YYINCLUDED_STDLIB_H -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (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 2005 */ -# endif -# else -# define YYSTACK_ALLOC YYMALLOC -# define YYSTACK_FREE YYFREE -# ifndef YYSTACK_ALLOC_MAXIMUM -# define YYSTACK_ALLOC_MAXIMUM ((YYSIZE_T) -1) -# endif -# ifdef __cplusplus -extern "C" { -# endif -# ifndef YYMALLOC -# define YYMALLOC malloc -# if (! defined (malloc) && ! defined (YYINCLUDED_STDLIB_H) \ - && (defined (__STDC__) || defined (__cplusplus))) -void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# ifndef YYFREE -# define YYFREE free -# if (! defined (free) && ! defined (YYINCLUDED_STDLIB_H) \ - && (defined (__STDC__) || defined (__cplusplus))) -void free (void *); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# ifdef __cplusplus -} -# endif -# endif -#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ -#if (! defined (yyoverflow) \ - && (! defined (__cplusplus) \ - || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL))) +#define YYFINAL 567 +#define YYFLAG -32768 +#define YYNTBASE 146 + +#define YYTRANSLATE(x) ((unsigned)(x) <= 385 ? yytranslate[x] : 224) + +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, 136, + 137, 134, 2, 133, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 141, + 132, 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, 2, + 138, 135, 140, 2, 2, 2, 2, 2, 145, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 139, + 2, 2, 143, 2, 144, 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 +}; -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - short int yyss; - YYSTYPE yyvs; - }; +#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, + 119, 122, 123, 125, 127, 130, 131, 133, 135, 137, + 139, 141, 143, 145, 147, 148, 150, 151, 153, 155, + 156, 158, 160, 162, 164, 165, 167, 169, 171, 173, + 175, 178, 180, 182, 184, 186, 187, 190, 192, 194, + 195, 198, 199, 202, 203, 207, 210, 211, 213, 214, + 218, 220, 223, 225, 227, 229, 231, 233, 235, 238, + 240, 243, 249, 255, 261, 267, 271, 274, 280, 285, + 288, 290, 292, 294, 298, 300, 304, 306, 307, 309, + 313, 318, 322, 326, 331, 336, 340, 347, 353, 356, + 359, 362, 365, 368, 371, 374, 377, 380, 383, 390, + 396, 405, 412, 419, 427, 435, 442, 449, 458, 467, + 471, 473, 475, 477, 479, 480, 482, 485, 486, 490, + 491, 495, 499, 501, 505, 509, 510, 517, 518, 526, + 527, 535, 538, 542, 544, 548, 552, 556, 560, 562, + 563, 569, 573, 575, 579, 581, 582, 592, 594, 596, + 601, 603, 605, 608, 612, 613, 615, 617, 619, 621, + 623, 625, 627, 629, 631, 635, 637, 643, 645, 647, + 649, 651, 653, 655, 658, 661, 664, 668, 671, 672, + 674, 677, 680, 684, 694, 704, 713, 728, 730, 732, + 739, 745, 748, 755, 763, 767, 773, 774, 775, 779, + 782, 784, 790, 796, 803, 810, 815, 820, 827, 832, + 837, 844, 851, 854, 863, 865, 867, 868, 872, 879, + 883, 890, 893, 898, 905 +}; -/* 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 (short int) + 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 (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 \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack, Stack, yysize); \ - Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) +static const short yyrhs[] = { 66, + 0, 67, 0, 68, 0, 69, 0, 70, 0, 71, + 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, + 0, 77, 0, 106, 0, 107, 0, 108, 0, 109, + 0, 110, 0, 111, 0, 112, 0, 113, 0, 114, + 0, 115, 0, 116, 0, 117, 0, 120, 0, 121, + 0, 122, 0, 80, 0, 81, 0, 82, 0, 83, + 0, 84, 0, 85, 0, 86, 0, 87, 0, 88, + 0, 89, 0, 90, 0, 91, 0, 92, 0, 93, + 0, 94, 0, 95, 0, 96, 0, 97, 0, 98, + 0, 99, 0, 86, 0, 87, 0, 88, 0, 89, + 0, 21, 0, 22, 0, 9, 0, 10, 0, 11, + 0, 14, 0, 17, 0, 154, 0, 0, 154, 132, + 0, 0, 15, 0, 18, 0, 157, 132, 0, 0, + 35, 0, 37, 0, 36, 0, 38, 0, 40, 0, + 39, 0, 41, 0, 43, 0, 0, 131, 0, 0, + 39, 0, 41, 0, 0, 35, 0, 36, 0, 37, + 0, 40, 0, 0, 54, 0, 55, 0, 56, 0, + 57, 0, 58, 0, 53, 4, 0, 107, 0, 108, + 0, 128, 0, 129, 0, 0, 166, 165, 0, 127, + 0, 165, 0, 0, 168, 167, 0, 0, 46, 4, + 0, 0, 133, 46, 4, 0, 29, 17, 0, 0, + 171, 0, 0, 133, 174, 173, 0, 171, 0, 46, + 4, 0, 9, 0, 10, 0, 11, 0, 12, 0, + 42, 0, 175, 0, 176, 134, 0, 208, 0, 135, + 4, 0, 176, 136, 180, 137, 168, 0, 8, 136, + 180, 137, 168, 0, 138, 4, 139, 176, 140, 0, + 141, 4, 139, 176, 142, 0, 143, 181, 144, 0, + 143, 144, 0, 141, 143, 181, 144, 142, 0, 141, + 143, 144, 142, 0, 176, 166, 0, 176, 0, 8, + 0, 177, 0, 179, 133, 177, 0, 179, 0, 179, + 133, 32, 0, 32, 0, 0, 176, 0, 181, 133, + 176, 0, 176, 138, 184, 140, 0, 176, 138, 140, + 0, 176, 145, 17, 0, 176, 141, 184, 142, 0, + 176, 143, 184, 144, 0, 176, 143, 144, 0, 176, + 141, 143, 184, 144, 142, 0, 176, 141, 143, 144, + 142, 0, 176, 33, 0, 176, 34, 0, 176, 208, + 0, 176, 183, 0, 176, 20, 0, 152, 3, 0, + 152, 4, 0, 9, 21, 0, 9, 22, 0, 153, + 7, 0, 148, 136, 182, 31, 176, 137, 0, 105, + 136, 182, 219, 137, 0, 119, 136, 182, 133, 182, + 133, 182, 137, 0, 146, 136, 182, 133, 182, 137, + 0, 147, 136, 182, 133, 182, 137, 0, 78, 150, + 136, 182, 133, 182, 137, 0, 79, 151, 136, 182, + 133, 182, 137, 0, 149, 136, 182, 133, 182, 137, + 0, 124, 136, 182, 133, 182, 137, 0, 125, 136, + 182, 133, 182, 133, 182, 137, 0, 126, 136, 182, + 133, 182, 133, 182, 137, 0, 184, 133, 182, 0, + 182, 0, 27, 0, 28, 0, 187, 0, 0, 188, + 0, 187, 188, 0, 0, 26, 189, 204, 0, 0, + 25, 190, 205, 0, 51, 50, 194, 0, 19, 0, + 156, 13, 176, 0, 156, 13, 8, 0, 0, 158, + 161, 185, 182, 191, 173, 0, 0, 158, 159, 161, + 185, 182, 192, 173, 0, 0, 158, 160, 161, 185, + 176, 193, 173, 0, 44, 195, 0, 47, 132, 196, + 0, 17, 0, 45, 132, 17, 0, 59, 132, 17, + 0, 138, 197, 140, 0, 197, 133, 17, 0, 17, + 0, 0, 198, 133, 176, 166, 155, 0, 176, 166, + 155, 0, 198, 0, 198, 133, 32, 0, 32, 0, + 0, 164, 178, 157, 136, 199, 137, 168, 172, 169, + 0, 23, 0, 143, 0, 163, 161, 200, 201, 0, + 24, 0, 144, 0, 211, 203, 0, 162, 161, 200, + 0, 0, 52, 0, 3, 0, 4, 0, 7, 0, + 21, 0, 22, 0, 33, 0, 34, 0, 20, 0, + 141, 184, 142, 0, 183, 0, 50, 206, 17, 133, + 17, 0, 5, 0, 6, 0, 154, 0, 157, 0, + 208, 0, 207, 0, 176, 209, 0, 211, 212, 0, + 202, 212, 0, 213, 156, 214, 0, 213, 216, 0, + 0, 16, 0, 60, 210, 0, 60, 8, 0, 61, + 12, 209, 0, 61, 9, 209, 133, 12, 209, 133, + 12, 209, 0, 62, 152, 209, 133, 12, 209, 138, + 215, 140, 0, 62, 152, 209, 133, 12, 209, 138, + 140, 0, 63, 164, 178, 209, 136, 218, 137, 168, + 31, 12, 209, 64, 12, 209, 0, 64, 0, 65, + 0, 215, 152, 207, 133, 12, 209, 0, 152, 207, + 133, 12, 209, 0, 156, 221, 0, 176, 138, 209, + 133, 209, 140, 0, 217, 133, 138, 209, 133, 209, + 140, 0, 176, 209, 166, 0, 218, 133, 176, 209, + 166, 0, 0, 0, 219, 133, 210, 0, 49, 48, + 0, 48, 0, 146, 176, 209, 133, 209, 0, 147, + 176, 209, 133, 209, 0, 78, 150, 176, 209, 133, + 209, 0, 79, 151, 176, 209, 133, 209, 0, 149, + 210, 133, 210, 0, 148, 210, 31, 176, 0, 119, + 210, 133, 210, 133, 210, 0, 123, 210, 133, 176, + 0, 124, 210, 133, 210, 0, 125, 210, 133, 210, + 133, 210, 0, 126, 210, 133, 210, 133, 210, 0, + 118, 217, 0, 220, 164, 178, 209, 136, 218, 137, + 168, 0, 223, 0, 30, 0, 0, 100, 176, 170, + 0, 100, 176, 133, 9, 209, 170, 0, 101, 176, + 170, 0, 101, 176, 133, 9, 209, 170, 0, 102, + 210, 0, 222, 103, 176, 209, 0, 222, 104, 210, + 133, 176, 209, 0, 105, 176, 209, 219, 0 +}; #endif -#if defined (__STDC__) || defined (__cplusplus) - typedef signed char yysigned_char; -#else - typedef short int yysigned_char; +#if YYDEBUG != 0 +static const short yyrline[] = { 0, + 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1033, + 1033, 1033, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1035, + 1035, 1035, 1035, 1035, 1036, 1036, 1036, 1038, 1038, 1039, + 1039, 1040, 1040, 1041, 1041, 1042, 1042, 1046, 1046, 1047, + 1047, 1048, 1048, 1049, 1049, 1050, 1050, 1051, 1051, 1052, + 1052, 1053, 1054, 1059, 1060, 1060, 1062, 1062, 1063, 1063, + 1067, 1071, 1076, 1076, 1078, 1082, 1088, 1089, 1090, 1091, + 1092, 1096, 1097, 1098, 1102, 1103, 1107, 1108, 1109, 1113, + 1114, 1115, 1116, 1117, 1120, 1120, 1121, 1122, 1123, 1124, + 1125, 1133, 1134, 1135, 1136, 1139, 1140, 1145, 1146, 1149, + 1150, 1157, 1157, 1164, 1164, 1173, 1181, 1181, 1187, 1187, + 1189, 1194, 1207, 1207, 1207, 1207, 1210, 1214, 1218, 1225, + 1230, 1238, 1256, 1274, 1279, 1291, 1301, 1305, 1315, 1322, + 1329, 1336, 1341, 1346, 1353, 1354, 1361, 1368, 1376, 1381, + 1392, 1420, 1436, 1465, 1493, 1518, 1537, 1562, 1581, 1593, + 1600, 1666, 1676, 1686, 1692, 1698, 1703, 1708, 1716, 1728, + 1749, 1757, 1763, 1774, 1779, 1784, 1793, 1799, 1805, 1814, + 1818, 1826, 1826, 1837, 1842, 1850, 1851, 1855, 1855, 1859, + 1859, 1862, 1865, 1877, 1901, 1912, 1919, 1922, 1927, 1930, + 1936, 1940, 1943, 1949, 1962, 1966, 1971, 1973, 1978, 1983, + 1992, 2002, 2013, 2017, 2026, 2035, 2040, 2146, 2146, 2148, + 2157, 2157, 2159, 2164, 2176, 2180, 2185, 2189, 2193, 2197, + 2201, 2205, 2209, 2213, 2217, 2242, 2246, 2260, 2264, 2268, + 2272, 2278, 2278, 2284, 2293, 2297, 2306, 2317, 2326, 2338, + 2351, 2355, 2359, 2364, 2374, 2393, 2402, 2469, 2473, 2480, + 2491, 2504, 2513, 2524, 2534, 2542, 2550, 2553, 2554, 2561, + 2565, 2570, 2591, 2608, 2621, 2634, 2643, 2655, 2663, 2670, + 2676, 2682, 2688, 2703, 2767, 2772, 2776, 2783, 2790, 2798, + 2805, 2813, 2821, 2835, 2852 +}; #endif -/* YYFINAL -- State number of the termination state. */ -#define YYFINAL 40 -/* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 1466 - -/* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 146 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 79 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 286 -/* YYNRULES -- Number of states. */ -#define YYNSTATES 567 - -/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ -#define YYUNDEFTOK 2 -#define YYMAXUTOK 386 - -#define YYTRANSLATE(YYX) \ - ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) - -/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -static const unsigned char 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, - 136, 137, 134, 2, 133, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 141, 132, 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, - 2, 138, 135, 140, 2, 2, 2, 2, 2, 145, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 139, 2, 2, 143, 2, 144, 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, 2, 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 -}; -#if YYDEBUG -/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in - YYRHS. */ -static const unsigned short int yyprhs[] = -{ - 0, 0, 3, 5, 7, 9, 11, 13, 15, 17, - 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, - 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, - 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, - 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, - 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, - 119, 121, 122, 125, 126, 128, 130, 133, 134, 136, - 138, 140, 142, 144, 146, 148, 150, 151, 153, 154, - 156, 158, 159, 161, 163, 165, 167, 168, 170, 172, - 174, 176, 178, 181, 183, 185, 187, 189, 190, 193, - 195, 197, 198, 201, 202, 205, 206, 210, 213, 214, - 216, 217, 221, 223, 226, 228, 230, 232, 234, 236, - 238, 241, 243, 246, 252, 258, 264, 270, 274, 277, - 283, 288, 291, 293, 295, 297, 301, 303, 307, 309, - 310, 312, 316, 321, 325, 329, 334, 339, 343, 350, - 356, 359, |