aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-13 05:00:46 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-13 05:00:46 +0000
commit6f40790252d224e27ff85bbd962112efe7ab5f4f (patch)
tree7c67205fc8154d20c50ce703ca7dde3ac9ff7e1b /lib/AsmParser/llvmAsmParser.cpp.cvs
parent8088e9dfb445556d513d78e8604beebe45b55ffd (diff)
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp.cvs4290
1 files changed, 2061 insertions, 2229 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs
index 390592025e..66598afb97 100644
--- a/lib/AsmParser/llvmAsmParser.cpp.cvs
+++ b/lib/AsmParser/llvmAsmParser.cpp.cvs
@@ -1,9 +1,7 @@
-/* A Bison parser, made by GNU Bison 2.3. */
+/* A Bison parser, made by GNU Bison 2.1. */
-/* Skeleton implementation for Bison's Yacc-like parsers in C
-
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
- Free Software Foundation, Inc.
+/* Skeleton parser for Yacc-like parsing with Bison,
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 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
@@ -20,21 +18,13 @@
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. */
+/* 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. */
-/* C LALR(1) parser skeleton written by Richard Stallman, by
- simplifying the original so-called "semantic" parser. */
+/* 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
@@ -47,7 +37,7 @@
#define YYBISON 1
/* Bison version. */
-#define YYBISON_VERSION "2.3"
+#define YYBISON_VERSION "2.1"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -80,131 +70,130 @@
UINTVAL = 261,
FPVAL = 262,
VOID = 263,
- BOOL = 264,
- INTTYPE = 265,
- FLOAT = 266,
- DOUBLE = 267,
- LABEL = 268,
- TYPE = 269,
- VAR_ID = 270,
- LABELSTR = 271,
- STRINGCONSTANT = 272,
- IMPLEMENTATION = 273,
- ZEROINITIALIZER = 274,
- TRUETOK = 275,
- FALSETOK = 276,
- BEGINTOK = 277,
- ENDTOK = 278,
- DECLARE = 279,
- DEFINE = 280,
- GLOBAL = 281,
- CONSTANT = 282,
- SECTION = 283,
- VOLATILE = 284,
- TO = 285,
- DOTDOTDOT = 286,
- NULL_TOK = 287,
- UNDEF = 288,
- INTERNAL = 289,
- LINKONCE = 290,
- WEAK = 291,
- APPENDING = 292,
- DLLIMPORT = 293,
- DLLEXPORT = 294,
- EXTERN_WEAK = 295,
- OPAQUE = 296,
- EXTERNAL = 297,
- TARGET = 298,
- TRIPLE = 299,
- ENDIAN = 300,
- POINTERSIZE = 301,
- LITTLE = 302,
- BIG = 303,
- ALIGN = 304,
- DEPLIBS = 305,
- CALL = 306,
- TAIL = 307,
- ASM_TOK = 308,
- MODULE = 309,
- SIDEEFFECT = 310,
- CC_TOK = 311,
- CCC_TOK = 312,
- CSRETCC_TOK = 313,
- FASTCC_TOK = 314,
- COLDCC_TOK = 315,
- X86_STDCALLCC_TOK = 316,
- X86_FASTCALLCC_TOK = 317,
- DATALAYOUT = 318,
- RET = 319,
- BR = 320,
- SWITCH = 321,
- INVOKE = 322,
- UNWIND = 323,
- UNREACHABLE = 324,
- ADD = 325,
- SUB = 326,
- MUL = 327,
- UDIV = 328,
- SDIV = 329,
- FDIV = 330,
- UREM = 331,
- SREM = 332,
- FREM = 333,
- AND = 334,
- OR = 335,
- XOR = 336,
- ICMP = 337,
- FCMP = 338,
- EQ = 339,
- NE = 340,
- SLT = 341,
- SGT = 342,
- SLE = 343,
- SGE = 344,
- ULT = 345,
- UGT = 346,
- ULE = 347,
- UGE = 348,
- OEQ = 349,
- ONE = 350,
- OLT = 351,
- OGT = 352,
- OLE = 353,
- OGE = 354,
- ORD = 355,
- UNO = 356,
- UEQ = 357,
- UNE = 358,
- MALLOC = 359,
- ALLOCA = 360,
- FREE = 361,
- LOAD = 362,
- STORE = 363,
- GETELEMENTPTR = 364,
- TRUNC = 365,
- ZEXT = 366,
- SEXT = 367,
- FPTRUNC = 368,
- FPEXT = 369,
- BITCAST = 370,
- UITOFP = 371,
- SITOFP = 372,
- FPTOUI = 373,
- FPTOSI = 374,
- INTTOPTR = 375,
- PTRTOINT = 376,
- PHI_TOK = 377,
- SELECT = 378,
- SHL = 379,
- LSHR = 380,
- ASHR = 381,
- VAARG = 382,
- EXTRACTELEMENT = 383,
- INSERTELEMENT = 384,
- SHUFFLEVECTOR = 385,
- NORETURN = 386,
- DEFAULT = 387,
- HIDDEN = 388
+ INTTYPE = 264,
+ FLOAT = 265,
+ DOUBLE = 266,
+ LABEL = 267,
+ TYPE = 268,
+ VAR_ID = 269,
+ LABELSTR = 270,
+ STRINGCONSTANT = 271,
+ IMPLEMENTATION = 272,
+ ZEROINITIALIZER = 273,
+ TRUETOK = 274,
+ FALSETOK = 275,
+ BEGINTOK = 276,
+ ENDTOK = 277,
+ DECLARE = 278,
+ DEFINE = 279,
+ GLOBAL = 280,
+ CONSTANT = 281,
+ SECTION = 282,
+ VOLATILE = 283,
+ TO = 284,
+ DOTDOTDOT = 285,
+ NULL_TOK = 286,
+ UNDEF = 287,
+ INTERNAL = 288,
+ LINKONCE = 289,
+ WEAK = 290,
+ APPENDING = 291,
+ DLLIMPORT = 292,
+ DLLEXPORT = 293,
+ EXTERN_WEAK = 294,
+ OPAQUE = 295,
+ EXTERNAL = 296,
+ TARGET = 297,
+ TRIPLE = 298,
+ ENDIAN = 299,
+ POINTERSIZE = 300,
+ LITTLE = 301,
+ BIG = 302,
+ ALIGN = 303,
+ DEPLIBS = 304,
+ CALL = 305,
+ TAIL = 306,
+ ASM_TOK = 307,
+ MODULE = 308,
+ SIDEEFFECT = 309,
+ CC_TOK = 310,
+ CCC_TOK = 311,
+ CSRETCC_TOK = 312,
+ FASTCC_TOK = 313,
+ COLDCC_TOK = 314,
+ X86_STDCALLCC_TOK = 315,
+ X86_FASTCALLCC_TOK = 316,
+ DATALAYOUT = 317,
+ RET = 318,
+ BR = 319,
+ SWITCH = 320,
+ INVOKE = 321,
+ UNWIND = 322,
+ UNREACHABLE = 323,
+ ADD = 324,
+ SUB = 325,
+ MUL = 326,
+ UDIV = 327,
+ SDIV = 328,
+ FDIV = 329,
+ UREM = 330,
+ SREM = 331,
+ FREM = 332,
+ AND = 333,
+ OR = 334,
+ XOR = 335,
+ ICMP = 336,
+ FCMP = 337,
+ EQ = 338,
+ NE = 339,
+ SLT = 340,
+ SGT = 341,
+ SLE = 342,
+ SGE = 343,
+ ULT = 344,
+ UGT = 345,
+ ULE = 346,
+ UGE = 347,
+ OEQ = 348,
+ ONE = 349,
+ OLT = 350,
+ OGT = 351,
+ OLE = 352,
+ OGE = 353,
+ ORD = 354,
+ UNO = 355,
+ UEQ = 356,
+ UNE = 357,
+ MALLOC = 358,
+ ALLOCA = 359,
+ FREE = 360,
+ LOAD = 361,
+ STORE = 362,
+ GETELEMENTPTR = 363,
+ TRUNC = 364,
+ ZEXT = 365,
+ SEXT = 366,
+ FPTRUNC = 367,
+ FPEXT = 368,
+ BITCAST = 369,
+ UITOFP = 370,
+ SITOFP = 371,
+ FPTOUI = 372,
+ FPTOSI = 373,
+ INTTOPTR = 374,
+ PTRTOINT = 375,
+ PHI_TOK = 376,
+ SELECT = 377,
+ SHL = 378,
+ LSHR = 379,
+ ASHR = 380,
+ VAARG = 381,
+ EXTRACTELEMENT = 382,
+ INSERTELEMENT = 383,
+ SHUFFLEVECTOR = 384,
+ NORETURN = 385,
+ DEFAULT = 386,
+ HIDDEN = 387
};
#endif
/* Tokens. */
@@ -214,137 +203,136 @@
#define UINTVAL 261
#define FPVAL 262
#define VOID 263
-#define BOOL 264
-#define INTTYPE 265
-#define FLOAT 266
-#define DOUBLE 267
-#define LABEL 268
-#define TYPE 269
-#define VAR_ID 270
-#define LABELSTR 271
-#define STRINGCONSTANT 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 ENDIAN 300
-#define POINTERSIZE 301
-#define LITTLE 302
-#define BIG 303
-#define ALIGN 304
-#define DEPLIBS 305
-#define CALL 306
-#define TAIL 307
-#define ASM_TOK 308
-#define MODULE 309
-#define SIDEEFFECT 310
-#define CC_TOK 311
-#define CCC_TOK 312
-#define CSRETCC_TOK 313
-#define FASTCC_TOK 314
-#define COLDCC_TOK 315
-#define X86_STDCALLCC_TOK 316
-#define X86_FASTCALLCC_TOK 317
-#define DATALAYOUT 318
-#define RET 319
-#define BR 320
-#define SWITCH 321
-#define INVOKE 322
-#define UNWIND 323
-#define UNREACHABLE 324
-#define ADD 325
-#define SUB 326
-#define MUL 327
-#define UDIV 328
-#define SDIV 329
-#define FDIV 330
-#define UREM 331
-#define SREM 332
-#define FREM 333
-#define AND 334
-#define OR 335
-#define XOR 336
-#define ICMP 337
-#define FCMP 338
-#define EQ 339
-#define NE 340
-#define SLT 341
-#define SGT 342
-#define SLE 343
-#define SGE 344
-#define ULT 345
-#define UGT 346
-#define ULE 347
-#define UGE 348
-#define OEQ 349
-#define ONE 350
-#define OLT 351
-#define OGT 352
-#define OLE 353
-#define OGE 354
-#define ORD 355
-#define UNO 356
-#define UEQ 357
-#define UNE 358
-#define MALLOC 359
-#define ALLOCA 360
-#define FREE 361
-#define LOAD 362
-#define STORE 363
-#define GETELEMENTPTR 364
-#define TRUNC 365
-#define ZEXT 366
-#define SEXT 367
-#define FPTRUNC 368
-#define FPEXT 369
-#define BITCAST 370
-#define UITOFP 371
-#define SITOFP 372
-#define FPTOUI 373
-#define FPTOSI 374
-#define INTTOPTR 375
-#define PTRTOINT 376
-#define PHI_TOK 377
-#define SELECT 378
-#define SHL 379
-#define LSHR 380
-#define ASHR 381
-#define VAARG 382
-#define EXTRACTELEMENT 383
-#define INSERTELEMENT 384
-#define SHUFFLEVECTOR 385
-#define NORETURN 386
-#define DEFAULT 387
-#define HIDDEN 388
+#define INTTYPE 264
+#define FLOAT 265
+#define DOUBLE 266
+#define LABEL 267
+#define TYPE 268
+#define VAR_ID 269
+#define LABELSTR 270
+#define STRINGCONSTANT 271
+#define IMPLEMENTATION 272
+#define ZEROINITIALIZER 273
+#define TRUETOK 274
+#define FALSETOK 275
+#define BEGINTOK 276
+#define ENDTOK 277
+#define DECLARE 278
+#define DEFINE 279
+#define GLOBAL 280
+#define CONSTANT 281
+#define SECTION 282
+#define VOLATILE 283
+#define TO 284
+#define DOTDOTDOT 285
+#define NULL_TOK 286
+#define UNDEF 287
+#define INTERNAL 288
+#define LINKONCE 289
+#define WEAK 290
+#define APPENDING 291
+#define DLLIMPORT 292
+#define DLLEXPORT 293
+#define EXTERN_WEAK 294
+#define OPAQUE 295
+#define EXTERNAL 296
+#define TARGET 297
+#define TRIPLE 298
+#define ENDIAN 299
+#define POINTERSIZE 300
+#define LITTLE 301
+#define BIG 302
+#define ALIGN 303
+#define DEPLIBS 304
+#define CALL 305
+#define TAIL 306
+#define ASM_TOK 307
+#define MODULE 308
+#define SIDEEFFECT 309
+#define CC_TOK 310
+#define CCC_TOK 311
+#define CSRETCC_TOK 312
+#define FASTCC_TOK 313
+#define COLDCC_TOK 314
+#define X86_STDCALLCC_TOK 315
+#define X86_FASTCALLCC_TOK 316
+#define DATALAYOUT 317
+#define RET 318
+#define BR 319
+#define SWITCH 320
+#define INVOKE 321
+#define UNWIND 322
+#define UNREACHABLE 323
+#define ADD 324
+#define SUB 325
+#define MUL 326
+#define UDIV 327
+#define SDIV 328
+#define FDIV 329
+#define UREM 330
+#define SREM 331
+#define FREM 332
+#define AND 333
+#define OR 334
+#define XOR 335
+#define ICMP 336
+#define FCMP 337
+#define EQ 338
+#define NE 339
+#define SLT 340
+#define SGT 341
+#define SLE 342
+#define SGE 343
+#define ULT 344
+#define UGT 345
+#define ULE 346
+#define UGE 347
+#define OEQ 348
+#define ONE 349
+#define OLT 350
+#define OGT 351
+#define OLE 352
+#define OGE 353
+#define ORD 354
+#define UNO 355
+#define UEQ 356
+#define UNE 357
+#define MALLOC 358
+#define ALLOCA 359
+#define FREE 360
+#define LOAD 361
+#define STORE 362
+#define GETELEMENTPTR 363
+#define TRUNC 364
+#define ZEXT 365
+#define SEXT 366
+#define FPTRUNC 367
+#define FPEXT 368
+#define BITCAST 369
+#define UITOFP 370
+#define SITOFP 371
+#define FPTOUI 372
+#define FPTOSI 373
+#define INTTOPTR 374
+#define PTRTOINT 375
+#define PHI_TOK 376
+#define SELECT 377
+#define SHL 378
+#define LSHR 379
+#define ASHR 380
+#define VAARG 381
+#define EXTRACTELEMENT 382
+#define INSERTELEMENT 383
+#define SHUFFLEVECTOR 384
+#define NORETURN 385
+#define DEFAULT 386
+#define HIDDEN 387
/* Copy the first part of user declarations. */
-#line 14 "/home/asl/proj/llvm/src/lib/AsmParser/llvmAsmParser.y"
+#line 14 "/proj/llvm/llvm-4/lib/AsmParser/llvmAsmParser.y"
#include "ParserInternals.h"
#include "llvm/CallingConv.h"
@@ -1232,10 +1220,9 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
# define YYTOKEN_TABLE 0
#endif
-#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE
-#line 883 "/home/asl/proj/llvm/src/lib/AsmParser/llvmAsmParser.y"
-{
+#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
+#line 883 "/proj/llvm/llvm-4/lib/AsmParser/llvmAsmParser.y"
+typedef union YYSTYPE {
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;
llvm::BasicBlock *BasicBlockVal;
@@ -1280,10 +1267,9 @@ typedef union YYSTYPE
llvm::Module::Endianness Endianness;
llvm::ICmpInst::Predicate IPredicate;
llvm::FCmpInst::Predicate FPredicate;
-}
-/* Line 187 of yacc.c. */
-#line 1286 "llvmAsmParser.tab.c"
- YYSTYPE;
+} YYSTYPE;
+/* Line 196 of yacc.c. */
+#line 1273 "llvmAsmParser.tab.c"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
@@ -1294,56 +1280,23 @@ typedef union YYSTYPE
/* Copy the second part of user declarations. */
-/* Line 216 of yacc.c. */
-#line 1299 "llvmAsmParser.tab.c"
+/* Line 219 of yacc.c. */
+#line 1285 "llvmAsmParser.tab.c"
-#ifdef short
-# undef short
+#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
+# define YYSIZE_T __SIZE_TYPE__
#endif
-
-#ifdef YYTYPE_UINT8
-typedef YYTYPE_UINT8 yytype_uint8;
-#else
-typedef unsigned char yytype_uint8;
+#if ! defined (YYSIZE_T) && defined (size_t)
+# define YYSIZE_T size_t
#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;
+#if ! defined (YYSIZE_T) && (defined (__STDC__) || defined (__cplusplus))
+# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+# define YYSIZE_T size_t
#endif
-
-#ifdef YYTYPE_UINT16
-typedef YYTYPE_UINT16 yytype_uint16;
-#else
-typedef unsigned short int yytype_uint16;
-#endif
-
-#ifdef YYTYPE_INT16
-typedef YYTYPE_INT16 yytype_int16;
-#else
-typedef short int yytype_int16;
-#endif
-
-#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
+#if ! defined (YYSIZE_T)
+# define YYSIZE_T unsigned int
#endif
-#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
-
#ifndef YY_
# if YYENABLE_NLS
# if ENABLE_NLS
@@ -1356,32 +1309,7 @@ typedef short int yytype_int16;
# 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
-
-/* 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
+#if ! defined (yyoverflow) || YYERROR_VERBOSE
/* The parser invokes alloca or malloc; define the necessary symbols. */
@@ -1389,76 +1317,64 @@ YYID (i)
# 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)
+# if defined (__STDC__) || defined (__cplusplus)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
-# ifndef _STDLIB_H
-# define _STDLIB_H 1
-# endif
+# 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 (YYID (0))
+ /* 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 2006 */
+# 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_MAXIMUM
+# define YYSTACK_ALLOC_MAXIMUM ((YYSIZE_T) -1)
# 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
+# ifdef __cplusplus
+extern "C" {
# endif
# ifndef YYMALLOC
# define YYMALLOC malloc
-# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
+# 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 _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
+# 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 */
+#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
-#if (! defined yyoverflow \
- && (! defined __cplusplus \
- || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+#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;
+ short int yyss;
YYSTYPE yyvs;
};
@@ -1468,13 +1384,13 @@ union yyalloc
/* 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)) \
+ ((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__
+# if defined (__GNUC__) && 1 < __GNUC__
# define YYCOPY(To, From, Count) \
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
@@ -1485,7 +1401,7 @@ union yyalloc
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
- while (YYID (0))
+ while (0)
# endif
# endif
@@ -1503,47 +1419,53 @@ union yyalloc
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
- while (YYID (0))
+ while (0)
+
+#endif
+#if defined (__STDC__) || defined (__cplusplus)
+ typedef signed char yysigned_char;
+#else
+ typedef short int yysigned_char;
#endif
-/* YYFINAL -- State number of the termination state. */
+/* YYFINAL -- State number of the termination state. */
#define YYFINAL 36
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 1365
+#define YYLAST 1357
-/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 148
-/* YYNNTS -- Number of nonterminals. */
+/* YYNTOKENS -- Number of terminals. */
+#define YYNTOKENS 147
+/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 79
-/* YYNRULES -- Number of rules. */
-#define YYNRULES 286
-/* YYNRULES -- Number of states. */
-#define YYNSTATES 571
+/* YYNRULES -- Number of rules. */
+#define YYNRULES 285
+/* YYNRULES -- Number of states. */
+#define YYNSTATES 569
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
-#define YYMAXUTOK 388
+#define YYMAXUTOK 387
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
-static const yytype_uint8 yytranslate[] =
+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,
- 138, 139, 136, 2, 135, 2, 2, 2, 2, 2,
+ 137, 138, 135, 2, 134, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 143, 134, 144, 2, 2, 2, 2, 2, 2, 2,
+ 142, 133, 143, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 140, 137, 142, 2, 2, 2, 2, 2, 147,
+ 2, 139, 136, 141, 2, 2, 2, 2, 2, 146,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 141, 2, 2, 145, 2, 146, 2, 2, 2, 2,
+ 140, 2, 2, 144, 2, 145, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
@@ -1569,13 +1491,13 @@ static const yytype_uint8 yytranslate[] =
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
+ 125, 126, 127, 128, 129, 130, 131, 132
};
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
YYRHS. */
-static const yytype_uint16 yyprhs[] =
+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,
@@ -1588,125 +1510,125 @@ static const yytype_uint16 yyprhs[] =
156, 157, 159, 161, 163, 165, 167, 169, 172, 174,
176, 177, 180, 182, 184, 185, 188, 189, 192, 193,
197, 200, 201, 203, 204, 208, 210, 213, 215, 217,
- 219, 221, 223, 225, 227, 230, 232, 235, 241, 247,
- 253, 259, 263, 266, 272, 277, 280, 282, 284, 286,
- 290, 292, 296, 298, 299, 301, 305, 310, 314, 318,
- 323, 328, 332, 339, 345, 348, 351, 354, 357, 360,
- 363, 366, 369, 372, 375, 382, 388, 397, 404, 411,
- 419, 427, 434, 441, 450, 459, 463, 465, 467, 469,
- 471, 472, 474, 477, 478, 482, 483, 487, 491, 493,
- 497, 501, 502, 509, 510, 518, 519, 527, 530, 534,
- 536, 538, 540, 544, 548, 552, 556, 560, 564, 566,
- 567, 569, 571, 573, 574, 580, 584, 586, 590, 592,
- 593, 603, 605, 607, 612, 614, 616, 619, 623, 624,
- 626, 628, 630, 632, 634, 636, 638, 640, 642, 646,
- 648, 654, 656, 658, 660, 662, 665, 668, 671, 675,
- 678, 679, 681, 684, 687, 691, 701, 711, 720, 735,
- 737, 739, 746, 752, 755, 762, 770, 774, 780, 781,
- 782, 786, 789, 791, 797, 803, 810, 817, 822, 827,
- 834, 839, 844, 851, 858, 861, 870, 872, 874, 875,
- 879, 886, 890, 897, 900, 905, 912
+ 219, 221, 223, 225, 228, 230, 233, 239, 245, 251,
+ 257, 261, 264, 270, 275, 278, 280, 282, 284, 288,
+ 290, 294, 296, 297, 299, 303, 308, 312, 316, 321,
+ 326, 330, 337, 343, 346, 349, 352, 355, 358, 361,
+ 364, 367, 370, 373, 380, 386, 395, 402, 409, 417,
+ 425, 432, 439, 448, 457, 461, 463, 465, 467, 469,
+ 470, 472, 475, 476, 480, 481, 485, 489, 491, 495,
+ 499, 500, 507, 508, 516, 517, 525, 528, 532, 534,
+ 536, 538, 542, 546, 550, 554, 558, 562, 564, 565,
+ 567, 569, 571, 572, 578, 582, 584, 588, 590, 591,
+ 601, 603, 605, 610, 612, 614, 617, 621, 622, 624,
+ 626, 628, 630, 632, 634, 636, 638, 640, 644, 646,
+ 652, 654, 656, 658, 660, 663, 666, 669, 673, 676,
+ 677, 679, 682, 685, 689, 699, 709, 718, 733, 735,
+ 737, 744, 750, 753, 760, 768, 772, 778, 779, 780,
+ 784, 787, 789, 795, 801, 808, 815, 820, 825, 832,
+ 837, 842, 849, 856, 859, 868, 870, 872, 873, 877,
+ 884, 888, 895, 898, 903, 910
};
-/* YYRHS -- A `-1'-separated list of the rules' RHS. */
-static const yytype_int16 yyrhs[] =
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
+static const short int yyrhs[] =
{
- 186, 0, -1, 5, -1, 6, -1, 70, -1, 71,
- -1, 72, -1, 73, -1, 74, -1, 75, -1, 76,
- -1, 77, -1, 78, -1, 79, -1, 80, -1, 81,
- -1, 110, -1, 111, -1, 112, -1, 113, -1, 114,
- -1, 115, -1, 116, -1, 117, -1, 118, -1, 119,
- -1, 120, -1, 121, -1, 124, -1, 125, -1, 126,
- -1, 84, -1, 85, -1, 86, -1, 87, -1, 88,
- -1, 89, -1, 90, -1, 91, -1, 92, -1, 93,
- -1, 94, -1, 95, -1, 96, -1, 97, -1, 98,
- -1, 99, -1, 100, -1, 101, -1, 102, -1, 103,
- -1, 90, -1, 91, -1, 92, -1, 93, -1, 20,
- -1, 21, -1, 10, -1, 11, -1, 12, -1, 199,
- 134, -1, -1, 34, -1, 36, -1, 35, -1, 37,
- -1, 39, -1, 38, -1, 40, -1, 42, -1, -1,
- 133, -1, -1, 38, -1, 40, -1, -1, 34, -1,
- 35, -1, 36, -1, 39, -1, -1, 57, -1, 58,
- -1, 59, -1, 60, -1, 61, -1, 62, -1, 56,
- 4, -1, 111, -1, 112, -1, -1, 166, 165, -1,
- 131, -1, 165, -1, -1, 168, 167, -1, -1, 49,
- 4, -1, -1, 135, 49, 4, -1, 28, 17, -1,
- -1, 171, -1, -1, 135, 174, 173, -1, 171, -1,
- 49, 4, -1, 9, -1, 10, -1, 11, -1, 12,
- -1, 13, -1, 41, -1, 175, -1, 176, 136, -1,
- 211, -1, 137, 4, -1, 176, 138, 180, 139, 168,
- -1, 8, 138, 180, 139, 168, -1, 140, 4, 141,
- 176, 142, -1, 143, 4, 141, 176, 144, -1, 145,
- 181, 146, -1, 145, 146, -1, 143, 145, 181, 146,
- 144, -1, 143, 145, 146, 144, -1, 176, 166, -1,
- 176, -1, 8, -1, 177, -1, 179, 135, 177, -1,
- 179, -1, 179, 135, 31, -1, 31, -1, -1, 176,
- -1, 181, 135, 176, -1, 176, 140, 184, 142, -1,
- 176, 140, 142, -1, 176, 147, 17, -1, 176, 143,
- 184, 144, -1, 176, 145, 184, 146, -1, 176, 145,
- 146, -1, 176, 143, 145, 184, 146, 144, -1, 176,
- 143, 145, 146, 144, -1, 176, 32, -1, 176, 33,
- -1, 176, 211, -1, 176, 183, -1, 176, 19, -1,
- 156, 3, -1, 156, 4, -1, 9, 20, -1, 9,
- 21, -1, 157, 7, -1, 152, 138, 182, 30, 176,
- 139, -1, 109, 138, 182, 222, 139, -1, 123, 138,
- 182, 135, 182, 135, 182, 139, -1, 150, 138, 182,
- 135, 182, 139, -1, 151, 138, 182, 135, 182, 139,
- -1, 82, 154, 138, 182, 135, 182, 139, -1, 83,
- 155, 138, 182, 135, 182, 139, -1, 153, 138, 182,
- 135, 182, 139, -1, 128, 138, 182, 135, 182, 139,
- -1, 129, 138, 182, 135, 182, 135, 182, 139, -1,
- 130, 138, 182, 135, 182, 135, 182, 139, -1, 184,
- 135, 182, -1, 182, -1, 26, -1, 27, -1, 187,
- -1, -1, 188, -1, 187, 188, -1, -1, 25, 189,
- 207, -1, -1, 24, 190, 208, -1, 54, 53, 194,
- -1, 18, -1, 158, 14, 176, -1, 158, 14, 8,
- -1, -1, 158, 161, 185, 182, 191, 173, -1, -1,
- 158, 159, 161, 185, 182, 192, 173, -1, -1, 158,
- 160, 161, 185, 176, 193, 173, -1, 43, 196, -1,
- 50, 134, 197, -1, 17, -1, 48, -1, 47, -1,
- 45, 134, 195, -1, 46, 134, 4, -1, 44, 134,
- 17, -1, 63, 134, 17, -1, 140, 198, 142, -1,
- 198, 135, 17, -1, 17, -1, -1, 15, -1, 17,
- -1, 199, -1, -1, 201, 135, 176, 166, 200, -1,
- 176, 166, 200, -1, 201, -1, 201, 135, 31, -1,
- 31, -1, -1, 164, 178, 199, 138, 202, 139, 168,
- 172, 169, -1, 22, -1, 145, -1, 163, 161, 203,
- 204, -1, 23, -1, 146, -1, 214, 206, -1, 162,
- 161, 203, -1, -1, 55, -1, 3, -1, 4, -1,
- 7, -1, 20, -1, 21, -1, 32, -1, 33, -1,
- 19, -1, 143, 184, 144, -1, 183, -1, 53, 209,
- 17, 135, 17, -1, 149, -1, 199, -1, 211, -1,
- 210, -1, 176, 212, -1, 214, 215, -1, 205, 215,
- -1, 216, 158, 217, -1, 216, 219, -1, -1, 16,
- -1, 64, 213, -1, 64, 8, -1, 65, 13, 212,
- -1, 65, 9, 212, 135, 13, 212, 135, 13, 212,
- -1, 66, 156, 212, 135, 13, 212, 140, 218, 142,
- -1, 66, 156, 212, 135, 13, 212, 140, 142, -1,
- 67, 164, 178, 212, 138, 221, 139, 168, 30, 13,
- 212, 68, 13, 212, -1, 68, -1, 69, -1, 218,
- 156, 210, 135, 13, 212, -1, 156, 210, 135, 13,
- 212, -1, 158, 224, -1, 176, 140, 212, 135, 212,
- 142, -1, 220, 135, 140, 212, 135, 212, 142, -1,
- 176, 212, 166, -1, 221, 135, 176, 212, 166, -1,
- -1, -1, 222, 135, 213, -1, 52, 51, -1, 51,
- -1, 150, 176, 212, 135, 212, -1, 151, 176, 212,
- 135, 212, -1, 82, 154, 176, 212, 135, 212, -1,
- 83, 155, 176, 212, 135, 212, -1, 153, 213, 135,
- 213, -1, 152, 213, 30, 176, -1, 123, 213, 135,
- 213, 135, 213, -1, 127, 213, 135, 176, -1, 128,
- 213, 135, 213, -1, 129, 213, 135, 213, 135, 213,
- -1, 130, 213, 135, 213, 135, 213, -1, 122, 220,
- -1, 223, 164, 178, 212, 138, 221, 139, 168, -1,
- 226, -1, 29, -1, -1, 104, 176, 170, -1, 104,
- 176, 135, 10, 212, 170, -1, 105, 176, 170, -1,
- 105, 176, 135, 10, 212, 170, -1, 106, 213, -1,
- 225, 107, 176, 212, -1, 225, 108, 213, 135, 176,
- 212, -1, 109, 176, 212, 222, -1
+ 185, 0, -1, 5, -1, 6, -1, 69, -1, 70,
+ -1, 71, -1, 72, -1, 73, -1, 74, -1, 75,
+ -1, 76, -1, 77, -1, 78, -1, 79, -1, 80,
+ -1, 109, -1, 110, -1, 111, -1, 112, -1, 113,
+ -1, 114, -1, 115, -1, 116, -1, 117, -1, 118,
+ -1, 119, -1, 120, -1, 123, -1, 124, -1, 125,
+ -1, 83, -1, 84, -1, 85, -1, 86, -1, 87,
+ -1, 88, -1, 89, -1, 90, -1, 91, -1, 92,
+ -1, 93, -1, 94, -1, 95, -1, 96, -1, 97,
+ -1, 98, -1, 99, -1,