diff --git a/bochs/bx_debug/dbg_main.cc b/bochs/bx_debug/dbg_main.cc index fa0f976d6..efbebb7d6 100644 --- a/bochs/bx_debug/dbg_main.cc +++ b/bochs/bx_debug/dbg_main.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: dbg_main.cc,v 1.94 2007-07-09 14:57:33 sshwarts Exp $ +// $Id: dbg_main.cc,v 1.95 2007-09-23 21:10:06 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -713,7 +713,7 @@ next_page: } } else { - dbg_printf("bx_dbg_read_linear: physical address not available for linear " FMT_ADDRX "\n", laddr); + dbg_printf("bx_dbg_read_linear: physical address not available for linear 0x" FMT_ADDRX "\n", laddr); return 0; } @@ -813,6 +813,20 @@ static void dbg_print_guard_found(unsigned cpu_mode, Bit32u cs, bx_address eip, dbg_printf("%04x:%04x (0x%08x)", cs, (unsigned) eip, (unsigned) laddr); } +void bx_dbg_xlate_address(bx_lin_address laddr) +{ + bx_phy_address paddr; + laddr &= BX_CONST64(0xfffffffffffff000); + + bx_bool paddr_valid = BX_CPU(which_cpu)->dbg_xlate_linear2phy(laddr, &paddr); + if (paddr_valid) { + dbg_printf("linear page 0x" FMT_ADDRX " maps to physical page 0x%08x\n", laddr, paddr); + } + else { + dbg_printf("physical address not available for linear 0x" FMT_ADDRX "\n", laddr); + } +} + unsigned dbg_show_mask = 0; #define BX_DBG_SHOW_CALLRET (Flag_call|Flag_ret) @@ -1227,7 +1241,7 @@ one_more: // execute. Even this is tricky with SMP because one might // have hit a breakpoint, while others executed the whole // quantum. - int max_executed = 0; + Bit32u max_executed = 0; for (cpu=0; cpuguard_found.icount > max_executed) max_executed = BX_CPU(cpu)->guard_found.icount; @@ -2661,7 +2675,6 @@ void bx_dbg_print_descriptor(unsigned char desc[8], int verbose) { Bit32u lo = (desc[3] << 24) | (desc[2] << 16) | (desc[1] << 8) | (desc[0]); Bit32u hi = (desc[7] << 24) | (desc[6] << 16) | (desc[5] << 8) | (desc[4]); -//dbg_printf("Descriptor hi,lo = %08x,%08x\n", hi, lo); Bit32u base = ((lo >> 16) & 0xffff) | ((hi << 16) & 0xff0000) | (hi & 0xff000000); @@ -3220,7 +3233,7 @@ void bx_dbg_dump_table(void) return; } - printf("cr3: " FMT_ADDRX "\n", BX_CPU(dbg_cpu)->cr3); + printf("cr3: 0x" FMT_ADDRX "\n", BX_CPU(dbg_cpu)->cr3); lin = 0; phy = 0; @@ -3267,7 +3280,7 @@ void bx_dbg_print_help(void) dbg_printf(" bpe, bpd, d|del|delete\n"); dbg_printf("-*- CPU and memory contents -*-\n"); dbg_printf(" x, xp, u|disasm|disassemble, r|reg|regs|registers, setpmem, crc, info,\n"); - dbg_printf(" set, dump_cpu, set_cpu, ptime, print-stack, watch, unwatch, ?|calc\n"); + dbg_printf(" page, set, dump_cpu, set_cpu, ptime, print-stack, watch, unwatch, ?|calc\n"); } void bx_dbg_calc_command(Bit64u value) diff --git a/bochs/bx_debug/debug.h b/bochs/bx_debug/debug.h index fa2fb81c9..4f05b975f 100644 --- a/bochs/bx_debug/debug.h +++ b/bochs/bx_debug/debug.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: debug.h,v 1.30 2006-10-24 17:53:47 vruppert Exp $ +// $Id: debug.h,v 1.31 2007-09-23 21:10:06 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -234,6 +234,7 @@ void bx_dbg_playback_command(char*); void bx_dbg_modebp_command(void); void bx_dbg_where_command(void); void bx_dbg_print_string_command(bx_address addr); +void bx_dbg_xlate_address(bx_lin_address address); void bx_dbg_show_command(const char*); void bx_dbg_show_param_command(char *param); void bx_dbg_print_stack_command(unsigned nwords); diff --git a/bochs/bx_debug/parser.c b/bochs/bx_debug/parser.c index 755676a00..bc0b93735 100644 --- a/bochs/bx_debug/parser.c +++ b/bochs/bx_debug/parser.c @@ -1,7 +1,9 @@ -/* A Bison parser, made by GNU Bison 1.875b. */ +/* A Bison parser, made by GNU Bison 2.3. */ -/* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +/* 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. 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 @@ -15,16 +17,24 @@ 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. */ + 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. */ +/* 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. -/* Written by Richard Stallman by simplifying the original so called - ``semantic'' parser. */ + 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 @@ -36,6 +46,9 @@ /* Identify Bison output. */ #define YYBISON 1 +/* Bison version. */ +#define YYBISON_VERSION "2.3" + /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -45,8 +58,7 @@ /* Using locations. */ #define YYLSP_NEEDED 0 -/* If NAME_PREFIX is specified substitute the variables and functions - names. */ +/* Substitute the variable and function names. */ #define yyparse bxparse #define yylex bxlex #define yyerror bxerror @@ -163,6 +175,7 @@ NOT = 356 }; #endif +/* Tokens. */ #define BX_TOKEN_8BH_REG 258 #define BX_TOKEN_8BL_REG 259 #define BX_TOKEN_16B_REG 260 @@ -289,15 +302,22 @@ # define YYERROR_VERBOSE 0 #endif -#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +/* Enabling the token table. */ +#ifndef YYTOKEN_TABLE +# define YYTOKEN_TABLE 0 +#endif + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE #line 13 "parser.y" -typedef union YYSTYPE { +{ char *sval; Bit64u uval; bx_bool bval; -} YYSTYPE; -/* Line 191 of yacc.c. */ -#line 301 "y.tab.c" +} +/* Line 187 of yacc.c. */ +#line 320 "y.tab.c" + YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 @@ -308,49 +328,171 @@ typedef union YYSTYPE { /* Copy the second part of user declarations. */ -/* Line 214 of yacc.c. */ -#line 313 "y.tab.c" +/* Line 216 of yacc.c. */ +#line 333 "y.tab.c" -#if ! defined (yyoverflow) || YYERROR_VERBOSE +#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 + +#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 /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned int +# endif +#endif + +#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) + +#ifndef YY_ +# if YYENABLE_NLS +# if ENABLE_NLS +# include /* 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 + +/* 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. */ -# if YYSTACK_USE_ALLOCA -# define YYSTACK_ALLOC alloca -# else -# ifndef YYSTACK_USE_ALLOCA -# if defined (alloca) || defined (_ALLOCA_H) -# define YYSTACK_ALLOC alloca +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# elif defined __BUILTIN_VA_ARG_INCR +# include /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca # else -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca +# define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +# include /* 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 (0) -# else -# if defined (__STDC__) || defined (__cplusplus) -# include /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t + /* 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 /* 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 -# define YYSTACK_ALLOC malloc -# define YYSTACK_FREE free # endif -#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ +#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ -#if (! defined (yyoverflow) \ - && (! defined (__cplusplus) \ - || (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 { - short yyss; + yytype_int16 yyss; YYSTYPE yyvs; }; @@ -360,24 +502,24 @@ union yyalloc /* The size of an array large to enough to hold all stacks, each with N elements. */ # define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + ((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 1 < __GNUC__ +# if defined __GNUC__ && 1 < __GNUC__ # define YYCOPY(To, From, Count) \ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) # else # define YYCOPY(To, From, Count) \ do \ { \ - register YYSIZE_T yyi; \ + YYSIZE_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ - while (0) + while (YYID (0)) # endif # endif @@ -395,39 +537,33 @@ union yyalloc yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ - while (0) + while (YYID (0)) #endif -#if defined (__STDC__) || defined (__cplusplus) - typedef signed char yysigned_char; -#else - typedef short yysigned_char; -#endif - -/* YYFINAL -- State number of the termination state. */ -#define YYFINAL 248 +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 252 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 1071 +#define YYLAST 1090 -/* YYNTOKENS -- Number of terminals. */ +/* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 115 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 46 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 237 -/* YYNRULES -- Number of states. */ -#define YYNSTATES 461 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 47 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 240 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 467 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 356 -#define YYTRANSLATE(YYX) \ +#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -static const unsigned char yytranslate[] = +static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 109, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -470,209 +606,212 @@ static const unsigned char yytranslate[] = #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ -static const unsigned short yyprhs[] = +static const yytype_uint16 yyprhs[] = { 0, 0, 3, 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, 85, 87, 89, 91, 93, 95, 97, - 99, 101, 103, 107, 111, 115, 119, 122, 126, 130, - 133, 136, 140, 144, 147, 151, 155, 159, 162, 165, - 170, 175, 180, 185, 189, 194, 200, 203, 207, 210, - 213, 217, 220, 225, 231, 237, 243, 249, 255, 261, - 264, 270, 273, 277, 281, 284, 288, 293, 296, 299, - 303, 307, 311, 315, 319, 323, 327, 331, 337, 343, - 349, 355, 359, 363, 367, 371, 375, 380, 384, 388, - 394, 402, 406, 410, 411, 413, 416, 419, 423, 427, - 431, 434, 439, 443, 447, 450, 456, 460, 464, 469, - 473, 476, 479, 483, 488, 492, 497, 503, 507, 513, - 517, 521, 525, 530, 534, 538, 542, 546, 550, 554, - 558, 562, 566, 570, 574, 578, 582, 586, 590, 594, - 598, 602, 606, 610, 614, 618, 622, 626, 630, 634, - 638, 642, 646, 650, 654, 658, 662, 666, 670, 674, - 678, 681, 685, 687, 689, 691, 693, 695, 697, 699, - 701, 703, 705, 709, 713, 717, 721, 725, 729, 733, - 737, 741, 744, 747, 751, 753, 755, 757, 759, 761, - 763, 765, 767, 769, 771, 773, 777, 781, 785, 789, - 793, 797, 801, 805, 809, 813, 816, 819 + 80, 82, 84, 86, 87, 89, 91, 93, 95, 97, + 99, 101, 103, 105, 109, 113, 117, 121, 124, 128, + 132, 135, 139, 142, 146, 150, 153, 157, 161, 165, + 168, 171, 176, 181, 186, 191, 195, 200, 206, 209, + 213, 216, 219, 223, 226, 231, 237, 243, 249, 255, + 261, 267, 270, 276, 279, 283, 287, 290, 294, 299, + 302, 305, 309, 313, 317, 321, 325, 329, 333, 337, + 343, 349, 355, 361, 365, 369, 373, 377, 381, 386, + 390, 394, 400, 408, 412, 416, 417, 419, 422, 425, + 429, 433, 437, 440, 445, 449, 453, 456, 462, 466, + 470, 475, 479, 482, 485, 489, 494, 498, 503, 509, + 513, 519, 523, 527, 531, 536, 540, 544, 548, 552, + 556, 560, 564, 568, 572, 576, 580, 584, 588, 592, + 596, 600, 604, 608, 612, 616, 620, 624, 628, 632, + 636, 640, 644, 648, 652, 656, 660, 664, 668, 672, + 676, 680, 684, 688, 691, 695, 697, 699, 701, 703, + 705, 707, 709, 711, 713, 715, 719, 723, 727, 731, + 735, 739, 743, 747, 751, 754, 757, 761, 763, 765, + 767, 769, 771, 773, 775, 777, 779, 781, 783, 787, + 791, 795, 799, 803, 807, 811, 815, 819, 823, 826, + 829 }; -/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -static const short yyrhs[] = +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yytype_int16 yyrhs[] = { - 116, 0, -1, 116, 117, -1, 117, -1, 133, -1, - 134, -1, 135, -1, 136, -1, 137, -1, 140, -1, - 142, -1, 138, -1, 139, -1, 143, -1, 144, -1, - 145, -1, 146, -1, 147, -1, 148, -1, 149, -1, - 150, -1, 151, -1, 152, -1, 153, -1, 154, -1, - 155, -1, 156, -1, 126, -1, 127, -1, 125, -1, - 120, -1, 121, -1, 122, -1, 123, -1, 128, -1, - 129, -1, 124, -1, 130, -1, 131, -1, 132, -1, - 157, -1, 158, -1, -1, 109, -1, 15, -1, 16, - -1, 8, -1, 9, -1, 10, -1, 11, -1, 12, - -1, 13, -1, 70, 86, 109, -1, 69, 86, 109, - -1, 71, 60, 109, -1, 72, 60, 109, -1, 73, - 109, -1, 79, 93, 109, -1, 79, 60, 109, -1, - 79, 109, -1, 68, 109, -1, 64, 118, 109, -1, - 65, 118, 109, -1, 74, 109, -1, 74, 86, 109, - -1, 75, 61, 109, -1, 75, 17, 109, -1, 75, - 109, -1, 76, 109, -1, 75, 77, 86, 109, -1, - 76, 77, 86, 109, -1, 75, 78, 86, 109, -1, - 76, 78, 86, 109, -1, 80, 60, 109, -1, 80, - 60, 86, 109, -1, 80, 83, 60, 86, 109, -1, - 84, 109, -1, 85, 86, 109, -1, 17, 109, -1, - 18, 109, -1, 18, 86, 109, -1, 19, 109, -1, - 21, 58, 118, 109, -1, 21, 50, 110, 86, 109, - -1, 21, 4, 110, 160, 109, -1, 21, 3, 110, - 160, 109, -1, 21, 5, 110, 160, 109, -1, 21, - 6, 110, 160, 109, -1, 21, 7, 110, 160, 109, - -1, 24, 109, -1, 24, 159, 111, 159, 109, -1, - 25, 109, -1, 25, 160, 109, -1, 25, 60, 109, - -1, 26, 109, -1, 26, 160, 109, -1, 26, 104, - 160, 109, -1, 23, 109, -1, 82, 109, -1, 82, - 60, 109, -1, 30, 26, 109, -1, 30, 33, 109, - -1, 30, 32, 109, -1, 30, 34, 109, -1, 30, - 35, 109, -1, 30, 36, 109, -1, 30, 43, 109, - -1, 30, 37, 141, 141, 109, -1, 30, 38, 141, - 141, 109, -1, 30, 39, 141, 141, 109, -1, 30, - 40, 141, 141, 109, -1, 30, 42, 109, -1, 30, - 41, 109, -1, 30, 14, 109, -1, 30, 44, 109, - -1, 30, 81, 109, -1, 30, 81, 60, 109, -1, - 30, 45, 109, -1, 30, 87, 109, -1, 30, 87, - 89, 86, 109, -1, 30, 87, 89, 86, 32, 86, - 109, -1, 30, 88, 109, -1, 30, 92, 109, -1, - -1, 86, -1, 32, 109, -1, 56, 109, -1, 27, - 86, 109, -1, 28, 86, 109, -1, 29, 86, 109, - -1, 31, 109, -1, 46, 47, 160, 109, -1, 46, - 47, 109, -1, 46, 160, 109, -1, 46, 109, -1, - 49, 86, 86, 86, 109, -1, 51, 52, 109, -1, - 53, 54, 109, -1, 53, 54, 86, 109, -1, 53, - 55, 109, -1, 57, 109, -1, 58, 109, -1, 58, - 160, 109, -1, 58, 160, 160, 109, -1, 58, 48, - 109, -1, 58, 48, 160, 109, -1, 58, 48, 160, - 160, 109, -1, 58, 66, 109, -1, 58, 67, 110, - 86, 109, -1, 59, 61, 109, -1, 59, 93, 109, - -1, 62, 86, 109, -1, 63, 86, 86, 109, -1, - 90, 31, 109, -1, 90, 17, 109, -1, 90, 18, - 109, -1, 90, 19, 109, -1, 90, 24, 109, -1, - 90, 25, 109, -1, 90, 26, 109, -1, 90, 27, - 109, -1, 90, 28, 109, -1, 90, 29, 109, -1, - 90, 23, 109, -1, 90, 73, 109, -1, 90, 63, - 109, -1, 90, 64, 109, -1, 90, 65, 109, -1, - 90, 56, 109, -1, 90, 57, 109, -1, 90, 68, - 109, -1, 90, 70, 109, -1, 90, 69, 109, -1, - 90, 74, 109, -1, 90, 71, 109, -1, 90, 72, - 109, -1, 90, 80, 109, -1, 90, 82, 109, -1, - 90, 32, 109, -1, 90, 49, 109, -1, 90, 58, - 109, -1, 90, 75, 109, -1, 90, 76, 109, -1, - 90, 46, 109, -1, 90, 59, 109, -1, 90, 21, + 116, 0, -1, 116, 117, -1, 117, -1, 134, -1, + 135, -1, 136, -1, 137, -1, 138, -1, 141, -1, + 143, -1, 139, -1, 140, -1, 144, -1, 145, -1, + 146, -1, 147, -1, 148, -1, 149, -1, 150, -1, + 151, -1, 152, -1, 153, -1, 154, -1, 155, -1, + 156, -1, 157, -1, 127, -1, 128, -1, 126, -1, + 120, -1, 121, -1, 122, -1, 123, -1, 129, -1, + 130, -1, 125, -1, 124, -1, 131, -1, 132, -1, + 133, -1, 158, -1, 159, -1, -1, 109, -1, 15, + -1, 16, -1, 8, -1, 9, -1, 10, -1, 11, + -1, 12, -1, 13, -1, 70, 86, 109, -1, 69, + 86, 109, -1, 71, 60, 109, -1, 72, 60, 109, + -1, 73, 109, -1, 79, 93, 109, -1, 79, 60, + 109, -1, 79, 109, -1, 89, 86, 109, -1, 68, + 109, -1, 64, 118, 109, -1, 65, 118, 109, -1, + 74, 109, -1, 74, 86, 109, -1, 75, 61, 109, + -1, 75, 17, 109, -1, 75, 109, -1, 76, 109, + -1, 75, 77, 86, 109, -1, 76, 77, 86, 109, + -1, 75, 78, 86, 109, -1, 76, 78, 86, 109, + -1, 80, 60, 109, -1, 80, 60, 86, 109, -1, + 80, 83, 60, 86, 109, -1, 84, 109, -1, 85, + 86, 109, -1, 17, 109, -1, 18, 109, -1, 18, + 86, 109, -1, 19, 109, -1, 21, 58, 118, 109, + -1, 21, 50, 110, 86, 109, -1, 21, 4, 110, + 161, 109, -1, 21, 3, 110, 161, 109, -1, 21, + 5, 110, 161, 109, -1, 21, 6, 110, 161, 109, + -1, 21, 7, 110, 161, 109, -1, 24, 109, -1, + 24, 160, 111, 160, 109, -1, 25, 109, -1, 25, + 161, 109, -1, 25, 60, 109, -1, 26, 109, -1, + 26, 161, 109, -1, 26, 104, 161, 109, -1, 23, + 109, -1, 82, 109, -1, 82, 60, 109, -1, 30, + 26, 109, -1, 30, 33, 109, -1, 30, 32, 109, + -1, 30, 34, 109, -1, 30, 35, 109, -1, 30, + 36, 109, -1, 30, 43, 109, -1, 30, 37, 142, + 142, 109, -1, 30, 38, 142, 142, 109, -1, 30, + 39, 142, 142, 109, -1, 30, 40, 142, 142, 109, + -1, 30, 42, 109, -1, 30, 41, 109, -1, 30, + 14, 109, -1, 30, 44, 109, -1, 30, 81, 109, + -1, 30, 81, 60, 109, -1, 30, 45, 109, -1, + 30, 87, 109, -1, 30, 87, 89, 86, 109, -1, + 30, 87, 89, 86, 32, 86, 109, -1, 30, 88, + 109, -1, 30, 92, 109, -1, -1, 86, -1, 32, + 109, -1, 56, 109, -1, 27, 86, 109, -1, 28, + 86, 109, -1, 29, 86, 109, -1, 31, 109, -1, + 46, 47, 161, 109, -1, 46, 47, 109, -1, 46, + 161, 109, -1, 46, 109, -1, 49, 86, 86, 86, + 109, -1, 51, 52, 109, -1, 53, 54, 109, -1, + 53, 54, 86, 109, -1, 53, 55, 109, -1, 57, + 109, -1, 58, 109, -1, 58, 161, 109, -1, 58, + 161, 161, 109, -1, 58, 48, 109, -1, 58, 48, + 161, 109, -1, 58, 48, 161, 161, 109, -1, 58, + 66, 109, -1, 58, 67, 110, 86, 109, -1, 59, + 61, 109, -1, 59, 93, 109, -1, 62, 86, 109, + -1, 63, 86, 86, 109, -1, 90, 31, 109, -1, + 90, 17, 109, -1, 90, 18, 109, -1, 90, 19, + 109, -1, 90, 24, 109, -1, 90, 25, 109, -1, + 90, 26, 109, -1, 90, 27, 109, -1, 90, 28, + 109, -1, 90, 29, 109, -1, 90, 23, 109, -1, + 90, 73, 109, -1, 90, 63, 109, -1, 90, 64, + 109, -1, 90, 65, 109, -1, 90, 56, 109, -1, + 90, 57, 109, -1, 90, 68, 109, -1, 90, 70, + 109, -1, 90, 69, 109, -1, 90, 74, 109, -1, + 90, 71, 109, -1, 90, 72, 109, -1, 90, 80, + 109, -1, 90, 82, 109, -1, 90, 32, 109, -1, + 90, 49, 109, -1, 90, 58, 109, -1, 90, 75, + 109, -1, 90, 76, 109, -1, 90, 46, 109, -1, + 90, 59, 109, -1, 90, 21, 109, -1, 90, 89, 109, -1, 90, 30, 109, -1, 90, 79, 109, -1, 90, 91, 109, -1, 90, 90, 109, -1, 90, 109, - -1, 91, 160, 109, -1, 86, -1, 4, -1, 3, + -1, 91, 161, 109, -1, 86, -1, 4, -1, 3, -1, 5, -1, 6, -1, 7, -1, 119, -1, 97, - -1, 98, -1, 99, -1, 159, 100, 159, -1, 159, - 101, 159, -1, 159, 104, 159, -1, 159, 105, 159, - -1, 159, 95, 159, -1, 159, 96, 159, -1, 159, - 102, 159, -1, 159, 103, 159, -1, 159, 106, 159, - -1, 112, 159, -1, 101, 159, -1, 113, 159, 114, + -1, 98, -1, 99, -1, 160, 100, 160, -1, 160, + 101, 160, -1, 160, 104, 160, -1, 160, 105, 160, + -1, 160, 95, 160, -1, 160, 96, 160, -1, 160, + 102, 160, -1, 160, 103, 160, -1, 160, 106, 160, + -1, 112, 160, -1, 101, 160, -1, 113, 160, 114, -1, 86, -1, 60, -1, 4, -1, 3, -1, 5, -1, 6, -1, 7, -1, 119, -1, 97, -1, 98, - -1, 99, -1, 160, 111, 160, -1, 160, 100, 160, - -1, 160, 101, 160, -1, 160, 104, 160, -1, 160, - 105, 160, -1, 160, 95, 160, -1, 160, 96, 160, - -1, 160, 102, 160, -1, 160, 103, 160, -1, 160, - 106, 160, -1, 112, 160, -1, 101, 160, -1, 113, - 160, 114, -1 + -1, 99, -1, 161, 111, 161, -1, 161, 100, 161, + -1, 161, 101, 161, -1, 161, 104, 161, -1, 161, + 105, 161, -1, 161, 95, 161, -1, 161, 96, 161, + -1, 161, 102, 161, -1, 161, 103, 161, -1, 161, + 106, 161, -1, 112, 161, -1, 101, 161, -1, 113, + 161, 114, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const unsigned short yyrline[] = +static const yytype_uint16 yyrline[] = { 0, 133, 133, 134, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, - 174, 175, 176, 177, 183, 184, 189, 190, 191, 192, - 193, 194, 199, 204, 212, 220, 228, 236, 241, 246, - 254, 262, 270, 278, 283, 291, 297, 303, 308, 313, - 318, 323, 328, 336, 341, 346, 354, 362, 370, 378, - 383, 391, 399, 404, 409, 413, 417, 421, 425, 432, - 437, 442, 447, 452, 457, 462, 467, 475, 483, 488, - 496, 501, 506, 511, 516, 521, 526, 531, 536, 541, - 546, 551, 556, 561, 566, 571, 576, 581, 586, 591, - 596, 601, 606, 614, 615, 618, 626, 634, 642, 649, - 657, 665, 670, 675, 680, 688, 696, 704, 709, 714, - 722, 730, 735, 740, 745, 750, 755, 760, 765, 773, - 778, 786, 794, 802, 807, 812, 817, 822, 827, 832, - 837, 842, 847, 852, 857, 862, 867, 873, 879, 884, - 889, 894, 899, 904, 909, 914, 919, 924, 929, 934, - 939, 948, 957, 964, 977, 985, 995, 1016, 1028, 1038, - 1043, 1051, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, - 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, - 1087, 1088, 1089, 1090, 1095, 1096, 1097, 1098, 1099, 1100, - 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, - 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118 + 174, 175, 176, 177, 178, 184, 185, 190, 191, 192, + 193, 194, 195, 200, 205, 213, 221, 229, 237, 242, + 247, 255, 263, 271, 279, 287, 292, 300, 306, 312, + 317, 322, 327, 332, 337, 345, 350, 355, 363, 371, + 379, 387, 392, 400, 408, 413, 418, 422, 426, 430, + 434, 441, 446, 451, 456, 461, 466, 471, 476, 484, + 492, 497, 505, 510, 515, 520, 525, 530, 535, 540, + 545, 550, 555, 560, 565, 570, 575, 580, 585, 590, + 595, 600, 605, 610, 615, 623, 624, 627, 635, 643, + 651, 658, 666, 674, 679, 684, 689, 697, 705, 713, + 718, 723, 731, 739, 744, 749, 754, 759, 764, 769, + 774, 782, 787, 795, 803, 811, 816, 821, 826, 831, + 836, 841, 846, 851, 856, 861, 866, 871, 876, 882, + 888, 893, 898, 903, 908, 913, 918, 923, 928, 933, + 938, 943, 948, 957, 966, 973, 986, 994, 1004, 1009, + 1030, 1042, 1052, 1057, 1065, 1083, 1084, 1085, 1086, 1087, + 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, + 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1109, 1110, 1111, + 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, + 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, + 1132 }; #endif -#if YYDEBUG || YYERROR_VERBOSE -/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { - "$end", "error", "$undefined", "BX_TOKEN_8BH_REG", "BX_TOKEN_8BL_REG", - "BX_TOKEN_16B_REG", "BX_TOKEN_32B_REG", "BX_TOKEN_64B_REG", - "BX_TOKEN_CS", "BX_TOKEN_ES", "BX_TOKEN_SS", "BX_TOKEN_DS", - "BX_TOKEN_FS", "BX_TOKEN_GS", "BX_TOKEN_FLAGS", "BX_TOKEN_ON", - "BX_TOKEN_OFF", "BX_TOKEN_CONTINUE", "BX_TOKEN_STEPN", - "BX_TOKEN_STEP_OVER", "BX_TOKEN_NEXT_STEP", "BX_TOKEN_SET", - "BX_TOKEN_DEBUGGER", "BX_TOKEN_LIST_BREAK", "BX_TOKEN_VBREAKPOINT", - "BX_TOKEN_LBREAKPOINT", "BX_TOKEN_PBREAKPOINT", - "BX_TOKEN_DEL_BREAKPOINT", "BX_TOKEN_ENABLE_BREAKPOINT", - "BX_TOKEN_DISABLE_BREAKPOINT", "BX_TOKEN_INFO", "BX_TOKEN_QUIT", - "BX_TOKEN_REGISTERS", "BX_TOKEN_CPU", "BX_TOKEN_FPU", "BX_TOKEN_SSE", - "BX_TOKEN_ALL", "BX_TOKEN_IDT", "BX_TOKEN_IVT", "BX_TOKEN_GDT", - "BX_TOKEN_LDT", "BX_TOKEN_TSS", "BX_TOKEN_TAB", "BX_TOKEN_DIRTY", - "BX_TOKEN_LINUX", "BX_TOKEN_CONTROL_REGS", "BX_TOKEN_EXAMINE", - "BX_TOKEN_XFORMAT", "BX_TOKEN_DISFORMAT", "BX_TOKEN_SETPMEM", - "BX_TOKEN_SYMBOLNAME", "BX_TOKEN_QUERY", "BX_TOKEN_PENDING", - "BX_TOKEN_TAKE", "BX_TOKEN_DMA", "BX_TOKEN_IRQ", "BX_TOKEN_DUMP_CPU", - "BX_TOKEN_SET_CPU", "BX_TOKEN_DISASSEMBLE", "BX_TOKEN_INSTRUMENT", - "BX_TOKEN_STRING", "BX_TOKEN_STOP", "BX_TOKEN_DOIT", "BX_TOKEN_CRC", - "BX_TOKEN_TRACE", "BX_TOKEN_TRACEREG", "BX_TOKEN_SWITCH_MODE", - "BX_TOKEN_SIZE", "BX_TOKEN_PTIME", "BX_TOKEN_TIMEBP_ABSOLUTE", - "BX_TOKEN_TIMEBP", "BX_TOKEN_RECORD", "BX_TOKEN_PLAYBACK", - "BX_TOKEN_MODEBP", "BX_TOKEN_PRINT_STACK", "BX_TOKEN_WATCH", - "BX_TOKEN_UNWATCH", "BX_TOKEN_READ", "BX_TOKEN_WRITE", "BX_TOKEN_SHOW", - "BX_TOKEN_LOAD_SYMBOLS", "BX_TOKEN_SYMBOLS", "BX_TOKEN_LIST_SYMBOLS", - "BX_TOKEN_GLOBAL", "BX_TOKEN_WHERE", "BX_TOKEN_PRINT_STRING", - "BX_TOKEN_NUMERIC", "BX_TOKEN_NE2000", "BX_TOKEN_PIC", "BX_TOKEN_PAGE", - "BX_TOKEN_HELP", "BX_TOKEN_CALC", "BX_TOKEN_VGA", "BX_TOKEN_COMMAND", - "BX_TOKEN_GENERIC", "BX_TOKEN_RSHIFT", "BX_TOKEN_LSHIFT", - "BX_TOKEN_REG_IP", "BX_TOKEN_REG_EIP", "BX_TOKEN_REG_RIP", "'+'", "'-'", - "'|'", "'^'", "'*'", "'/'", "'&'", "NEG", "NOT", "'\\n'", "'='", "':'", - "'!'", "'('", "')'", "$accept", "commands", "command", - "BX_TOKEN_TOGGLE_ON_OFF", "BX_TOKEN_SEGREG", "timebp_command", - "record_command", "playback_command", "modebp_command", "show_command", - "ptime_command", "trace_command", "trace_reg_command", - "print_stack_command", "watch_point_command", "symbol_command", - "where_command", "print_string_command", "continue_command", - "stepN_command", "step_over_command", "set_command", - "breakpoint_command", "blist_command", "slist_command", "info_command", - "optional_numeric", "regs_command", "dump_cpu_command", - "delete_command", "bpe_command", "bpd_command", "quit_command", - "examine_command", "setpmem_command", "query_command", "take_command", - "set_cpu_command", "disassemble_command", "instrument_command", - "doit_command", "crc_command", "help_command", "calc_command", - "vexpression", "expression", 0 + "$end", "error", "$undefined", "BX_TOKEN_8BH_REG", "BX_TOKEN_8BL_REG", + "BX_TOKEN_16B_REG", "BX_TOKEN_32B_REG", "BX_TOKEN_64B_REG", + "BX_TOKEN_CS", "BX_TOKEN_ES", "BX_TOKEN_SS", "BX_TOKEN_DS", + "BX_TOKEN_FS", "BX_TOKEN_GS", "BX_TOKEN_FLAGS", "BX_TOKEN_ON", + "BX_TOKEN_OFF", "BX_TOKEN_CONTINUE", "BX_TOKEN_STEPN", + "BX_TOKEN_STEP_OVER", "BX_TOKEN_NEXT_STEP", "BX_TOKEN_SET", + "BX_TOKEN_DEBUGGER", "BX_TOKEN_LIST_BREAK", "BX_TOKEN_VBREAKPOINT", + "BX_TOKEN_LBREAKPOINT", "BX_TOKEN_PBREAKPOINT", + "BX_TOKEN_DEL_BREAKPOINT", "BX_TOKEN_ENABLE_BREAKPOINT", + "BX_TOKEN_DISABLE_BREAKPOINT", "BX_TOKEN_INFO", "BX_TOKEN_QUIT", + "BX_TOKEN_REGISTERS", "BX_TOKEN_CPU", "BX_TOKEN_FPU", "BX_TOKEN_SSE", + "BX_TOKEN_ALL", "BX_TOKEN_IDT", "BX_TOKEN_IVT", "BX_TOKEN_GDT", + "BX_TOKEN_LDT", "BX_TOKEN_TSS", "BX_TOKEN_TAB", "BX_TOKEN_DIRTY", + "BX_TOKEN_LINUX", "BX_TOKEN_CONTROL_REGS", "BX_TOKEN_EXAMINE", + "BX_TOKEN_XFORMAT", "BX_TOKEN_DISFORMAT", "BX_TOKEN_SETPMEM", + "BX_TOKEN_SYMBOLNAME", "BX_TOKEN_QUERY", "BX_TOKEN_PENDING", + "BX_TOKEN_TAKE", "BX_TOKEN_DMA", "BX_TOKEN_IRQ", "BX_TOKEN_DUMP_CPU", + "BX_TOKEN_SET_CPU", "BX_TOKEN_DISASSEMBLE", "BX_TOKEN_INSTRUMENT", + "BX_TOKEN_STRING", "BX_TOKEN_STOP", "BX_TOKEN_DOIT", "BX_TOKEN_CRC", + "BX_TOKEN_TRACE", "BX_TOKEN_TRACEREG", "BX_TOKEN_SWITCH_MODE", + "BX_TOKEN_SIZE", "BX_TOKEN_PTIME", "BX_TOKEN_TIMEBP_ABSOLUTE", + "BX_TOKEN_TIMEBP", "BX_TOKEN_RECORD", "BX_TOKEN_PLAYBACK", + "BX_TOKEN_MODEBP", "BX_TOKEN_PRINT_STACK", "BX_TOKEN_WATCH", + "BX_TOKEN_UNWATCH", "BX_TOKEN_READ", "BX_TOKEN_WRITE", "BX_TOKEN_SHOW", + "BX_TOKEN_LOAD_SYMBOLS", "BX_TOKEN_SYMBOLS", "BX_TOKEN_LIST_SYMBOLS", + "BX_TOKEN_GLOBAL", "BX_TOKEN_WHERE", "BX_TOKEN_PRINT_STRING", + "BX_TOKEN_NUMERIC", "BX_TOKEN_NE2000", "BX_TOKEN_PIC", "BX_TOKEN_PAGE", + "BX_TOKEN_HELP", "BX_TOKEN_CALC", "BX_TOKEN_VGA", "BX_TOKEN_COMMAND", + "BX_TOKEN_GENERIC", "BX_TOKEN_RSHIFT", "BX_TOKEN_LSHIFT", + "BX_TOKEN_REG_IP", "BX_TOKEN_REG_EIP", "BX_TOKEN_REG_RIP", "'+'", "'-'", + "'|'", "'^'", "'*'", "'/'", "'&'", "NEG", "NOT", "'\\n'", "'='", "':'", + "'!'", "'('", "')'", "$accept", "commands", "command", + "BX_TOKEN_TOGGLE_ON_OFF", "BX_TOKEN_SEGREG", "timebp_command", + "record_command", "playback_command", "modebp_command", "show_command", + "page_command", "ptime_command", "trace_command", "trace_reg_command", + "print_stack_command", "watch_point_command", "symbol_command", + "where_command", "print_string_command", "continue_command", + "stepN_command", "step_over_command", "set_command", + "breakpoint_command", "blist_command", "slist_command", "info_command", + "optional_numeric", "regs_command", "dump_cpu_command", "delete_command", + "bpe_command", "bpd_command", "quit_command", "examine_command", + "setpmem_command", "query_command", "take_command", "set_cpu_command", + "disassemble_command", "instrument_command", "doit_command", + "crc_command", "help_command", "calc_command", "vexpression", + "expression", 0 }; #endif # ifdef YYPRINT /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */ -static const unsigned short yytoknum[] = +static const yytype_uint16 yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, @@ -690,489 +829,479 @@ static const unsigned short yytoknum[] = # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const unsigned char yyr1[] = +static const yytype_uint8 yyr1[] = { 0, 115, 116, 116, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, - 117, 117, 117, 117, 118, 118, 119, 119, 119, 119, - 119, 119, 120, 120, 121, 122, 123, 124, 124, 124, - 125, 126, 127, 128, 128, 129, 129, 129, 129, 129, - 129, 129, 129, 130, 130, 130, 131, 132, 133, 134, - 134, 135, 136, 136, 136, 136, 136, 136, 136, 137, - 137, 137, 137, 137, 137, 137, 137, 138, 139, 139, - 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, - 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, - 140, 140, 140, 141, 141, 142, 143, 144, 145, 146, - 147, 148, 148, 148, 148, 149, 150, 151, 151, 151, - 152, 153, 153, 153, 153, 153, 153, 153, 153, 154, - 154, 155, 156, 157, 157, 157, 157, 157, 157, 157, - 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, - 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, - 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, - 157, 158, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, - 159, 159, 159, 159, 160, 160, 160, 160, 160, 160, + 117, 117, 117, 117, 117, 118, 118, 119, 119, 119, + 119, 119, 119, 120, 120, 121, 122, 123, 124, 124, + 124, 125, 126, 127, 128, 129, 129, 130, 130, 130, + 130, 130, 130, 130, 130, 131, 131, 131, 132, 133, + 134, 135, 135, 136, 137, 137, 137, 137, 137, 137, + 137, 138, 138, 138, 138, 138, 138, 138, 138, 139, + 140, 140, 141, 141, 141, 141, 141, 141, 141, 141, + 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, + 141, 141, 141, 141, 141, 142, 142, 143, 144, 145, + 146, 147, 148, 149, 149, 149, 149, 150, 151, 152, + 152, 152, 153, 154, 154, 154, 154, 154, 154, 154, + 154, 155, 155, 156, 157, 158, 158, 158, 158, 158, + 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, + 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, + 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, + 158, 158, 158, 158, 159, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, - 160, 160, 160, 160, 160, 160, 160, 160 + 160, 160, 160, 160, 160, 160, 160, 161, 161, 161, + 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, + 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, + 161 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const unsigned char yyr2[] = +static const yytype_uint8 yyr2[] = { 0, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 3, 3, 3, 3, 2, 3, 3, 2, - 2, 3, 3, 2, 3, 3, 3, 2, 2, 4, - 4, 4, 4, 3, 4, 5, 2, 3, 2, 2, - 3, 2, 4, 5, 5, 5, 5, 5, 5, 2, - 5, 2, 3, 3, 2, 3, 4, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 5, 5, 5, - 5, 3, 3, 3, 3, 3, 4, 3, 3, 5, - 7, 3, 3, 0, 1, 2, 2, 3, 3, 3, - 2, 4, 3, 3, 2, 5, 3, 3, 4, 3, - 2, 2, 3, 4, 3, 4, 5, 3, 5, 3, - 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, + 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 3, 3, 3, 3, 2, 3, 3, + 2, 3, 2, 3, 3, 2, 3, 3, 3, 2, + 2, 4, 4, 4, 4, 3, 4, 5, 2, 3, + 2, 2, 3, 2, 4, 5, 5, 5, 5, 5, + 5, 2, 5, 2, 3, 3, 2, 3, 4, 2, + 2, 3, 3, 3, 3, 3, 3, 3, 3, 5, + 5, 5, 5, 3, 3, 3, 3, 3, 4, 3, + 3, 5, 7, 3, 3, 0, 1, 2, 2, 3, + 3, 3, 2, 4, 3, 3, 2, 5, 3, 3, + 4, 3, 2, 2, 3, 4, 3, 4, 5, 3, + 5, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 2, 2, 3, 1, 1, 1, 1, 1, 1, + 3, 3, 3, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 2, 2, 3 + 3, 3, 3, 3, 2, 2, 3, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, + 3 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ -static const unsigned char yydefact[] = +static const yytype_uint8 yydefact[] = { - 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 43, 0, 3, 30, 31, 32, 33, - 36, 29, 27, 28, 34, 35, 37, 38, 39, 4, - 5, 6, 7, 8, 11, 12, 9, 10, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 40, 41, 78, 0, 79, 81, 0, 0, - 0, 0, 0, 0, 0, 97, 194, 193, 195, 196, - 197, 46, 47, 48, 49, 50, 51, 192, 199, 200, - 201, 0, 89, 0, 0, 198, 0, 217, 216, 218, - 219, 220, 215, 214, 222, 223, 224, 0, 91, 0, - 0, 221, 0, 215, 0, 94, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 123, 123, 123, - 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 130, 125, 0, 134, 0, 0, 0, 0, 0, 126, - 140, 0, 0, 0, 141, 0, 0, 0, 0, 0, - 44, 45, 0, 0, 60, 0, 0, 0, 0, 56, - 0, 63, 0, 0, 0, 0, 67, 0, 0, 68, - 0, 0, 59, 0, 0, 0, 98, 76, 0, 0, + 0, 0, 0, 0, 44, 0, 3, 30, 31, 32, + 33, 37, 36, 29, 27, 28, 34, 35, 38, 39, + 40, 4, 5, 6, 7, 8, 11, 12, 9, 10, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 41, 42, 80, 0, 81, 83, + 0, 0, 0, 0, 0, 0, 0, 99, 197, 196, + 198, 199, 200, 47, 48, 49, 50, 51, 52, 195, + 202, 203, 204, 0, 91, 0, 0, 201, 0, 220, + 219, 221, 222, 223, 218, 217, 225, 226, 227, 0, + 93, 0, 0, 224, 0, 218, 0, 96, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, + 125, 125, 125, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 132, 127, 0, 136, 0, 0, 0, 0, + 0, 128, 142, 0, 0, 0, 143, 0, 0, 0, + 0, 0, 45, 46, 0, 0, 62, 0, 0, 0, + 0, 57, 0, 65, 0, 0, 0, 0, 69, 0, + 0, 70, 0, 0, 60, 0, 0, 0, 100, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 190, 0, 1, 2, - 80, 0, 0, 0, 0, 0, 0, 0, 212, 211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 93, 236, 235, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 92, 0, 0, 95, 127, 128, - 129, 113, 100, 102, 101, 103, 104, 105, 124, 123, - 123, 123, 123, 112, 111, 106, 114, 117, 0, 115, - 0, 118, 121, 122, 132, 0, 133, 0, 136, 0, - 137, 139, 144, 0, 147, 0, 0, 142, 0, 149, - 150, 151, 0, 61, 62, 53, 52, 54, 55, 64, - 66, 65, 0, 0, 0, 0, 58, 57, 0, 73, - 0, 99, 77, 154, 155, 156, 185, 163, 157, 158, - 159, 160, 161, 162, 186, 153, 178, 183, 179, 168, - 169, 180, 184, 165, 166, 167, 170, 172, 171, 174, - 175, 164, 173, 181, 182, 187, 176, 177, 189, 188, - 191, 0, 0, 0, 0, 0, 0, 82, 213, 206, - 207, 202, 203, 208, 209, 204, 205, 210, 0, 237, - 230, 231, 226, 227, 232, 233, 228, 229, 234, 225, - 96, 0, 0, 0, 0, 116, 0, 131, 0, 138, - 145, 0, 0, 227, 143, 152, 69, 71, 70, 72, - 74, 0, 85, 84, 86, 87, 88, 83, 90, 107, - 108, 109, 110, 0, 119, 135, 146, 148, 75, 0, - 120 + 193, 0, 1, 2, 82, 0, 0, 0, 0, 0, + 0, 0, 215, 214, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 95, 239, 238, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, + 0, 97, 129, 130, 131, 115, 102, 104, 103, 105, + 106, 107, 126, 125, 125, 125, 125, 114, 113, 108, + 116, 119, 0, 117, 0, 120, 123, 124, 134, 0, + 135, 0, 138, 0, 139, 141, 146, 0, 149, 0, + 0, 144, 0, 151, 152, 153, 0, 63, 64, 54, + 53, 55, 56, 66, 68, 67, 0, 0, 0, 0, + 59, 58, 0, 75, 0, 101, 79, 61, 156, 157, + 158, 187, 165, 159, 160, 161, 162, 163, 164, 189, + 155, 180, 185, 181, 170, 171, 182, 186, 167, 168, + 169, 172, 174, 173, 176, 177, 166, 175, 183, 184, + 190, 178, 179, 188, 192, 191, 194, 0, 0, 0, + 0, 0, 0, 84, 216, 209, 210, 205, 206, 211, + 212, 207, 208, 213, 0, 240, 233, 234, 229, 230, + 235, 236, 231, 232, 237, 228, 98, 0, 0, 0, + 0, 118, 0, 133, 0, 140, 147, 0, 0, 230, + 145, 154, 71, 73, 72, 74, 76, 0, 87, 86, + 88, 89, 90, 85, 92, 109, 110, 111, 112, 0, + 121, 137, 148, 150, 77, 0, 122 }; -/* YYDEFGOTO[NTERM-NUM]. */ -static const short yydefgoto[] = +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = { - -1, 44, 45, 182, 131, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, - 61, 62, 63, 64, 65, 66, 299, 67, 68, 69, - 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 116, 132 + -1, 45, 46, 184, 133, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 303, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 118, 134 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -145 -static const short yypact[] = +#define YYPACT_NINF -147 +static const yytype_int16 yypact[] = { - 734, -95, -59, -90, 19, -52, 501, 356, 293, -70, - -25, -21, 872, -41, -39, 339, -20, 22, -43, -38, - -34, 228, -44, -7, -2, 36, 36, -31, -1, 0, - 27, 29, -19, -56, -15, -49, -45, -28, -51, -16, - 5, 809, 526, -145, 634, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, 1, -145, -145, -3, 2, - 3, 4, 6, 7, 36, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, 637, -145, 637, 637, -145, 328, -145, -145, -145, - -145, -145, 11, -145, -145, -145, -145, 526, -145, 526, - 526, -145, 445, -145, 526, -145, 573, 14, 15, 16, - 33, 37, 38, 42, 50, 51, 52, 25, 25, 25, - 25, 53, 55, 56, 57, 70, -50, -42, 71, 72, - -145, -145, 467, -145, 673, 67, 73, -55, 74, -145, - -145, 484, 75, 76, -145, 32, 90, 91, 93, 99, - -145, -145, 100, 101, -145, 109, 110, 112, 114, -145, - 115, -145, 117, 118, 122, 134, -145, 142, 143, -145, - 121, 133, -145, -53, 188, 140, -145, -145, 141, 144, - 145, 146, 157, 169, 170, 171, 172, 173, 174, 175, - 176, 177, 178, 180, 181, 182, 183, 184, 198, 199, - 200, 201, 202, 203, 204, 207, 208, 210, 211, 212, - 213, 214, 215, 219, 221, 222, -145, 824, -145, -145, - -145, 526, 526, 526, 526, 526, 165, 223, -145, -145, - 308, 637, 637, 637, 637, 637, 637, 637, 637, 637, - 637, -145, 224, 224, 111, 526, 526, 526, 526, 526, - 526, 526, 526, 526, -145, 526, 836, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, 25, - 25, 25, 25, -145, -145, -145, -145, -145, 225, -145, - 166, -145, -145, -145, -145, 866, -145, 247, -145, 227, - -145, -145, -145, 92, -145, 252, 526, -145, 878, -145, - -145, -145, 230, -145, -145, -145, -145, -145, -145, -145, - -145, -145, 245, 246, 248, 249, -145, -145, 261, -145, - 270, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, 890, 902, 914, 926, 938, 262, -145, -145, -145, - -145, 44, 44, 44, 44, -145, -145, -145, 962, -145, - 224, 224, -23, -23, -23, -23, 224, 224, 224, 626, - -145, 263, 264, 265, 266, -145, -29, -145, 267, -145, - -145, 950, 268, -23, -145, -145, -145, -145, -145, -145, - -145, 269, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, 294, -145, -145, -145, -145, -145, 272, - -145 + 738, -84, -60, -78, 5, -73, 505, 360, 297, -27, + -26, -24, 891, -43, -42, 343, -17, 18, -22, -38, + -35, 232, -37, -14, 1, 42, 42, -21, 4, 6, + 33, 35, -13, -59, 0, -55, -45, -32, -44, 3, + 27, 28, 813, 530, -147, 639, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, 9, -147, -147, + 12, 31, 32, 38, 39, 40, 42, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, 641, -147, 641, 641, -147, 332, -147, + -147, -147, -147, -147, 10, -147, -147, -147, -147, 530, + -147, 530, 530, -147, -20, -147, 530, -147, 449, 46, + 55, 58, 72, 73, 74, 75, 76, 77, 78, 29, + 29, 29, 29, 79, 92, 93, 95, 101, -41, -75, + 102, 103, -147, -147, 471, -147, 578, 65, 111, -57, + 112, -147, -147, 488, 114, 56, -147, 34, 116, 117, + 119, 136, -147, -147, 120, 121, -147, 122, 123, 124, + 125, -147, 137, -147, 143, 144, 168, 169, -147, 170, + 171, -147, 149, 150, -147, -56, 84, 161, -147, -147, + 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, + 184, 185, 186, 187, 188, 202, 203, 204, 205, 206, + 211, 212, 214, 215, 219, 225, 226, 227, 228, 229, + 230, 231, 233, 234, 249, 250, 251, 252, 253, 265, + -147, 677, -147, -147, -147, 530, 530, 530, 530, 530, + 289, 267, -147, -147, 312, 641, 641, 641, 641, 641, + 641, 641, 641, 641, 641, -147, 266, 266, 113, 530, + 530, 530, 530, 530, 530, 530, 530, 530, -147, 530, + 842, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, 29, 29, 29, 29, -147, -147, -147, + -147, -147, 269, -147, 293, -147, -147, -147, -147, 854, + -147, 294, -147, 272, -147, -147, -147, 94, -147, 296, + 530, -147, 885, -147, -147, -147, 275, -147, -147, -147, + -147, -147, -147, -147, -147, -147, 276, 277, 278, 279, + -147, -147, 280, -147, 305, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, 897, 909, 921, + 933, 945, 283, -147, -147, -147, -147, 21, 21, 21, + 21, -147, -147, -147, 981, -147, 266, 266, 57, 57, + 57, 57, 266, 266, 266, 969, -147, 284, 288, 290, + 291, -147, -30, -147, 295, -147, -147, 957, 302, 221, + -147, -147, -147, -147, -147, -147, -147, 310, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, 316, + -147, -147, -147, -147, -147, 313, -147 }; /* YYPGOTO[NTERM-NUM]. */ -static const short yypgoto[] = +static const yytype_int16 yypgoto[] = { - -145, -145, 338, -18, -5, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -144, -145, -145, -145, - -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, - -145, -145, -145, -145, -93, -8 + -147, -147, 376, -23, -5, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -146, -147, -147, + -147, -147, -147, -147, -147, -147, -147, -147, -147, -147, + -147, -147, -147, -147, -147, -95, -8 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ -#define YYTABLE_NINF -1 -static const unsigned short yytable[] = +#define YYTABLE_NINF -240 +static const yytype_int16 yytable[] = { - 136, 115, 192, 453, 300, 301, 302, 164, 183, 205, - 308, 167, 168, 175, 84, 200, 137, 176, 258, 87, - 259, 260, 88, 89, 90, 91, 92, 85, 197, 198, - 190, 319, 203, 348, 247, 117, 118, 119, 120, 121, - 101, 102, 103, 104, 105, 106, 193, 310, 201, 177, - 86, 180, 181, 191, 320, 204, 349, 95, 206, 309, - 199, 138, 194, 195, 202, 139, 165, 311, 160, 93, - 161, 169, 275, 276, 166, 170, 257, 94, 184, 178, - 454, 281, 282, 283, 179, 185, 186, 187, 285, 188, - 189, 208, 133, 207, 196, 117, 118, 119, 120, 121, - 101, 102, 103, 104, 105, 106, 115, 251, 115, 115, - 250, 298, 252, 253, 254, 0, 255, 256, 123, 272, - 271, 273, 274, 288, 289, 290, 286, 275, 276, 124, - 125, 126, 277, 326, 279, 280, 281, 282, 283, 261, - 262, 327, 291, 285, 129, 130, 292, 293, 267, 268, - 269, 294, 133, 317, 315, 421, 422, 423, 424, 295, - 296, 297, 303, 323, 304, 305, 306, 328, 399, 400, - 401, 402, 403, 404, 405, 406, 407, 408, 123, 307, - 312, 313, 318, 321, 324, 332, 325, 275, 276, 124, - 125, 126, 277, 326, 279, 280, 281, 282, 283, 329, - 330, 430, 331, 285, 129, 130, 275, 276, 342, 333, - 334, 277, 278, 279, 280, 281, 282, 283, 335, 336, - 343, 337, 285, 338, 339, 409, 340, 341, 344, 345, - 346, 117, 118, 119, 120, 121, 101, 102, 103, 104, - 105, 106, 347, 391, 392, 393, 394, 395, 350, 351, - 352, 396, 426, 353, 354, 355, 115, 115, 115, 115, - 115, 115, 115, 115, 115, 115, 356, 410, 411, 412, - 413, 414, 415, 416, 417, 418, 171, 419, 357, 358, - 359, 360, 361, 362, 363, 364, 365, 366, 133, 367, - 368, 369, 370, 371, 172, 173, 117, 118, 119, 120, - 121, 101, 102, 103, 104, 105, 106, 372, 373, 374, - 375, 376, 377, 378, 123, 431, 379, 380, 433, 381, - 382, 383, 384, 385, 386, 124, 125, 126, 387, 127, - 388, 389, 397, 428, 425, 285, 429, 174, 432, 435, - 129, 130, 117, 118, 119, 120, 121, 101, 102, 103, - 104, 105, 106, 133, 436, 437, 441, 438, 439, 117, - 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, - 440, 447, 449, 450, 451, 452, 455, 457, 458, 123, - 459, 460, 249, 0, 0, 0, 162, 0, 0, 0, - 124, 125, 126, 0, 127, 0, 0, 134, 0, 133, - 0, 0, 135, 261, 262, 129, 130, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 122, 0, 0, 0, - 0, 0, 398, 261, 262, 123, 0, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 124, 125, 126, 270, - 127, 0, 123, 0, 0, 0, 0, 0, 163, 0, - 0, 129, 130, 124, 125, 126, 0, 127, 0, 0, - 0, 0, 0, 0, 0, 128, 0, 0, 129, 130, - 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, - 106, 0, 0, 0, 0, 0, 0, 117, 118, 119, - 120, 121, 101, 102, 103, 104, 105, 106, 0, 0, - 0, 0, 0, 0, 96, 97, 98, 99, 100, 101, - 102, 103, 104, 105, 106, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 133, 0, 117, - 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, - 275, 276, 0, 0, 133, 277, 278, 279, 280, 281, - 282, 283, 0, 123, 284, 0, 285, 0, 0, 0, - 0, 0, 0, 0, 124, 125, 126, 0, 127, 0, - 123, 0, 0, 0, 0, 0, 314, 0, 0, 129, - 130, 124, 125, 126, 0, 127, 133, 107, 0, 0, - 0, 0, 0, 322, 0, 0, 129, 130, 108, 109, - 110, 0, 111, 0, 0, 0, 0, 0, 0, 0, - 112, 0, 123, 113, 114, 0, 0, 0, 0, 0, - 0, 0, 0, 124, 125, 126, 0, 127, 0, 0, - 0, 0, 0, 0, 248, 0, 0, 0, 129, 130, - 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, - 106, 1, 2, 3, 0, 4, 0, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 14, 0, 275, 276, - 0, 0, 0, 277, 278, 279, 280, 281, 282, 283, - 15, 0, 287, 16, 285, 17, 0, 18, 0, 0, - 19, 20, 21, 22, 0, 0, 23, 24, 25, 26, - 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, - 35, 0, 0, 36, 37, 0, 38, 0, 39, 40, - 0, 275, 276, 107, 41, 42, 277, 278, 279, 280, - 281, 282, 283, 0, 108, 109, 110, 285, 111, 0, - 0, 0, 0, 43, 0, 0, 0, 0, 0, 113, - 114, 1, 2, 3, 0, 4, 0, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 14, 0, 275, 276, - 0, 0, 0, 277, 278, 279, 280, 281, 282, 283, - 15, 0, 316, 16, 285, 17, 0, 18, 0, 0, - 19, 20, 21, 22, 0, 0, 23, 24, 25, 26, - 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, - 35, 0, 0, 36, 37, 0, 38, 0, 39, 40, - 0, 0, 0, 0, 41, 42, 209, 210, 211, 0, - 212, 0, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 0, 43, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 223, 0, 0, 224, 0, - 0, 0, 0, 0, 0, 225, 226, 227, 228, 0, - 0, 0, 229, 230, 231, 0, 0, 232, 233, 234, - 235, 236, 237, 238, 239, 240, 140, 0, 241, 242, - 0, 243, 0, 0, 0, 0, 0, 0, 141, 244, - 245, 0, 0, 0, 142, 143, 144, 145, 146, 147, - 148, 149, 150, 151, 152, 153, 154, 155, 246, 275, - 276, 0, 0, 0, 277, 278, 279, 280, 281, 282, - 283, 275, 276, 390, 0, 285, 277, 278, 279, 280, - 281, 282, 283, 0, 0, 420, 0, 285, 0, 0, - 0, 0, 0, 156, 0, 0, 0, 0, 0, 157, - 158, 275, 276, 0, 159, 0, 277, 278, 279, 280, - 281, 282, 283, 275, 276, 427, 0, 285, 277, 278, - 279, 280, 281, 282, 283, 275, 276, 434, 0, 285, - 277, 278, 279, 280, 281, 282, 283, 275, 276, 442, - 0, 285, 277, 278, 279, 280, 281, 282, 283, 275, - 276, 443, 0, 285, 277, 278, 279, 280, 281, 282, - 283, 275, 276, 444, 0, 285, 277, 278, 279, 280, - 281, 282, 283, 275, 276, 445, 0, 285, 277, 278, - 279, 280, 281, 282, 283, 275, 276, 446, 0, 285, - 277, 278, 279, 280, 281, 282, 283, 261, 262, 456, - 0, 285, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 448 + 138, 117, 459, 185, 304, 305, 306, 166, 90, 91, + 92, 93, 94, 177, 314, 202, 207, 194, 262, 312, + 263, 264, 199, 200, 178, 86, 87, 192, 205, 323, + 352, 89, 169, 170, 315, 251, 97, 119, 120, 121, + 122, 123, 103, 104, 105, 106, 107, 108, 203, 88, + 193, 206, 324, 353, 201, 95, 179, 182, 183, 139, + 140, 195, 141, 96, 204, 208, 162, 163, 313, 167, + 168, 171, 180, 261, 172, 279, 280, 196, 197, 460, + 281, 282, 283, 284, 285, 286, 287, 181, 186, 288, + 187, 289, 188, 189, 135, 190, 191, 119, 120, 121, + 122, 123, 103, 104, 105, 106, 107, 108, 117, 198, + 117, 117, 209, 210, 211, 302, 265, 266, 254, 275, + 125, 276, 255, 277, 278, 271, 272, 273, 290, 279, + 280, 126, 127, 128, 281, 330, 283, 284, 285, 286, + 287, 256, 257, 331, 354, 289, 131, 132, 258, 259, + 260, 321, 279, 280, 135, 292, 319, 427, 428, 429, + 430, 285, 286, 287, 293, 327, 329, 294, 289, 332, + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + 125, 295, 296, 297, 298, 299, 300, 301, 307, 279, + 280, 126, 127, 128, 281, 330, 283, 284, 285, 286, + 287, 308, 309, 436, 310, 289, 131, 132, 279, 280, + 311, 316, 317, 281, 282, 283, 284, 285, 286, 287, + 322, 325, 336, 328, 289, 333, 334, 415, 335, 337, + 338, 339, 340, 341, 342, 119, 120, 121, 122, 123, + 103, 104, 105, 106, 107, 108, 343, 397, 398, 399, + 400, 401, 344, 345, 346, 347, 348, 349, 350, 351, + 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, + 355, 416, 417, 418, 419, 420, 421, 422, 423, 424, + 173, 425, 356, 357, 358, 359, 360, 361, 362, 363, + 364, 365, 135, 366, 367, 368, 369, 370, 174, 175, + 119, 120, 121, 122, 123, 103, 104, 105, 106, 107, + 108, 371, 372, 373, 374, 375, -239, -239, 125, 437, + 376, 377, 439, 378, 379, -239, -239, -239, 380, 126, + 127, 128, 289, 129, 381, 382, 383, 384, 385, 386, + 387, 176, 388, 389, 131, 132, 119, 120, 121, 122, + 123, 103, 104, 105, 106, 107, 108, 135, 390, 391, + 392, 393, 394, 119, 120, 121, 122, 123, 103, 104, + 105, 106, 107, 108, 395, 402, 403, 289, 431, 432, + 434, 435, 438, 125, 441, 442, 443, 444, 445, 446, + 164, 447, 453, 455, 126, 127, 128, 456, 129, 457, + 458, 136, 465, 135, 461, 0, 137, 265, 266, 131, + 132, 463, 267, 268, 269, 270, 271, 272, 273, 464, + 124, 253, 466, 0, 0, 0, 404, 265, 266, 125, + 0, 0, 267, 268, 269, 270, 271, 272, 273, 0, + 126, 127, 128, 274, 129, 0, 125, 0, 0, 0, + 0, 0, 165, 0, 0, 131, 132, 126, 127, 128, + 0, 129, 0, 0, 0, 0, 0, 0, 0, 130, + 0, 0, 131, 132, 119, 120, 121, 122, 123, 103, + 104, 105, 106, 107, 108, 0, 0, 0, 0, 0, + 0, 119, 120, 121, 122, 123, 103, 104, 105, 106, + 107, 108, 0, 0, 0, 0, 0, 0, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 135, 0, 119, 120, 121, 122, 123, 103, 104, + 105, 106, 107, 108, 279, 280, 0, 0, 135, 281, + 282, 283, 284, 285, 286, 287, 0, 125, 291, 0, + 289, 0, 0, 0, 0, 0, 0, 0, 126, 127, + 128, 0, 129, 0, 125, 0, 0, 0, 0, 0, + 318, 0, 0, 131, 132, 126, 127, 128, 0, 129, + 135, 109, 0, 0, 0, 0, 0, 326, 0, 0, + 131, 132, 110, 111, 112, 0, 113, 0, 0, 0, + 0, 0, 0, 0, 114, 0, 125, 115, 116, 0, + 0, 0, 0, 0, 0, 0, 0, 126, 127, 128, + 0, 129, 0, 0, 0, 0, 0, 0, 0, 252, + 0, 0, 131, 132, 98, 99, 100, 101, 102, 103, + 104, 105, 106, 107, 108, 0, 1, 2, 3, 0, + 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 14, 0, 279, 280, 0, 0, 0, 281, 282, + 283, 284, 285, 286, 287, 15, 0, 320, 16, 289, + 17, 0, 18, 0, 0, 19, 20, 21, 22, 0, + 0, 23, 24, 25, 26, 0, 0, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 0, 0, 36, 37, + 0, 38, 0, 39, 40, 0, 0, 109, 41, 42, + 43, 0, 0, 0, 0, 0, 0, 0, 110, 111, + 112, 0, 113, 0, 0, 0, 0, 0, 44, 0, + 0, 0, 0, 115, 116, 1, 2, 3, 0, 4, + 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, + 14, 0, 279, 280, 0, 0, 0, 281, 282, 283, + 284, 285, 286, 287, 15, 0, 396, 16, 289, 17, + 0, 18, 0, 0, 19, 20, 21, 22, 0, 0, + 23, 24, 25, 26, 0, 0, 27, 28, 29, 30, + 31, 32, 33, 34, 35, 0, 0, 36, 37, 0, + 38, 0, 39, 40, 0, 0, 0, 41, 42, 43, + 212, 213, 214, 0, 215, 0, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 0, 44, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 226, + 0, 0, 227, 0, 0, 0, 0, 0, 0, 228, + 229, 230, 231, 0, 0, 0, 232, 233, 234, 0, + 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 0, 0, 244, 245, 0, 246, 0, 0, 0, 0, + 0, 0, 247, 248, 249, 142, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 143, 0, 0, + 0, 0, 250, 144, 145, 146, 147, 148, 149, 150, + 151, 152, 153, 154, 155, 156, 157, 279, 280, 0, + 0, 0, 281, 282, 283, 284, 285, 286, 287, 279, + 280, 426, 0, 289, 281, 282, 283, 284, 285, 286, + 287, 0, 0, 433, 0, 289, 0, 0, 0, 0, + 0, 0, 158, 0, 0, 0, 0, 0, 159, 160, + 279, 280, 0, 161, 0, 281, 282, 283, 284, 285, + 286, 287, 279, 280, 440, 0, 289, 281, 282, 283, + 284, 285, 286, 287, 279, 280, 448, 0, 289, 281, + 282, 283, 284, 285, 286, 287, 279, 280, 449, 0, + 289, 281, 282, 283, 284, 285, 286, 287, 279, 280, + 450, 0, 289, 281, 282, 283, 284, 285, 286, 287, + 279, 280, 451, 0, 289, 281, 282, 283, 284, 285, + 286, 287, 279, 280, 452, 0, 289, 281, 282, 283, + 284, 285, 286, 287, 279, 280, 462, 0, 289, 281, + 282, 283, 284, 285, 286, 287, 265, 266, 0, 0, + 289, 267, 268, 269, 270, 271, 272, 273, 0, 0, + 454 }; -static const short yycheck[] = +static const yytype_int16 yycheck[] = { - 8, 6, 17, 32, 148, 149, 150, 15, 26, 60, - 60, 54, 55, 21, 109, 60, 86, 61, 111, 109, - 113, 114, 3, 4, 5, 6, 7, 86, 77, 78, - 86, 86, 60, 86, 42, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 61, 89, 93, 93, - 109, 15, 16, 109, 109, 83, 109, 109, 109, 109, - 109, 86, 77, 78, 109, 86, 86, 109, 109, 50, - 109, 109, 95, 96, 52, 109, 94, 58, 109, 86, - 109, 104, 105, 106, 86, 86, 86, 60, 111, 60, - 109, 86, 60, 109, 109, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 111, 110, 113, 114, - 109, 86, 110, 110, 110, -1, 110, 110, 86, 127, - 109, 129, 130, 109, 109, 109, 134, 95, 96, 97, - 98, 99, 100, 101, 102, 103, 104, 105, 106, 95, - 96, 109, 109, 111, 112, 113, 109, 109, 104, 105, - 106, 109, 60, 86, 162, 299, 300, 301, 302, 109, - 109, 109, 109, 171, 109, 109, 109, 175, 261, 262, - 263, 264, 265, 266, 267, 268, 269, 270, 86, 109, - 109, 109, 109, 109, 109, 86, 110, 95, 96, 97, - 98, 99, 100, 101, 102, 103, 104, 105, 106, 109, - 109, 109, 109, 111, 112, 113, 95, 96, 86, 109, - 109, 100, 101, 102, 103, 104, 105, 106, 109, 109, - 86, 109, 111, 109, 109, 114, 109, 109, 86, 86, - 109, 3, 4, 5, 6, 7, 8, 9, 10, 11, - 12, 13, 109, 251, 252, 253, 254, 255, 60, 109, - 109, 86, 86, 109, 109, 109, 261, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 109, 275, 276, 277, - 278, 279, 280, 281, 282, 283, 48, 285, 109, 109, - 109, 109, 109, 109, 109, 109, 109, 109, 60, 109, - 109, 109, 109, 109, 66, 67, 3, 4, 5, 6, - 7, 8, 9, 10, 11, 12, 13, 109, 109, 109, - 109, 109, 109, 109, 86, 323, 109, 109, 326, 109, - 109, 109, 109, 109, 109, 97, 98, 99, 109, 101, - 109, 109, 109, 86, 109, 111, 109, 109, 86, 109, - 112, 113, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 60, 109, 109, 86, 109, 109, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 109, 109, 109, 109, 109, 109, 109, 109, 109, 86, - 86, 109, 44, -1, -1, -1, 47, -1, -1, -1, - 97, 98, 99, -1, 101, -1, -1, 104, -1, 60, - -1, -1, 109, 95, 96, 112, 113, -1, 100, 101, - 102, 103, 104, 105, 106, -1, 60, -1, -1, -1, - -1, -1, 114, 95, 96, 86, -1, -1, 100, 101, - 102, 103, 104, 105, 106, -1, 97, 98, 99, 111, - 101, -1, 86, -1, -1, -1, -1, -1, 109, -1, - -1, 112, 113, 97, 98, 99, -1, 101, -1, -1, - -1, -1, -1, -1, -1, 109, -1, -1, 112, 113, + 8, 6, 32, 26, 150, 151, 152, 15, 3, 4, + 5, 6, 7, 21, 89, 60, 60, 17, 113, 60, + 115, 116, 77, 78, 61, 109, 86, 86, 60, 86, + 86, 109, 54, 55, 109, 43, 109, 3, 4, 5, + 6, 7, 8, 9, 10, 11, 12, 13, 93, 109, + 109, 83, 109, 109, 109, 50, 93, 15, 16, 86, + 86, 61, 86, 58, 109, 109, 109, 109, 109, 86, + 52, 109, 86, 96, 109, 95, 96, 77, 78, 109, + 100, 101, 102, 103, 104, 105, 106, 86, 109, 109, + 86, 111, 86, 60, 60, 60, 109, 3, 4, 5, + 6, 7, 8, 9, 10, 11, 12, 13, 113, 109, + 115, 116, 109, 86, 86, 86, 95, 96, 109, 109, + 86, 129, 110, 131, 132, 104, 105, 106, 136, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, + 106, 110, 110, 109, 60, 111, 112, 113, 110, 110, + 110, 86, 95, 96, 60, 109, 164, 303, 304, 305, + 306, 104, 105, 106, 109, 173, 110, 109, 111, 177, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 86, 109, 109, 109, 109, 109, 109, 109, 109, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, + 106, 109, 109, 109, 109, 111, 112, 113, 95, 96, + 109, 109, 109, 100, 101, 102, 103, 104, 105, 106, + 109, 109, 86, 109, 111, 109, 109, 114, 109, 109, + 109, 109, 109, 109, 109, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 109, 255, 256, 257, + 258, 259, 109, 109, 86, 86, 86, 86, 109, 109, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 109, 279, 280, 281, 282, 283, 284, 285, 286, 287, + 48, 289, 109, 109, 109, 109, 109, 109, 109, 109, + 109, 109, 60, 109, 109, 109, 109, 109, 66, 67, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, - 13, -1, -1, -1, -1, -1, -1, 3, 4, 5, - 6, 7, 8, 9, 10, 11, 12, 13, -1, -1, - -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, + 13, 109, 109, 109, 109, 109, 95, 96, 86, 327, + 109, 109, 330, 109, 109, 104, 105, 106, 109, 97, + 98, 99, 111, 101, 109, 109, 109, 109, 109, 109, + 109, 109, 109, 109, 112, 113, 3, 4, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 60, 109, 109, + 109, 109, 109, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 109, 86, 109, 111, 109, 86, + 86, 109, 86, 86, 109, 109, 109, 109, 109, 109, + 47, 86, 109, 109, 97, 98, 99, 109, 101, 109, + 109, 104, 86, 60, 109, -1, 109, 95, 96, 112, + 113, 109, 100, 101, 102, 103, 104, 105, 106, 109, + 60, 45, 109, -1, -1, -1, 114, 95, 96, 86, + -1, -1, 100, 101, 102, 103, 104, 105, 106, -1, + 97, 98, 99, 111, 101, -1, 86, -1, -1, -1, + -1, -1, 109, -1, -1, 112, 113, 97, 98, 99, + -1, 101, -1, -1, -1, -1, -1, -1, -1, 109, + -1, -1, 112, 113, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 60, -1, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 95, 96, -1, -1, 60, 100, 101, 102, 103, 104, - 105, 106, -1, 86, 109, -1, 111, -1, -1, -1, - -1, -1, -1, -1, 97, 98, 99, -1, 101, -1, - 86, -1, -1, -1, -1, -1, 109, -1, -1, 112, - 113, 97, 98, 99, -1, 101, 60, 86, -1, -1, - -1, -1, -1, 109, -1, -1, 112, 113, 97, 98, - 99, -1, 101, -1, -1, -1, -1, -1, -1, -1, - 109, -1, 86, 112, 113, -1, -1, -1, -1, -1, - -1, -1, -1, 97, 98, 99, -1, 101, -1, -1, - -1, -1, -1, -1, 0, -1, -1, -1, 112, 113, - 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, - 13, 17, 18, 19, -1, 21, -1, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, -1, 95, 96, - -1, -1, -1, 100, 101, 102, 103, 104, 105, 106, - 46, -1, 109, 49, 111, 51, -1, 53, -1, -1, - 56, 57, 58, 59, -1, -1, 62, 63, 64, 65, - -1, -1, 68, 69, 70, 71, 72, 73, 74, 75, - 76, -1, -1, 79, 80, -1, 82, -1, 84, 85, - -1, 95, 96, 86, 90, 91, 100, 101, 102, 103, - 104, 105, 106, -1, 97, 98, 99, 111, 101, -1, - -1, -1, -1, 109, -1, -1, -1, -1, -1, 112, - 113, 17, 18, 19, -1, 21, -1, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, -1, 95, 96, - -1, -1, -1, 100, 101, 102, 103, 104, 105, 106, - 46, -1, 109, 49, 111, 51, -1, 53, -1, -1, - 56, 57, 58, 59, -1, -1, 62, 63, 64, 65, - -1, -1, 68, 69, 70, 71, 72, 73, 74, 75, - 76, -1, -1, 79, 80, -1, 82, -1, 84, 85, - -1, -1, -1, -1, 90, 91, 17, 18, 19, -1, + -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, 13, -1, -1, -1, -1, -1, -1, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 60, -1, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 95, 96, -1, -1, 60, 100, + 101, 102, 103, 104, 105, 106, -1, 86, 109, -1, + 111, -1, -1, -1, -1, -1, -1, -1, 97, 98, + 99, -1, 101, -1, 86, -1, -1, -1, -1, -1, + 109, -1, -1, 112, 113, 97, 98, 99, -1, 101, + 60, 86, -1, -1, -1, -1, -1, 109, -1, -1, + 112, 113, 97, 98, 99, -1, 101, -1, -1, -1, + -1, -1, -1, -1, 109, -1, 86, 112, 113, -1, + -1, -1, -1, -1, -1, -1, -1, 97, 98, 99, + -1, 101, -1, -1, -1, -1, -1, -1, -1, 0, + -1, -1, 112, 113, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, -1, 17, 18, 19, -1, 21, -1, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, -1, 109, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 46, -1, -1, 49, -1, - -1, -1, -1, -1, -1, 56, 57, 58, 59, -1, - -1, -1, 63, 64, 65, -1, -1, 68, 69, 70, - 71, 72, 73, 74, 75, 76, 14, -1, 79, 80, - -1, 82, -1, -1, -1, -1, -1, -1, 26, 90, - 91, -1, -1, -1, 32, 33, 34, 35, 36, 37, - 38, 39, 40, 41, 42, 43, 44, 45, 109, 95, - 96, -1, -1, -1, 100, 101, 102, 103, 104, 105, - 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, - 104, 105, 106, -1, -1, 109, -1, 111, -1, -1, - -1, -1, -1, 81, -1, -1, -1, -1, -1, 87, - 88, 95, 96, -1, 92, -1, 100, 101, 102, 103, - 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, - 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, - 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, - -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, + 31, 32, -1, 95, 96, -1, -1, -1, 100, 101, + 102, 103, 104, 105, 106, 46, -1, 109, 49, 111, + 51, -1, 53, -1, -1, 56, 57, 58, 59, -1, + -1, 62, 63, 64, 65, -1, -1, 68, 69, 70, + 71, 72, 73, 74, 75, 76, -1, -1, 79, 80, + -1, 82, -1, 84, 85, -1, -1, 86, 89, 90, + 91, -1, -1, -1, -1, -1, -1, -1, 97, 98, + 99, -1, 101, -1, -1, -1, -1, -1, 109, -1, + -1, -1, -1, 112, 113, 17, 18, 19, -1, 21, + -1, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, -1, 95, 96, -1, -1, -1, 100, 101, 102, + 103, 104, 105, 106, 46, -1, 109, 49, 111, 51, + -1, 53, -1, -1, 56, 57, 58, 59, -1, -1, + 62, 63, 64, 65, -1, -1, 68, 69, 70, 71, + 72, 73, 74, 75, 76, -1, -1, 79, 80, -1, + 82, -1, 84, 85, -1, -1, -1, 89, 90, 91, + 17, 18, 19, -1, 21, -1, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, -1, 109, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 46, + -1, -1, 49, -1, -1, -1, -1, -1, -1, 56, + 57, 58, 59, -1, -1, -1, 63, 64, 65, -1, + -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, + -1, -1, 79, 80, -1, 82, -1, -1, -1, -1, + -1, -1, 89, 90, 91, 14, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 26, -1, -1, + -1, -1, 109, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 95, 96, -1, + -1, -1, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, - 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, - 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, - 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, - 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, - -1, 111, 100, 101, 102, 103, 104, 105, 106, -1, - -1, 109 + 106, -1, -1, 109, -1, 111, -1, -1, -1, -1, + -1, -1, 81, -1, -1, -1, -1, -1, 87, 88, + 95, 96, -1, 92, -1, 100, 101, 102, 103, 104, + 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, + 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, + 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, + 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, + 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, + 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, + 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, + 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, + 101, 102, 103, 104, 105, 106, 95, 96, -1, -1, + 111, 100, 101, 102, 103, 104, 105, 106, -1, -1, + 109 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ -static const unsigned char yystos[] = +static const yytype_uint8 yystos[] = { 0, 17, 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 46, 49, 51, 53, 56, 57, 58, 59, 62, 63, 64, 65, 68, 69, 70, 71, 72, 73, 74, 75, 76, 79, 80, 82, 84, - 85, 90, 91, 109, 116, 117, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, - 134, 135, 136, 137, 138, 139, 140, 142, 143, 144, - 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, - 155, 156, 157, 158, 109, 86, 109, 109, 3, 4, - 5, 6, 7, 50, 58, 109, 3, 4, 5, 6, - 7, 8, 9, 10, 11, 12, 13, 86, 97, 98, - 99, 101, 109, 112, 113, 119, 159, 3, 4, 5, - 6, 7, 60, 86, 97, 98, 99, 101, 109, 112, - 113, 119, 160, 60, 104, 109, 160, 86, 86, 86, - 14, 26, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 41, 42, 43, 44, 45, 81, 87, 88, 92, - 109, 109, 47, 109, 160, 86, 52, 54, 55, 109, - 109, 48, 66, 67, 109, 160, 61, 93, 86, 86, - 15, 16, 118, 118, 109, 86, 86, 60, 60, 109, - 86, 109, 17, 61, 77, 78, 109, 77, 78, 109, - 60, 93, 109, 60, 83, 60, 109, 109, 86, 17, - 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 46, 49, 56, 57, 58, 59, 63, - 64, 65, 68, 69, 70, 71, 72, 73, 74, 75, - 76, 79, 80, 82, 90, 91, 109, 160, 0, 117, - 109, 110, 110, 110, 110, 110, 110, 118, 159, 159, - 159, 95, 96, 100, 101, 102, 103, 104, 105, 106, - 111, 109, 160, 160, 160, 95, 96, 100, 101, 102, - 103, 104, 105, 106, 109, 111, 160, 109, 109, 109, - 109, 109, 109, 109, 109, 109, 109, 109, 86, 141, - 141, 141, 141, 109, 109, 109, 109, 109, 60, 109, - 89, 109, 109, 109, 109, 160, 109, 86, 109, 86, - 109, 109, 109, 160, 109, 110, 101, 109, 160, 109, - 109, 109, 86, 109, 109, 109, 109, 109, 109, 109, - 109, 109, 86, 86, 86, 86, 109, 109, 86, 109, - 60, 109, 109, 109, 109, 109, 109, 109, 109, 109, + 85, 89, 90, 91, 109, 116, 117, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, + 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, + 154, 155, 156, 157, 158, 159, 109, 86, 109, 109, + 3, 4, 5, 6, 7, 50, 58, 109, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 86, + 97, 98, 99, 101, 109, 112, 113, 119, 160, 3, + 4, 5, 6, 7, 60, 86, 97, 98, 99, 101, + 109, 112, 113, 119, 161, 60, 104, 109, 161, 86, + 86, 86, 14, 26, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 81, 87, + 88, 92, 109, 109, 47, 109, 161, 86, 52, 54, + 55, 109, 109, 48, 66, 67, 109, 161, 61, 93, + 86, 86, 15, 16, 118, 118, 109, 86, 86, 60, + 60, 109, 86, 109, 17, 61, 77, 78, 109, 77, + 78, 109, 60, 93, 109, 60, 83, 60, 109, 109, + 86, 86, 17, 18, 19, 21, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, 46, 49, 56, 57, + 58, 59, 63, 64, 65, 68, 69, 70, 71, 72, + 73, 74, 75, 76, 79, 80, 82, 89, 90, 91, + 109, 161, 0, 117, 109, 110, 110, 110, 110, 110, + 110, 118, 160, 160, 160, 95, 96, 100, 101, 102, + 103, 104, 105, 106, 111, 109, 161, 161, 161, 95, + 96, 100, 101, 102, 103, 104, 105, 106, 109, 111, + 161, 109, 109, 109, 109, 109, 109, 109, 109, 109, + 109, 109, 86, 142, 142, 142, 142, 109, 109, 109, + 109, 109, 60, 109, 89, 109, 109, 109, 109, 161, + 109, 86, 109, 86, 109, 109, 109, 161, 109, 110, + 101, 109, 161, 109, 109, 109, 86, 109, 109, 109, + 109, 109, 109, 109, 109, 109, 86, 86, 86, 86, + 109, 109, 86, 109, 60, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, - 109, 160, 160, 160, 160, 160, 86, 109, 114, 159, - 159, 159, 159, 159, 159, 159, 159, 159, 159, 114, - 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, - 109, 141, 141, 141, 141, 109, 86, 109, 86, 109, - 109, 160, 86, 160, 109, 109, 109, 109, 109, 109, - 109, 86, 109, 109, 109, 109, 109, 109, 109, 109, - 109, 109, 109, 32, 109, 109, 109, 109, 109, 86, - 109 + 109, 109, 109, 109, 109, 109, 109, 161, 161, 161, + 161, 161, 86, 109, 114, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 114, 161, 161, 161, 161, + 161, 161, 161, 161, 161, 161, 109, 142, 142, 142, + 142, 109, 86, 109, 86, 109, 109, 161, 86, 161, + 109, 109, 109, 109, 109, 109, 109, 86, 109, 109, + 109, 109, 109, 109, 109, 109, 109, 109, 109, 32, + 109, 109, 109, 109, 109, 86, 109 }; -#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 -#endif -#if ! defined (YYSIZE_T) -# if defined (__STDC__) || defined (__cplusplus) -# include /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -#endif -#if ! defined (YYSIZE_T) -# define YYSIZE_T unsigned int -#endif - #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY (-2) @@ -1180,7 +1309,7 @@ static const unsigned char yystos[] = #define YYACCEPT goto yyacceptlab #define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 +#define YYERROR goto yyerrorlab /* Like YYERROR except do call yyerror. This remains here temporarily @@ -1198,30 +1327,63 @@ do \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ + YYPOPSTACK (1); \ goto yybackup; \ } \ else \ - { \ - yyerror ("syntax error: cannot back up");\ + { \ + yyerror (YY_("syntax error: cannot back up")); \ YYERROR; \ } \ -while (0) +while (YYID (0)) + #define YYTERROR 1 #define YYERRCODE 256 -/* YYLLOC_DEFAULT -- Compute the default location (before the actions - are run). */ +/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. + If N is 0, then set CURRENT to the empty location which ends + the previous symbol: RHS[0] (always defined). */ + +#define YYRHSLOC(Rhs, K) ((Rhs)[K]) #ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - Current.first_line = Rhs[1].first_line; \ - Current.first_column = Rhs[1].first_column; \ - Current.last_line = Rhs[N].last_line; \ - Current.last_column = Rhs[N].last_column; +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + do \ + if (YYID (N)) \ + { \ + (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ + (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ + (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ + (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ + } \ + else \ + { \ + (Current).first_line = (Current).last_line = \ + YYRHSLOC (Rhs, 0).last_line; \ + (Current).first_column = (Current).last_column = \ + YYRHSLOC (Rhs, 0).last_column; \ + } \ + while (YYID (0)) #endif + +/* YY_LOCATION_PRINT -- Print the location on the stream. + This macro was not mandated originally: define only if we know + we won't break user code: when these are the locations we know. */ + +#ifndef YY_LOCATION_PRINT +# if YYLTYPE_IS_TRIVIAL +# define YY_LOCATION_PRINT(File, Loc) \ + fprintf (File, "%d.%d-%d.%d", \ + (Loc).first_line, (Loc).first_column, \ + (Loc).last_line, (Loc).last_column) +# else +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) +# endif +#endif + + /* YYLEX -- calling `yylex' with the right arguments. */ #ifdef YYLEX_PARAM @@ -1242,42 +1404,96 @@ while (0) do { \ if (yydebug) \ YYFPRINTF Args; \ -} while (0) +} while (YYID (0)) -# define YYDSYMPRINT(Args) \ -do { \ - if (yydebug) \ - yysymprint Args; \ -} while (0) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (YYID (0)) -# define YYDSYMPRINTF(Title, Token, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yysymprint (stderr, \ - Token, Value); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (0) + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_value_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif +{ + if (!yyvaluep) + return; +# ifdef YYPRINT + if (yytype < YYNTOKENS) + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# else + YYUSE (yyoutput); +# endif + switch (yytype) + { + default: + break; + } +} + + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif +{ + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + yy_symbol_value_print (yyoutput, yytype, yyvaluep); + YYFPRINTF (yyoutput, ")"); +} /*------------------------------------------------------------------. | yy_stack_print -- Print the state stack from its BOTTOM up to its | -| TOP (cinluded). | +| TOP (included). | `------------------------------------------------------------------*/ -#if defined (__STDC__) || defined (__cplusplus) +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yy_stack_print (short *bottom, short *top) +yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) #else static void yy_stack_print (bottom, top) - short *bottom; - short *top; + yytype_int16 *bottom; + yytype_int16 *top; #endif { YYFPRINTF (stderr, "Stack now"); - for (/* Nothing. */; bottom <= top; ++bottom) + for (; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); YYFPRINTF (stderr, "\n"); } @@ -1286,45 +1502,52 @@ yy_stack_print (bottom, top) do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ -} while (0) +} while (YYID (0)) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ -#if defined (__STDC__) || defined (__cplusplus) +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yy_reduce_print (int yyrule) +yy_reduce_print (YYSTYPE *yyvsp, int yyrule) #else static void -yy_reduce_print (yyrule) +yy_reduce_print (yyvsp, yyrule) + YYSTYPE *yyvsp; int yyrule; #endif { + int yynrhs = yyr2[yyrule]; int yyi; - unsigned int yylno = yyrline[yyrule]; - YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", - yyrule - 1, yylno); - /* Print the symbols being reduced, and their result. */ - for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) - YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); - YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); + unsigned long int yylno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + fprintf (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], + &(yyvsp[(yyi + 1) - (yynrhs)]) + ); + fprintf (stderr, "\n"); + } } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ - yy_reduce_print (Rule); \ -} while (0) + yy_reduce_print (yyvsp, Rule); \ +} while (YYID (0)) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ int yydebug; #else /* !YYDEBUG */ # define YYDPRINTF(Args) -# define YYDSYMPRINT(Args) -# define YYDSYMPRINTF(Title, Token, Value, Location) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) # define YY_STACK_PRINT(Bottom, Top) # define YY_REDUCE_PRINT(Rule) #endif /* !YYDEBUG */ @@ -1339,13 +1562,9 @@ int yydebug; if the built-in stack extension method is used). Do not make this value too large; the results are undefined if - SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ -#if YYMAXDEPTH == 0 -# undef YYMAXDEPTH -#endif - #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif @@ -1355,45 +1574,47 @@ int yydebug; #if YYERROR_VERBOSE # ifndef yystrlen -# if defined (__GLIBC__) && defined (_STRING_H) +# if defined __GLIBC__ && defined _STRING_H # define yystrlen strlen # else /* Return the length of YYSTR. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static YYSIZE_T -# if defined (__STDC__) || defined (__cplusplus) yystrlen (const char *yystr) -# else +#else +static YYSIZE_T yystrlen (yystr) - const char *yystr; -# endif + const char *yystr; +#endif { - register const char *yys = yystr; - - while (*yys++ != '\0') + YYSIZE_T yylen; + for (yylen = 0; yystr[yylen]; yylen++) continue; - - return yys - yystr - 1; + return yylen; } # endif # endif # ifndef yystpcpy -# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE # define yystpcpy stpcpy # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static char * -# if defined (__STDC__) || defined (__cplusplus) yystpcpy (char *yydest, const char *yysrc) -# else +#else +static char * yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -# endif + char *yydest; + const char *yysrc; +#endif { - register char *yyd = yydest; - register const char *yys = yysrc; + char *yyd = yydest; + const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; @@ -1403,70 +1624,192 @@ yystpcpy (yydest, yysrc) # endif # endif -#endif /* !YYERROR_VERBOSE */ +# ifndef yytnamerr +/* Copy to YYRES the contents of YYSTR after stripping away unnecessary + quotes and backslashes, so that it's suitable for yyerror. The + heuristic is that double-quoting is unnecessary unless the string + contains an apostrophe, a comma, or backslash (other than + backslash-backslash). YYSTR is taken from yytname. If YYRES is + null, do not copy; instead, return the length of what the result + would have been. */ +static YYSIZE_T +yytnamerr (char *yyres, const char *yystr) +{ + if (*yystr == '"') + { + YYSIZE_T yyn = 0; + char const *yyp = yystr; + for (;;) + switch (*++yyp) + { + case '\'': + case ',': + goto do_not_strip_quotes; + + case '\\': + if (*++yyp != '\\') + goto do_not_strip_quotes; + /* Fall through. */ + default: + if (yyres) + yyres[yyn] = *yyp; + yyn++; + break; + + case '"': + if (yyres) + yyres[yyn] = '\0'; + return yyn; + } + do_not_strip_quotes: ; + } + + if (! yyres) + return yystrlen (yystr); + + return yystpcpy (yyres, yystr) - yyres; +} +# endif + +/* Copy into YYRESULT an error message about the unexpected token + YYCHAR while in state YYSTATE. Return the number of bytes copied, + including the terminating null byte. If YYRESULT is null, do not + copy anything; just return the number of bytes that would be + copied. As a special case, return 0 if an ordinary "syntax error" + message will do. Return YYSIZE_MAXIMUM if overflow occurs during + size calculation. */ +static YYSIZE_T +yysyntax_error (char *yyresult, int yystate, int yychar) +{ + int yyn = yypact[yystate]; + + if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) + return 0; + else + { + int yytype = YYTRANSLATE (yychar); + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + int yysize_overflow = 0; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + int yyx; + +# if 0 + /* This is so xgettext sees the translatable formats that are + constructed on the fly. */ + YY_("syntax error, unexpected %s"); + YY_("syntax error, unexpected %s, expecting %s"); + YY_("syntax error, unexpected %s, expecting %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); +# endif + char *yyfmt; + char const *yyf; + static char const yyunexpected[] = "syntax error, unexpected %s"; + static char const yyexpecting[] = ", expecting %s"; + static char const yyor[] = " or %s"; + char yyformat[sizeof yyunexpected + + sizeof yyexpecting - 1 + + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) + * (sizeof yyor - 1))]; + char const *yyprefix = yyexpecting; + + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yycount = 1; + + yyarg[0] = yytname[yytype]; + yyfmt = yystpcpy (yyformat, yyunexpected); + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + yyformat[sizeof yyunexpected - 1] = '\0'; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + yysize_overflow |= (yysize1 < yysize); + yysize = yysize1; + yyfmt = yystpcpy (yyfmt, yyprefix); + yyprefix = yyor; + } + + yyf = YY_(yyformat); + yysize1 = yysize + yystrlen (yyf); + yysize_overflow |= (yysize1 < yysize); + yysize = yysize1; + + if (yysize_overflow) + return YYSIZE_MAXIMUM; + + if (yyresult) + { + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + char *yyp = yyresult; + int yyi = 0; + while ((*yyp = *yyf) != '\0') + { + if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyf += 2; + } + else + { + yyp++; + yyf++; + } + } + } + return yysize; + } +} +#endif /* YYERROR_VERBOSE */ -#if YYDEBUG -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ - -#if defined (__STDC__) || defined (__cplusplus) -static void -yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) -#else -static void -yysymprint (yyoutput, yytype, yyvaluep) - FILE *yyoutput; - int yytype; - YYSTYPE *yyvaluep; -#endif -{ - /* Pacify ``unused variable'' warnings. */ - (void) yyvaluep; - - if (yytype < YYNTOKENS) - { - YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); -# ifdef YYPRINT - YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); -# endif - } - else - YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); - - switch (yytype) - { - default: - break; - } - YYFPRINTF (yyoutput, ")"); -} - -#endif /* ! YYDEBUG */ /*-----------------------------------------------. | Release the memory associated to this symbol. | `-----------------------------------------------*/ -#if defined (__STDC__) || defined (__cplusplus) +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void -yydestruct (int yytype, YYSTYPE *yyvaluep) +yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) #else static void -yydestruct (yytype, yyvaluep) +yydestruct (yymsg, yytype, yyvaluep) + const char *yymsg; int yytype; YYSTYPE *yyvaluep; #endif { - /* Pacify ``unused variable'' warnings. */ - (void) yyvaluep; + YYUSE (yyvaluep); + + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); switch (yytype) { default: - break; + break; } } @@ -1474,13 +1817,13 @@ yydestruct (yytype, yyvaluep) /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM -# if defined (__STDC__) || defined (__cplusplus) +#if defined __STDC__ || defined __cplusplus int yyparse (void *YYPARSE_PARAM); -# else +#else int yyparse (); -# endif +#endif #else /* ! YYPARSE_PARAM */ -#if defined (__STDC__) || defined (__cplusplus) +#if defined __STDC__ || defined __cplusplus int yyparse (void); #else int yyparse (); @@ -1489,10 +1832,10 @@ int yyparse (); -/* The lookahead symbol. */ +/* The look-ahead symbol. */ int yychar; -/* The semantic value of the lookahead symbol. */ +/* The semantic value of the look-ahead symbol. */ YYSTYPE yylval; /* Number of syntax errors so far. */ @@ -1505,14 +1848,18 @@ int yynerrs; `----------*/ #ifdef YYPARSE_PARAM -# if defined (__STDC__) || defined (__cplusplus) -int yyparse (void *YYPARSE_PARAM) -# else -int yyparse (YYPARSE_PARAM) - void *YYPARSE_PARAM; -# endif +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void *YYPARSE_PARAM) +#else +int +yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +#endif #else /* ! YYPARSE_PARAM */ -#if defined (__STDC__) || defined (__cplusplus) +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) int yyparse (void) #else @@ -1523,13 +1870,19 @@ yyparse () #endif { - register int yystate; - register int yyn; + int yystate; + int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; - /* Lookahead token as an internal (translated) token number. */ + /* Look-ahead token as an internal (translated) token number. */ int yytoken = 0; +#if YYERROR_VERBOSE + /* Buffer for error messages, and its allocated size. */ + char yymsgbuf[128]; + char *yymsg = yymsgbuf; + YYSIZE_T yymsg_alloc = sizeof yymsgbuf; +#endif /* Three stacks and their tools: `yyss': related to states, @@ -1540,18 +1893,18 @@ yyparse () to reallocate them elsewhere. */ /* The state stack. */ - short yyssa[YYINITDEPTH]; - short *yyss = yyssa; - register short *yyssp; + yytype_int16 yyssa[YYINITDEPTH]; + yytype_int16 *yyss = yyssa; + yytype_int16 *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; - register YYSTYPE *yyvsp; + YYSTYPE *yyvsp; -#define YYPOPSTACK (yyvsp--, yyssp--) +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) YYSIZE_T yystacksize = YYINITDEPTH; @@ -1560,9 +1913,9 @@ yyparse () YYSTYPE yyval; - /* When reducing, the number of symbols on the RHS of the reduced - rule. */ - int yylen; + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; YYDPRINTF ((stderr, "Starting parse\n")); @@ -1586,8 +1939,7 @@ yyparse () `------------------------------------------------------------*/ yynewstate: /* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. - */ + have just been pushed. So pushing a state here evens the stacks. */ yyssp++; yysetstate: @@ -1600,18 +1952,18 @@ yyparse () #ifdef yyoverflow { - /* Give user a chance to reallocate the stack. Use copies of + /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; + yytype_int16 *yyss1 = yyss; /* Each stack pointer address is followed by the size of the data in use in that stack, in bytes. This used to be a conditional around just the two extra args, but that might be undefined if yyoverflow is a macro. */ - yyoverflow ("parser stack overflow", + yyoverflow (YY_("memory exhausted"), &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), @@ -1622,21 +1974,21 @@ yyparse () } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE - goto yyoverflowlab; + goto yyexhaustedlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) - goto yyoverflowlab; + goto yyexhaustedlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { - short *yyss1 = yyss; + yytype_int16 *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) - goto yyoverflowlab; + goto yyexhaustedlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); @@ -1667,19 +2019,17 @@ yyparse () `-----------*/ yybackup: -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ + /* Do appropriate processing given the current state. Read a + look-ahead token if we need one and don't already have one. */ + /* First try to decide what to do without reference to look-ahead token. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; - /* Not known => get a lookahead token if don't already have one. */ + /* Not known => get a look-ahead token if don't already have one. */ - /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ + /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); @@ -1694,7 +2044,7 @@ yybackup: else { yytoken = YYTRANSLATE (yychar); - YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); } /* If the proper action on seeing token YYTOKEN is to reduce or to @@ -1714,22 +2064,21 @@ yybackup: if (yyn == YYFINAL) YYACCEPT; - /* Shift the lookahead token. */ - YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; - - /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; + /* Shift the look-ahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); + + /* Discard the shifted token unless it is eof. */ + if (yychar != YYEOF) + yychar = YYEMPTY; + yystate = yyn; + *++yyvsp = yylval; + goto yynewstate; @@ -1764,1070 +2113,1078 @@ yyreduce: YY_REDUCE_PRINT (yyn); switch (yyn) { - case 43: -#line 178 "parser.y" + case 44: +#line 179 "parser.y" { } break; - case 45: -#line 185 "parser.y" - { yyval.bval=yyvsp[0].bval; } - break; - - case 51: -#line 195 "parser.y" - { yyval.uval=yyvsp[0].uval; } + case 46: +#line 186 "parser.y" + { (yyval.bval)=(yyvsp[(1) - (1)].bval); } break; case 52: -#line 200 "parser.y" - { - bx_dbg_timebp_command(0, yyvsp[-1].uval); - free(yyvsp[-2].sval); - } +#line 196 "parser.y" + { (yyval.uval)=(yyvsp[(1) - (1)].uval); } break; case 53: -#line 205 "parser.y" +#line 201 "parser.y" { - bx_dbg_timebp_command(1, yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_timebp_command(0, (yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 54: -#line 213 "parser.y" +#line 206 "parser.y" { - bx_dbg_record_command(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_timebp_command(1, (yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 55: -#line 221 "parser.y" +#line 214 "parser.y" { - bx_dbg_playback_command(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_record_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 56: -#line 229 "parser.y" +#line 222 "parser.y" { - bx_dbg_modebp_command(); - free(yyvsp[-1].sval); + bx_dbg_playback_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 57: -#line 237 "parser.y" +#line 230 "parser.y" { - bx_dbg_show_command(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_modebp_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 58: -#line 242 "parser.y" +#line 238 "parser.y" { - bx_dbg_show_param_command(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_show_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 59: -#line 247 "parser.y" +#line 243 "parser.y" { - bx_dbg_show_command(0); - free(yyvsp[-1].sval); + bx_dbg_show_param_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 60: -#line 255 "parser.y" +#line 248 "parser.y" { - bx_dbg_ptime_command(); - free(yyvsp[-1].sval); + bx_dbg_show_command(0); + free((yyvsp[(1) - (2)].sval)); } break; case 61: -#line 263 "parser.y" +#line 256 "parser.y" { - bx_dbg_trace_command(yyvsp[-1].bval); - free(yyvsp[-2].sval); + bx_dbg_xlate_address((yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 62: -#line 271 "parser.y" +#line 264 "parser.y" { - bx_dbg_trace_reg_command(yyvsp[-1].bval); - free(yyvsp[-2].sval); + bx_dbg_ptime_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 63: -#line 279 "parser.y" +#line 272 "parser.y" { - bx_dbg_print_stack_command(16); - free(yyvsp[-1].sval); + bx_dbg_trace_command((yyvsp[(2) - (3)].bval)); + free((yyvsp[(1) - (3)].sval)); } break; case 64: -#line 284 "parser.y" +#line 280 "parser.y" { - bx_dbg_print_stack_command(yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_trace_reg_command((yyvsp[(2) - (3)].bval)); + free((yyvsp[(1) - (3)].sval)); } break; case 65: -#line 292 "parser.y" +#line 288 "parser.y" { - watchpoint_continue = 0; - dbg_printf("Will stop on watch points\n"); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_print_stack_command(16); + free((yyvsp[(1) - (2)].sval)); } break; case 66: -#line 298 "parser.y" +#line 293 "parser.y" { - watchpoint_continue = 1; - dbg_printf("Will not stop on watch points (they will still be logged)\n"); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_print_stack_command((yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 67: -#line 304 "parser.y" +#line 301 "parser.y" { - bx_dbg_watch(-1, 0); - free(yyvsp[-1].sval); + watchpoint_continue = 0; + dbg_printf("Will stop on watch points\n"); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 68: -#line 309 "parser.y" +#line 307 "parser.y" { - bx_dbg_unwatch(-1, 0); - free(yyvsp[-1].sval); + watchpoint_continue = 1; + dbg_printf("Will not stop on watch points (they will still be logged)\n"); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 69: -#line 314 "parser.y" +#line 313 "parser.y" { - bx_dbg_watch(1, yyvsp[-1].uval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_watch(-1, 0); + free((yyvsp[(1) - (2)].sval)); } break; case 70: -#line 319 "parser.y" +#line 318 "parser.y" { - bx_dbg_unwatch(1, yyvsp[-1].uval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_unwatch(-1, 0); + free((yyvsp[(1) - (2)].sval)); } break; case 71: -#line 324 "parser.y" +#line 323 "parser.y" { - bx_dbg_watch(0, yyvsp[-1].uval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_watch(1, (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 72: -#line 329 "parser.y" +#line 328 "parser.y" { - bx_dbg_unwatch(0, yyvsp[-1].uval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_unwatch(1, (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 73: -#line 337 "parser.y" +#line 333 "parser.y" { - bx_dbg_symbol_command(yyvsp[-1].sval, 0, 0); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_watch(0, (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 74: -#line 342 "parser.y" +#line 338 "parser.y" { - bx_dbg_symbol_command(yyvsp[-2].sval, 0, yyvsp[-1].uval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_unwatch(0, (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 75: -#line 347 "parser.y" +#line 346 "parser.y" { - bx_dbg_symbol_command(yyvsp[-2].sval, 1, yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_symbol_command((yyvsp[(2) - (3)].sval), 0, 0); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 76: -#line 355 "parser.y" +#line 351 "parser.y" { - bx_dbg_where_command(); - free(yyvsp[-1].sval); + bx_dbg_symbol_command((yyvsp[(2) - (4)].sval), 0, (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 77: -#line 363 "parser.y" +#line 356 "parser.y" { - bx_dbg_print_string_command(yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_symbol_command((yyvsp[(3) - (5)].sval), 1, (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); free((yyvsp[(3) - (5)].sval)); } break; case 78: -#line 371 "parser.y" +#line 364 "parser.y" { - bx_dbg_continue_command(); - free(yyvsp[-1].sval); + bx_dbg_where_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 79: -#line 379 "parser.y" +#line 372 "parser.y" { - bx_dbg_stepN_command(1); - free(yyvsp[-1].sval); + bx_dbg_print_string_command((yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 80: -#line 384 "parser.y" +#line 380 "parser.y" { - bx_dbg_stepN_command(yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_continue_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 81: -#line 392 "parser.y" +#line 388 "parser.y" { - bx_dbg_step_over_command(); - free(yyvsp[-1].sval); + bx_dbg_stepN_command(1); + free((yyvsp[(1) - (2)].sval)); } break; case 82: -#line 400 "parser.y" +#line 393 "parser.y" { - bx_dbg_set_auto_disassemble(yyvsp[-1].bval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_stepN_command((yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 83: -#line 405 "parser.y" +#line 401 "parser.y" { - bx_dbg_set_symbol_command(yyvsp[-3].sval, yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); + bx_dbg_step_over_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 84: -#line 410 "parser.y" - { - bx_dbg_set_reg8l_value(yyvsp[-3].uval, yyvsp[-1].uval); +#line 409 "parser.y" + { + bx_dbg_set_auto_disassemble((yyvsp[(3) - (4)].bval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 85: #line 414 "parser.y" - { - bx_dbg_set_reg8h_value(yyvsp[-3].uval, yyvsp[-1].uval); + { + bx_dbg_set_symbol_command((yyvsp[(2) - (5)].sval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; case 86: -#line 418 "parser.y" +#line 419 "parser.y" { - bx_dbg_set_reg16_value(yyvsp[-3].uval, yyvsp[-1].uval); + bx_dbg_set_reg8l_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); } break; case 87: -#line 422 "parser.y" +#line 423 "parser.y" { - bx_dbg_set_reg32_value(yyvsp[-3].uval, yyvsp[-1].uval); + bx_dbg_set_reg8h_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); } break; case 88: -#line 426 "parser.y" +#line 427 "parser.y" { - bx_dbg_set_reg64_value(yyvsp[-3].uval, yyvsp[-1].uval); + bx_dbg_set_reg16_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); } break; case 89: -#line 433 "parser.y" - { - bx_dbg_vbreakpoint_command(bkAtIP, 0, 0); - free(yyvsp[-1].sval); +#line 431 "parser.y" + { + bx_dbg_set_reg32_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); } break; case 90: -#line 438 "parser.y" - { - bx_dbg_vbreakpoint_command(bkRegular, yyvsp[-3].uval, yyvsp[-1].uval); - free(yyvsp[-4].sval); +#line 435 "parser.y" + { + bx_dbg_set_reg64_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); } break; case 91: -#line 443 "parser.y" +#line 442 "parser.y" { - bx_dbg_lbreakpoint_command(bkAtIP, 0); - free(yyvsp[-1].sval); + bx_dbg_vbreakpoint_command(bkAtIP, 0, 0); + free((yyvsp[(1) - (2)].sval)); } break; case 92: -#line 448 "parser.y" +#line 447 "parser.y" { - bx_dbg_lbreakpoint_command(bkRegular, yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_vbreakpoint_command(bkRegular, (yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); } break; case 93: -#line 453 "parser.y" +#line 452 "parser.y" { - bx_dbg_lbreakpoint_symbol_command(yyvsp[-1].sval); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + bx_dbg_lbreakpoint_command(bkAtIP, 0); + free((yyvsp[(1) - (2)].sval)); } break; case 94: -#line 458 "parser.y" +#line 457 "parser.y" { - bx_dbg_pbreakpoint_command(bkAtIP, 0); - free(yyvsp[-1].sval); + bx_dbg_lbreakpoint_command(bkRegular, (yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 95: -#line 463 "parser.y" +#line 462 "parser.y" { - bx_dbg_pbreakpoint_command(bkRegular, yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_lbreakpoint_symbol_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 96: -#line 468 "parser.y" +#line 467 "parser.y" { - bx_dbg_pbreakpoint_command(bkRegular, yyvsp[-1].uval); - free(yyvsp[-3].sval); + bx_dbg_pbreakpoint_command(bkAtIP, 0); + free((yyvsp[(1) - (2)].sval)); } break; case 97: -#line 476 "parser.y" +#line 472 "parser.y" { - bx_dbg_info_bpoints_command(); - free(yyvsp[-1].sval); + bx_dbg_pbreakpoint_command(bkRegular, (yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 98: -#line 484 "parser.y" +#line 477 "parser.y" { - bx_dbg_info_symbols_command(0); - free(yyvsp[-1].sval); + bx_dbg_pbreakpoint_command(bkRegular, (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); } break; case 99: -#line 489 "parser.y" +#line 485 "parser.y" { - bx_dbg_info_symbols_command(yyvsp[-1].sval); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + bx_dbg_info_bpoints_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 100: -#line 497 "parser.y" +#line 493 "parser.y" { - bx_dbg_info_bpoints_command(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_symbols_command(0); + free((yyvsp[(1) - (2)].sval)); } break; case 101: -#line 502 "parser.y" +#line 498 "parser.y" { - bx_dbg_dump_cpu_command(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_symbols_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 102: -#line 507 "parser.y" +#line 506 "parser.y" { - bx_dbg_info_registers_command(BX_INFO_CPU_REGS); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_bpoints_command(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 103: -#line 512 "parser.y" +#line 511 "parser.y" { - bx_dbg_info_registers_command(BX_INFO_FPU_REGS); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_dump_cpu_command(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 104: -#line 517 "parser.y" +#line 516 "parser.y" { - bx_dbg_info_registers_command(BX_INFO_SSE_REGS); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_registers_command(BX_INFO_CPU_REGS); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 105: -#line 522 "parser.y" +#line 521 "parser.y" { - bx_dbg_info_registers_command(BX_INFO_CPU_REGS | BX_INFO_FPU_REGS | BX_INFO_SSE_REGS); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_registers_command(BX_INFO_FPU_REGS); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 106: -#line 527 "parser.y" +#line 526 "parser.y" { - bx_dbg_info_dirty_command(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_registers_command(BX_INFO_SSE_REGS); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 107: -#line 532 "parser.y" +#line 531 "parser.y" { - bx_dbg_info_idt_command(yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); + bx_dbg_info_registers_command(BX_INFO_CPU_REGS | BX_INFO_FPU_REGS | BX_INFO_SSE_REGS); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 108: -#line 537 "parser.y" +#line 536 "parser.y" { - bx_dbg_info_ivt_command(yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); + bx_dbg_info_dirty_command(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 109: -#line 542 "parser.y" +#line 541 "parser.y" { - bx_dbg_info_gdt_command(yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); + bx_dbg_info_idt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; case 110: -#line 547 "parser.y" +#line 546 "parser.y" { - bx_dbg_info_ldt_command(yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); + bx_dbg_info_ivt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; case 111: -#line 552 "parser.y" +#line 551 "parser.y" { - bx_dbg_dump_table(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_gdt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; case 112: -#line 557 "parser.y" +#line 556 "parser.y" { - bx_dbg_info_tss_command(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_ldt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; case 113: -#line 562 "parser.y" +#line 561 "parser.y" { - bx_dbg_info_flags(); - free(yyvsp[-2].sval); + bx_dbg_dump_table(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 114: -#line 567 "parser.y" +#line 566 "parser.y" { - bx_dbg_info_linux_command(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_tss_command(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 115: -#line 572 "parser.y" +#line 571 "parser.y" { - bx_dbg_info_symbols_command(0); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_flags(); + free((yyvsp[(1) - (3)].sval)); } break; case 116: -#line 577 "parser.y" +#line 576 "parser.y" { - bx_dbg_info_symbols_command(yyvsp[-1].sval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_linux_command(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 117: -#line 582 "parser.y" +#line 581 "parser.y" { - bx_dbg_info_control_regs_command(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_symbols_command(0); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 118: -#line 587 "parser.y" +#line 586 "parser.y" { - bx_dbg_info_ne2k(-1, -1); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_info_symbols_command((yyvsp[(3) - (4)].sval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); free((yyvsp[(3) - (4)].sval)); } break; case 119: -#line 592 "parser.y" +#line 591 "parser.y" { - free(yyvsp[-4].sval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); - bx_dbg_info_ne2k(yyvsp[-1].uval, -1); + bx_dbg_info_control_regs_command(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 120: -#line 597 "parser.y" +#line 596 "parser.y" { - free(yyvsp[-6].sval); free(yyvsp[-5].sval); free(yyvsp[-4].sval); free(yyvsp[-2].sval); - bx_dbg_info_ne2k(yyvsp[-3].uval, yyvsp[-1].uval); + bx_dbg_info_ne2k(-1, -1); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 121: -#line 602 "parser.y" +#line 601 "parser.y" { - bx_dbg_info_pic(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); free((yyvsp[(3) - (5)].sval)); + bx_dbg_info_ne2k((yyvsp[(4) - (5)].uval), -1); } break; case 122: -#line 607 "parser.y" +#line 606 "parser.y" { - bx_dbg_info_vga(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + free((yyvsp[(1) - (7)].sval)); free((yyvsp[(2) - (7)].sval)); free((yyvsp[(3) - (7)].sval)); free((yyvsp[(5) - (7)].sval)); + bx_dbg_info_ne2k((yyvsp[(4) - (7)].uval), (yyvsp[(6) - (7)].uval)); } break; case 123: -#line 614 "parser.y" - { yyval.uval = EMPTY_ARG; } +#line 611 "parser.y" + { + bx_dbg_info_pic(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); + } + break; + + case 124: +#line 616 "parser.y" + { + bx_dbg_info_vga(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); + } break; case 125: -#line 619 "parser.y" - { - bx_dbg_info_registers_command(BX_INFO_CPU_REGS); - free(yyvsp[-1].sval); - } - break; - - case 126: -#line 627 "parser.y" - { - bx_dbg_dump_cpu_command(); - free(yyvsp[-1].sval); - } +#line 623 "parser.y" + { (yyval.uval) = EMPTY_ARG; } break; case 127: -#line 635 "parser.y" +#line 628 "parser.y" { - bx_dbg_del_breakpoint_command(yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_info_registers_command(BX_INFO_CPU_REGS); + free((yyvsp[(1) - (2)].sval)); } break; case 128: -#line 643 "parser.y" +#line 636 "parser.y" { - bx_dbg_en_dis_breakpoint_command(yyvsp[-1].uval, 1); - free(yyvsp[-2].sval); + bx_dbg_dump_cpu_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 129: -#line 650 "parser.y" +#line 644 "parser.y" { - bx_dbg_en_dis_breakpoint_command(yyvsp[-1].uval, 0); - free(yyvsp[-2].sval); + bx_dbg_del_breakpoint_command((yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 130: -#line 658 "parser.y" +#line 652 "parser.y" { - bx_dbg_quit_command(); - free(yyvsp[-1].sval); + bx_dbg_en_dis_breakpoint_command((yyvsp[(2) - (3)].uval), 1); + free((yyvsp[(1) - (3)].sval)); } break; case 131: -#line 666 "parser.y" +#line 659 "parser.y" { - bx_dbg_examine_command(yyvsp[-3].sval, yyvsp[-2].sval,1, yyvsp[-1].uval, 1); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_en_dis_breakpoint_command((yyvsp[(2) - (3)].uval), 0); + free((yyvsp[(1) - (3)].sval)); } break; case 132: -#line 671 "parser.y" +#line 667 "parser.y" { - bx_dbg_examine_command(yyvsp[-2].sval, yyvsp[-1].sval,1, 0, 0); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_quit_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 133: -#line 676 "parser.y" +#line 675 "parser.y" { - bx_dbg_examine_command(yyvsp[-2].sval, NULL,0, yyvsp[-1].uval, 1); - free(yyvsp[-2].sval); + bx_dbg_examine_command((yyvsp[(1) - (4)].sval), (yyvsp[(2) - (4)].sval),1, (yyvsp[(3) - (4)].uval), 1); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 134: -#line 681 "parser.y" +#line 680 "parser.y" { - bx_dbg_examine_command(yyvsp[-1].sval, NULL,0, 0, 0); - free(yyvsp[-1].sval); + bx_dbg_examine_command((yyvsp[(1) - (3)].sval), (yyvsp[(2) - (3)].sval),1, 0, 0); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 135: -#line 689 "parser.y" +#line 685 "parser.y" { - bx_dbg_setpmem_command(yyvsp[-3].uval, yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-4].sval); + bx_dbg_examine_command((yyvsp[(1) - (3)].sval), NULL,0, (yyvsp[(2) - (3)].uval), 1); + free((yyvsp[(1) - (3)].sval)); } break; case 136: -#line 697 "parser.y" +#line 690 "parser.y" { - bx_dbg_query_command(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_examine_command((yyvsp[(1) - (2)].sval), NULL,0, 0, 0); + free((yyvsp[(1) - (2)].sval)); } break; case 137: -#line 705 "parser.y" +#line 698 "parser.y" { - bx_dbg_take_command(yyvsp[-1].sval, 1); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_setpmem_command((yyvsp[(2) - (5)].uval), (yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); } break; case 138: -#line 710 "parser.y" +#line 706 "parser.y" { - bx_dbg_take_command(yyvsp[-2].sval, yyvsp[-1].uval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_query_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 139: -#line 715 "parser.y" +#line 714 "parser.y" { - bx_dbg_take_command(yyvsp[-1].sval, 1); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_take_command((yyvsp[(2) - (3)].sval), 1); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 140: -#line 723 "parser.y" +#line 719 "parser.y" { - bx_dbg_set_cpu_command(); - free(yyvsp[-1].sval); + bx_dbg_take_command((yyvsp[(2) - (4)].sval), (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 141: -#line 731 "parser.y" +#line 724 "parser.y" { - bx_dbg_disassemble_current(NULL); - free(yyvsp[-1].sval); + bx_dbg_take_command((yyvsp[(2) - (3)].sval), 1); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 142: -#line 736 "parser.y" +#line 732 "parser.y" { - bx_dbg_disassemble_command(NULL, yyvsp[-1].uval, yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_set_cpu_command(); + free((yyvsp[(1) - (2)].sval)); } break; case 143: -#line 741 "parser.y" +#line 740 "parser.y" { - bx_dbg_disassemble_command(NULL, yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-3].sval); + bx_dbg_disassemble_current(NULL); + free((yyvsp[(1) - (2)].sval)); } break; case 144: -#line 746 "parser.y" +#line 745 "parser.y" { - bx_dbg_disassemble_current(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_disassemble_command(NULL, (yyvsp[(2) - (3)].uval), (yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); } break; case 145: -#line 751 "parser.y" +#line 750 "parser.y" { - bx_dbg_disassemble_command(yyvsp[-2].sval, yyvsp[-1].uval, yyvsp[-1].uval); - free(yyvsp[-3].sval); free(yyvsp[-2].sval); + bx_dbg_disassemble_command(NULL, (yyvsp[(2) - (4)].uval), (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); } break; case 146: -#line 756 "parser.y" +#line 755 "parser.y" { - bx_dbg_disassemble_command(yyvsp[-3].sval, yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); + bx_dbg_disassemble_current((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 147: -#line 761 "parser.y" +#line 760 "parser.y" { - bx_dbg_disassemble_switch_mode(); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_disassemble_command((yyvsp[(2) - (4)].sval), (yyvsp[(3) - (4)].uval), (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; case 148: -#line 766 "parser.y" +#line 765 "parser.y" { - bx_dbg_set_disassemble_size(yyvsp[-1].uval); - free(yyvsp[-4].sval); free(yyvsp[-3].sval); + bx_dbg_disassemble_command((yyvsp[(2) - (5)].sval), (yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; case 149: -#line 774 "parser.y" +#line 770 "parser.y" { - bx_dbg_instrument_command(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_disassemble_switch_mode(); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 150: -#line 779 "parser.y" +#line 775 "parser.y" { - bx_dbg_instrument_command(yyvsp[-1].sval); - free(yyvsp[-2].sval); free(yyvsp[-1].sval); + bx_dbg_set_disassemble_size((yyvsp[(4) - (5)].uval)); + free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; case 151: -#line 787 "parser.y" +#line 783 "parser.y" { - bx_dbg_doit_command(yyvsp[-1].uval); - free(yyvsp[-2].sval); + bx_dbg_instrument_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 152: -#line 795 "parser.y" +#line 788 "parser.y" { - bx_dbg_crc_command(yyvsp[-2].uval, yyvsp[-1].uval); - free(yyvsp[-3].sval); + bx_dbg_instrument_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; case 153: -#line 803 "parser.y" +#line 796 "parser.y" { - dbg_printf("q|quit|exit - quit debugger and emulator execution\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); - } + bx_dbg_doit_command((yyvsp[(2) - (3)].uval)); + free((yyvsp[(1) - (3)].sval)); + } break; case 154: -#line 808 "parser.y" +#line 804 "parser.y" { - dbg_printf("c|cont|continue - continue executing\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); - } + bx_dbg_crc_command((yyvsp[(2) - (4)].uval), (yyvsp[(3) - (4)].uval)); + free((yyvsp[(1) - (4)].sval)); + } break; case 155: -#line 813 "parser.y" +#line 812 "parser.y" { - dbg_printf("s|step|stepi [count] - execute #count instructions (default is one instruction)\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("q|quit|exit - quit debugger and emulator execution\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 156: -#line 818 "parser.y" +#line 817 "parser.y" { - dbg_printf("n|next|p - execute instruction stepping over subroutines\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("c|cont|continue - continue executing\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 157: -#line 823 "parser.y" +#line 822 "parser.y" { - dbg_printf("vb|vbreak - set a virtual address instruction breakpoint\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("s|step|stepi [count] - execute #count instructions (default is one instruction)\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 158: -#line 828 "parser.y" +#line 827 "parser.y" { - dbg_printf("lb|lbreak - set a linear address instruction breakpoint\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("n|next|p - execute instruction stepping over subroutines\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 159: -#line 833 "parser.y" +#line 832 "parser.y" { - dbg_printf("p|pb|break|pbreak - set a physical address instruction breakpoint\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("vb|vbreak - set a virtual address instruction breakpoint\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 160: -#line 838 "parser.y" +#line 837 "parser.y" { - dbg_printf("d|del|delete - delete a breakpoint\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("lb|lbreak - set a linear address instruction breakpoint\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 161: -#line 843 "parser.y" +#line 842 "parser.y" { - dbg_printf("bpe - enable a breakpoint\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("p|pb|break|pbreak - set a physical address instruction breakpoint\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 162: -#line 848 "parser.y" +#line 847 "parser.y" { - dbg_printf("bpd - disable a breakpoint\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("d|del|delete - delete a breakpoint\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 163: -#line 853 "parser.y" +#line 852 "parser.y" { - dbg_printf("blist - list all breakpoints (same as 'info break')\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("bpe - enable a breakpoint\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 164: -#line 858 "parser.y" +#line 857 "parser.y" { - dbg_printf("modebp - toggles mode switch breakpoint\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("bpd - disable a breakpoint\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 165: -#line 863 "parser.y" +#line 862 "parser.y" { - dbg_printf("crc - show CRC32 for physical memory range addr1..addr2\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("blist - list all breakpoints (same as 'info break')\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 166: -#line 868 "parser.y" +#line 867 "parser.y" { - dbg_printf("trace on - print disassembly for every executed instruction\n"); - dbg_printf("trace off - disable instruction tracing\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("modebp - toggles mode switch breakpoint\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 167: -#line 874 "parser.y" +#line 872 "parser.y" { - dbg_printf("trace-reg on - print all registers before every executed instruction\n"); - dbg_printf("trace-reg off - disable registers state tracing\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("crc - show CRC32 for physical memory range addr1..addr2\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 168: -#line 880 "parser.y" +#line 877 "parser.y" { - dbg_printf("dump_cpu - dump complete cpu state\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("trace on - print disassembly for every executed instruction\n"); + dbg_printf("trace off - disable instruction tracing\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 169: -#line 885 "parser.y" +#line 883 "parser.y" { - dbg_printf("set_cpu - set complete cpu state\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("trace-reg on - print all registers before every executed instruction\n"); + dbg_printf("trace-reg off - disable registers state tracing\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 170: -#line 890 "parser.y" +#line 889 "parser.y" { - dbg_printf("ptime - print current time (number of ticks since start of simulation)\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("dump_cpu - dump complete cpu state\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 171: -#line 895 "parser.y" +#line 894 "parser.y" { - dbg_printf("sb - insert a time breakpoint delta instructions into the future\n"); - free(yyvsp[-2].sval);free(yyvsp[-1].sval); + dbg_printf("set_cpu - set complete cpu state\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 172: -#line 900 "parser.y" +#line 899 "parser.y" { - dbg_printf("sba