/* A Bison parser, made by GNU Bison 1.875. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* Written by Richard Stallman by simplifying the original so called ``semantic'' parser. */ /* All symbols defined below should begin with yy or YY, to avoid infringing on user name space. This should be done even for local variables, as they might otherwise be expanded by user macros. There are some unavoidable exceptions within include files to define necessary library symbols; they are noted "INFRINGES ON USER NAME SPACE" below. */ /* Identify Bison output. */ #define YYBISON 1 /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" /* Pure parsers. */ #define YYPURE 0 /* Using locations. */ #define YYLSP_NEEDED 0 /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { UNSIGNED_INTEGER = 258, COMMENT = 259 }; #endif #define UNSIGNED_INTEGER 258 #define COMMENT 259 /* Copy the first part of user declarations. */ #line 6 "kal3.y" #include /* KDF9 assembler for USERCODE */ #include extern int yylex(); extern void yyerror(char *s); extern int tree; extern void endBblock(); /* called at end of B-block to create first 8 words of store and set pointers for main code generation */ extern void reserveStore(int p1, int p2); /* reserve store of type p1 for p2 words */ extern void Bblock(int p1, int p2); /* accept B-block data, either St nnn; or TL nnn; */ extern void storesyl(int p1); /* store single syllable instruction p1 */ extern void store2syl(int p1); /* store 2-syllable instruction p1 */ extern void qnum(int q); /* confirms that q is a valid Q-store number */ extern int twosylqx(int instr, int q1, int q2); /* evaluate two syllable Q-store instruction with 2 Q-store numbers in it or other lower byte */ extern int twosylshetc(int i0, int n); /* evaluate two syllable Q-store instruction with 1 Q-store number in it */ extern void storejump(int s1, int s2, int loc); /* store a jump to specified location */ extern void setlabel(int labno); /* record integer label */ extern int codeloc(int pno, int labno); /* evaluate location in the code -- result is syllable address */ extern int wordform(int loc); /* convert a syllable address to word address in SJNS format */ extern void store3syl(int instr, int addr); /* takes the output from dataloc and embeds in a SET or EXIT instruction */ extern void storememinstr(int instr, int addr, int mod); /* takes the output from data loc and embeds in a emmory accessing instruction */ extern int dataloc(int pno, int vno); /* get data location as word address for a V-store */ extern int ystoreloc(int yset, int yno); /* get ystore location yset will be the letter for YA YB etc */ extern void newproutine(int pno, int v); /* entering a new P-routine */ extern int keepMarker(); /* uses srcmarker to deliver a pointer to the first char of a sequence of digits */ extern int octalval(int p); /* delivers a 16-bit octal value from the pointer p */ extern void vfraction(int p, int sig); /* evalues integer or fraction with sig integral places */ extern void vfloat(int p, int exp); /* evaluates floating point V-store value */ extern void vfppos(); /* stores positive floating point V-store value */ extern void vfpneg(); /* stores negative floating point V-store value */ extern void voctal(int p, int sig); /* ditto octal */ extern void vqformat(int p1, int p2, int p3); /* constructs a Q-store format V-store value */ extern int negatevstore(); /* negates the vstore value deposited by vfraction, etc */ /* returns 0 if V-store vale was zero -- used for F-0.0 */ void setvstore(int vno, int lo, int hi); /* sets give V-store from value constructed in vstoreval */ /* for a full word lo = 0 and hi = 6, for top halp lo = 0 and hi = 3, for bottom half lo = 3 and hi = 6 */ extern void setprinterconst(int v1, int v2); /* sets a printer constant in a range of V-stores -- involves lexical cheating */ extern void startnewword(); /* inserts dummy instructions up to word boundary */ extern void fixY0(int zero, int zero2, int loc); /* locates Y0 at specified absolute address, e.g. Y0=E 4896 */ extern int progstart; // location at which code is to commence -- reset by START directive extern int ptform; // set to 8 if using the rounding rules found in the PT Usercode compiler /* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 0 #endif /* Enabling verbose error messages. */ #ifdef YYERROR_VERBOSE # undef YYERROR_VERBOSE # define YYERROR_VERBOSE 1 #else # define YYERROR_VERBOSE 0 #endif #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) typedef int YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif /* Copy the second part of user declarations. */ /* Line 214 of yacc.c. */ #line 206 "y.tab.c" #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 # else # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca # 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 # endif # define YYSTACK_ALLOC malloc # define YYSTACK_FREE free # endif #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ #if (! defined (yyoverflow) \ && (! defined (__cplusplus) \ || (YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { short yyss; YYSTYPE yyvs; }; /* The size of the maximum gap between one aligned stack and the next. */ # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) /* The size of an array large to enough to hold all stacks, each with N elements. */ # define YYSTACK_BYTES(N) \ ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) /* Copy COUNT objects from FROM to TO. The source and destination do not overlap. */ # ifndef YYCOPY # if 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; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ while (0) # endif # endif /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of elements in the stack, and YYPTR gives the new location of the stack. Advance YYPTR to a properly aligned location for the next stack. */ # define YYSTACK_RELOCATE(Stack) \ do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack, Stack, yysize); \ Stack = &yyptr->Stack; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (0) #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 48 /* YYLAST -- Last index in YYTABLE. */ #define YYLAST 1273 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 49 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 18 /* YYNRULES -- Number of rules. */ #define YYNRULES 398 /* YYNRULES -- Number of states. */ #define YYNSTATES 1129 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 259 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ static const unsigned char yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 22, 2, 24, 48, 47, 2, 2, 2, 2, 26, 33, 2, 20, 35, 23, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 27, 17, 29, 2, 38, 9, 34, 31, 40, 6, 37, 13, 18, 41, 21, 42, 19, 14, 25, 12, 11, 36, 5, 7, 8, 32, 15, 16, 43, 39, 28, 2, 2, 2, 2, 30, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 44, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 45, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 46, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4 }; #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ static const unsigned short yyprhs[] = { 0, 0, 3, 6, 24, 44, 53, 64, 67, 71, 74, 78, 82, 85, 92, 99, 105, 113, 117, 122, 127, 129, 131, 134, 136, 139, 143, 146, 149, 153, 158, 163, 169, 175, 180, 186, 193, 199, 206, 214, 221, 228, 235, 243, 249, 257, 264, 271, 279, 286, 293, 299, 306, 313, 319, 327, 334, 339, 345, 351, 358, 364, 371, 377, 384, 391, 399, 407, 411, 417, 423, 430, 437, 441, 443, 445, 448, 451, 454, 456, 459, 464, 468, 474, 478, 481, 486, 493, 498, 501, 506, 513, 518, 525, 528, 533, 536, 543, 551, 559, 564, 570, 576, 580, 588, 597, 606, 612, 619, 625, 629, 637, 646, 655, 661, 668, 676, 679, 681, 683, 686, 689, 692, 695, 698, 701, 704, 707, 710, 713, 716, 719, 722, 725, 728, 731, 734, 737, 740, 743, 746, 749, 752, 755, 758, 761, 764, 768, 772, 777, 780, 785, 788, 791, 794, 797, 800, 803, 809, 816, 823, 831, 838, 846, 854, 863, 866, 869, 871, 873, 875, 878, 880, 884, 890, 894, 897, 901, 906, 912, 918, 925, 931, 938, 945, 952, 959, 967, 975, 983, 985, 988, 996, 1004, 1013, 1021, 1030, 1039, 1047, 1051, 1056, 1062, 1066, 1071, 1076, 1080, 1083, 1088, 1094, 1098, 1103, 1108, 1112, 1115, 1120, 1126, 1130, 1135, 1140, 1144, 1147, 1152, 1158, 1164, 1168, 1174, 1179, 1187, 1192, 1199, 1206, 1214, 1223, 1228, 1233, 1240, 1248, 1253, 1258, 1264, 1270, 1275, 1280, 1283, 1289, 1295, 1300, 1306, 1311, 1316, 1322, 1328, 1335, 1339, 1344, 1347, 1351, 1355, 1358, 1362, 1366, 1371, 1375, 1379, 1382, 1386, 1390, 1395, 1399, 1403, 1406, 1410, 1414, 1419, 1423, 1429, 1434, 1440, 1446, 1453, 1459, 1464, 1469, 1474, 1481, 1488, 1494, 1498, 1502, 1509, 1513, 1518, 1526, 1532, 1538, 1543, 1548, 1555, 1561, 1568, 1573, 1579, 1584, 1590, 1595, 1601, 1606, 1610, 1614, 1618, 1622, 1628, 1634, 1640, 1646, 1652, 1659, 1665, 1672, 1678, 1685, 1691, 1698, 1706, 1713, 1721, 1728, 1730, 1735, 1742, 1749, 1755, 1763, 1772, 1782, 1788, 1798, 1806, 1813, 1820, 1827, 1834, 1841, 1849, 1855, 1862, 1869, 1876, 1883, 1890, 1898, 1905, 1913, 1919, 1925, 1931, 1938, 1944, 1951, 1959, 1967, 1976, 1983, 1990, 1997, 2005, 2013, 2020, 2028, 2036, 2043, 2050, 2057, 2064, 2071, 2078, 2085, 2092, 2099, 2106, 2113, 2120, 2127, 2134, 2141, 2148, 2155, 2162, 2169, 2176, 2183, 2190, 2197, 2204, 2211, 2218, 2225, 2232, 2234 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yysigned_char yyrhs[] = { 50, 0, -1, 51, 61, -1, 5, 6, 7, 8, 9, 5, 8, 10, 61, 11, 5, 12, 13, 5, 9, 14, 10, -1, 5, 6, 7, 8, 9, 5, 8, 10, 61, 11, 5, 12, 13, 5, 9, 14, 14, 6, 10, -1, 11, 5, 12, 13, 5, 9, 14, 10, -1, 11, 5, 12, 13, 5, 9, 14, 14, 6, 10, -1, 52, 51, -1, 15, 3, 10, -1, 15, 10, -1, 16, 3, 10, -1, 62, 3, 10, -1, 62, 10, -1, 62, 3, 17, 6, 3, 10, -1, 18, 3, 17, 6, 3, 10, -1, 62, 3, 17, 6, 10, -1, 7, 8, 9, 5, 8, 3, 10, -1, 7, 8, 10, -1, 7, 8, 3, 10, -1, 8, 19, 3, 10, -1, 4, -1, 3, -1, 20, 3, -1, 3, -1, 11, 3, -1, 3, 11, 3, -1, 6, 3, -1, 19, 3, -1, 21, 54, 10, -1, 21, 7, 54, 10, -1, 21, 54, 17, 10, -1, 21, 54, 22, 17, 10, -1, 21, 54, 23, 17, 10, -1, 21, 54, 24, 10, -1, 21, 54, 25, 6, 10, -1, 21, 54, 26, 25, 6, 10, -1, 21, 54, 27, 28, 10, -1, 21, 54, 19, 8, 28, 10, -1, 21, 54, 26, 19, 8, 28, 10, -1, 21, 54, 29, 17, 28, 10, -1, 21, 54, 13, 6, 28, 10, -1, 21, 54, 30, 29, 28, 10, -1, 21, 54, 26, 13, 6, 28, 10, -1, 21, 54, 29, 28, 10, -1, 21, 54, 26, 13, 8, 28, 10, -1, 21, 54, 13, 8, 28, 10, -1, 21, 54, 27, 17, 28, 10, -1, 21, 54, 26, 19, 6, 28, 10, -1, 21, 54, 19, 6, 28, 10, -1, 21, 54, 30, 27, 28, 10, -1, 21, 54, 17, 28, 10, -1, 21, 54, 22, 17, 28, 10, -1, 21, 54, 23, 17, 28, 10, -1, 21, 54, 24, 28, 10, -1, 21, 54, 26, 25, 6, 28, 10, -1, 21, 54, 25, 6, 28, 10, -1, 21, 54, 15, 10, -1, 21, 54, 25, 15, 10, -1, 21, 54, 6, 25, 10, -1, 21, 54, 25, 6, 25, 10, -1, 21, 54, 6, 21, 10, -1, 21, 54, 25, 6, 21, 10, -1, 21, 54, 8, 5, 10, -1, 21, 54, 25, 8, 5, 10, -1, 21, 54, 31, 3, 28, 10, -1, 21, 54, 31, 3, 25, 28, 10, -1, 21, 54, 31, 3, 25, 28, 7, -1, 15, 3, 17, -1, 15, 3, 23, 3, 17, -1, 15, 3, 17, 60, 10, -1, 15, 3, 32, 17, 60, 10, -1, 15, 3, 19, 17, 60, 10, -1, 56, 11, 10, -1, 3, -1, 53, -1, 33, 53, -1, 9, 63, -1, 34, 58, -1, 58, -1, 34, 58, -1, 34, 58, 23, 3, -1, 58, 35, 3, -1, 58, 35, 3, 23, 3, -1, 58, 23, 3, -1, 20, 58, -1, 20, 58, 35, 3, -1, 20, 58, 35, 3, 23, 3, -1, 20, 58, 23, 3, -1, 33, 58, -1, 33, 58, 35, 3, -1, 33, 58, 35, 3, 23, 3, -1, 33, 58, 23, 3, -1, 36, 59, 23, 59, 23, 59, -1, 9, 63, -1, 37, 58, 35, 3, -1, 37, 58, -1, 37, 58, 35, 3, 38, 3, -1, 37, 58, 35, 3, 38, 20, 3, -1, 37, 58, 35, 3, 38, 33, 3, -1, 37, 58, 38, 3, -1, 37, 58, 38, 20, 3, -1, 37, 20, 58, 35, 3, -1, 37, 20, 58, -1, 37, 20, 58, 35, 3, 38, 3, -1, 37, 20, 58, 35, 3, 38, 20, 3, -1, 37, 20, 58, 35, 3, 38, 33, 3, -1, 37, 20, 58, 38, 3, -1, 37, 20, 58, 38, 20, 3, -1, 37, 33, 58, 35, 3, -1, 37, 33, 58, -1, 37, 33, 58, 35, 3, 38, 3, -1, 37, 33, 58, 35, 3, 38, 20, 3, -1, 37, 33, 58, 35, 3, 38, 33, 3, -1, 37, 33, 58, 38, 3, -1, 37, 33, 58, 38, 20, 3, -1, 33, 58, 35, 3, 23, 20, 3, -1, 61, 66, -1, 66, -1, 39, -1, 39, 9, -1, 39, 34, -1, 39, 31, -1, 39, 40, -1, 39, 6, -1, 39, 37, -1, 39, 13, -1, 39, 18, -1, 39, 41, -1, 39, 21, -1, 39, 42, -1, 39, 19, -1, 39, 14, -1, 39, 25, -1, 39, 12, -1, 39, 11, -1, 39, 36, -1, 39, 5, -1, 39, 7, -1, 39, 8, -1, 39, 32, -1, 39, 15, -1, 39, 16, -1, 39, 43, -1, 39, 39, -1, 39, 28, -1, 15, 53, -1, 15, 53, 32, -1, 15, 53, 19, -1, 15, 53, 11, 3, -1, 5, 53, -1, 5, 53, 11, 3, -1, 11, 3, -1, 6, 53, -1, 62, 53, -1, 16, 53, -1, 28, 53, -1, 18, 53, -1, 14, 3, 14, 3, 10, -1, 14, 3, 14, 3, 36, 10, -1, 14, 3, 14, 3, 25, 10, -1, 14, 3, 14, 3, 36, 25, 10, -1, 14, 3, 14, 3, 18, 10, -1, 14, 3, 14, 3, 36, 18, 10, -1, 14, 3, 14, 3, 18, 25, 10, -1, 14, 3, 14, 3, 36, 18, 25, 10, -1, 33, 3, -1, 20, 3, -1, 3, -1, 10, -1, 4, -1, 3, 10, -1, 57, -1, 11, 3, 10, -1, 11, 3, 15, 3, 10, -1, 19, 3, 10, -1, 63, 10, -1, 17, 63, 10, -1, 63, 14, 3, 10, -1, 17, 63, 14, 3, 10, -1, 63, 14, 3, 36, 10, -1, 17, 63, 14, 3, 36, 10, -1, 7, 6, 8, 3, 10, -1, 7, 6, 8, 34, 58, 10, -1, 7, 6, 8, 20, 3, 10, -1, 7, 6, 8, 33, 3, 10, -1, 7, 6, 8, 9, 63, 10, -1, 7, 6, 8, 9, 63, 32, 10, -1, 7, 6, 8, 9, 63, 19, 10, -1, 7, 6, 8, 9, 11, 3, 10, -1, 64, -1, 17, 64, -1, 14, 3, 8, 12, 36, 3, 10, -1, 41, 3, 8, 12, 36, 3, 10, -1, 41, 14, 3, 8, 12, 36, 3, 10, -1, 31, 3, 8, 12, 36, 3, 10, -1, 31, 14, 3, 8, 12, 36, 3, 10, -1, 31, 41, 3, 8, 12, 36, 3, 10, -1, 36, 3, 8, 12, 36, 3, 10, -1, 15, 5, 10, -1, 17, 8, 5, 10, -1, 34, 41, 8, 7, 10, -1, 44, 37, 10, -1, 44, 40, 37, 10, -1, 44, 33, 37, 10, -1, 44, 40, 10, -1, 44, 10, -1, 44, 33, 65, 10, -1, 44, 33, 31, 3, 10, -1, 45, 37, 10, -1, 45, 40, 37, 10, -1, 45, 33, 37, 10, -1, 45, 40, 10, -1, 45, 10, -1, 45, 33, 65, 10, -1, 45, 33, 31, 3, 10, -1, 43, 37, 10, -1, 43, 40, 37, 10, -1, 43, 33, 37, 10, -1, 43, 40, 10, -1, 43, 10, -1, 43, 33, 65, 10, -1, 43, 33, 31, 3, 10, -1, 25, 6, 13, 40, 10, -1, 12, 5, 10, -1, 11, 6, 5, 14, 10, -1, 8, 12, 34, 10, -1, 5, 12, 32, 25, 40, 18, 10, -1, 25, 6, 15, 10, -1, 5, 12, 32, 25, 40, 10, -1, 40, 32, 14, 14, 39, 10, -1, 5, 12, 32, 25, 40, 37, 10, -1, 5, 12, 32, 25, 40, 18, 37, 10, -1, 20, 40, 37, 10, -1, 33, 40, 37, 10, -1, 37, 19, 12, 9, 8, 10, -1, 37, 19, 12, 9, 8, 40, 10, -1, 9, 34, 7, 10, -1, 25, 6, 13, 10, -1, 9, 34, 7, 37, 10, -1, 25, 6, 13, 37, 10, -1, 14, 9, 43, 10, -1, 25, 12, 8, 10, -1, 20, 10, -1, 7, 41, 13, 25, 10, -1, 28, 6, 5, 12, 10, -1, 40, 32, 11, 10, -1, 40, 32, 11, 40, 10, -1, 37, 41, 43, 10, -1, 7, 8, 5, 10, -1, 31, 12, 25, 8, 10, -1, 5, 6, 15, 40, 10, -1, 6, 5, 9, 7, 6, 10, -1, 20, 40, 10, -1, 9, 25, 40, 10, -1, 33, 10, -1, 33, 40, 10, -1, 46, 41, 10, -1, 46, 10, -1, 46, 40, 10, -1, 46, 37, 10, -1, 46, 40, 37, 10, -1, 46, 5, 10, -1, 47, 41, 10, -1, 47, 10, -1, 47, 40, 10, -1, 47, 37, 10, -1, 47, 40, 37, 10, -1, 47, 5, 10, -1, 23, 41, 10, -1, 23, 10, -1, 23, 40, 10, -1, 23, 37, 10, -1, 23, 40, 37, 10, -1, 23, 5, 10, -1, 40, 41, 15, 41, 10, -1, 40, 41, 15, 10, -1, 40, 41, 15, 40, 10, -1, 40, 41, 15, 37, 10, -1, 40, 41, 15, 40, 37, 10, -1, 40, 41, 15, 5, 10, -1, 5, 6, 15, 10, -1, 31, 9, 34, 10, -1, 37, 5, 34, 10, -1, 7, 8, 9, 25, 40, 10, -1, 25, 6, 13, 40, 37, 10, -1, 14, 9, 43, 37, 10, -1, 33, 37, 10, -1, 20, 37, 10, -1, 7, 41, 13, 25, 37, 10, -1, 42, 3, 10, -1, 17, 42, 3, 10, -1, 37, 41, 25, 41, 7, 18, 10, -1, 14, 33, 41, 3, 10, -1, 14, 20, 41, 3, 10, -1, 25, 31, 3, 10, -1, 40, 31, 3, 10, -1, 41, 3, 17, 33, 3, 10, -1, 41, 3, 17, 3, 10, -1, 41, 3, 17, 20, 3, 10, -1, 17, 14, 3, 10, -1, 17, 5, 14, 3, 10, -1, 17, 41, 3, 10, -1, 17, 5, 41, 3, 10, -1, 17, 31, 3, 10, -1, 17, 5, 31, 3, 10, -1, 17, 36, 3, 10, -1, 14, 3, 10, -1, 41, 3, 10, -1, 31, 3, 10, -1, 36, 3, 10, -1, 17, 33, 14, 3, 10, -1, 17, 33, 41, 3, 10, -1, 17, 33, 31, 3, 10, -1, 17, 33, 36, 3, 10, -1, 19, 41, 25, 42, 10, -1, 17, 19, 41, 25, 42, 10, -1, 7, 18, 9, 65, 10, -1, 7, 18, 9, 40, 65, 10, -1, 7, 18, 19, 65, 10, -1, 7, 18, 19, 40, 65, 10, -1, 7, 18, 31, 65, 10, -1, 7, 18, 9, 31, 3, 10, -1, 7, 18, 9, 40, 31, 3, 10, -1, 7, 18, 19, 31, 3, 10, -1, 7, 18, 19, 40, 31, 3, 10, -1, 7, 18, 31, 31, 3, 10, -1, 55, -1, 12, 32, 8, 10, -1, 6, 43, 41, 8, 40, 10, -1, 6, 43, 41, 8, 3, 10, -1, 6, 43, 41, 8, 10, -1, 6, 43, 41, 8, 9, 63, 10, -1, 6, 43, 41, 8, 9, 11, 3, 10, -1, 6, 43, 41, 8, 3, 9, 11, 3, 10, -1, 31, 8, 36, 3, 10, -1, 14, 9, 25, 32, 9, 19, 36, 3, 10, -1, 34, 32, 7, 39, 36, 3, 10, -1, 14, 19, 34, 36, 3, 10, -1, 14, 34, 8, 36, 3, 10, -1, 11, 9, 5, 36, 3, 10, -1, 14, 6, 8, 36, 3, 10, -1, 14, 37, 5, 36, 3, 10, -1, 14, 37, 5, 6, 36, 3, 10, -1, 11, 5, 36, 3, 10, -1, 31, 19, 12, 36, 3, 10, -1, 8, 19, 12, 36, 3, 10, -1, 11, 5, 31, 36, 3, 10, -1, 14, 5, 6, 36, 3, 10, -1, 11, 5, 6, 36, 3, 10, -1, 11, 5, 31, 6, 36, 3, 10, -1, 14, 34, 5, 36, 3, 10, -1, 14, 34, 5, 6, 36, 3, 10, -1, 11, 16, 36, 3, 10, -1, 8, 16, 36, 3, 10, -1, 19, 11, 36, 3, 10, -1, 11, 16, 31, 36, 3, 10, -1, 14, 16, 36, 3, 10, -1, 14, 19, 16, 36, 3, 10, -1, 14, 13, 9, 11, 36, 3, 10, -1, 11, 13, 9, 11, 36, 3, 10, -1, 14, 16, 41, 11, 6, 36, 3, 10, -1, 14, 16, 6, 36, 3, 10, -1, 11, 16, 6, 36, 3, 10, -1, 8, 16, 6, 36, 3, 10, -1, 14, 19, 16, 6, 36, 3, 10, -1, 14, 37, 7, 42, 36, 3, 10, -1, 41, 25, 8, 36, 3, 10, -1, 14, 34, 7, 42, 36, 3, 10, -1, 14, 5, 16, 40, 36, 3, 10, -1, 11, 41, 9, 36, 3, 10, -1, 11, 41, 34, 36, 3, 10, -1, 11, 41, 31, 36, 3, 10, -1, 11, 41, 40, 36, 3, 10, -1, 11, 41, 6, 36, 3, 10, -1, 11, 41, 37, 36, 3, 10, -1, 11, 41, 13, 36, 3, 10, -1, 11, 41, 18, 36, 3, 10, -1, 11, 12, 9, 36, 3, 10, -1, 11, 12, 34, 36, 3, 10, -1, 11, 12, 31, 36, 3, 10, -1, 11, 12, 40, 36, 3, 10, -1, 11, 12, 6, 36, 3, 10, -1, 11, 12, 37, 36, 3, 10, -1, 11, 14, 9, 36, 3, 10, -1, 11, 14, 34, 36, 3, 10, -1, 11, 14, 31, 36, 3, 10, -1, 11, 14, 40, 36, 3, 10, -1, 11, 14, 6, 36, 3, 10, -1, 11, 14, 37, 36, 3, 10, -1, 11, 14, 13, 36, 3, 10, -1, 11, 14, 18, 36, 3, 10, -1, 11, 14, 42, 36, 3, 10, -1, 11, 14, 19, 36, 3, 10, -1, 11, 12, 13, 36, 3, 10, -1, 11, 12, 18, 36, 3, 10, -1, 11, 12, 42, 36, 3, 10, -1, 11, 12, 19, 36, 3, 10, -1, 48, -1, 26, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const unsigned short yyrline[] = { 0, 124, 124, 127, 128, 129, 130, 131, 134, 135, 136, 137, 138, 139, 141, 144, 146, 148, 149, 150, 151, 154, 155, 158, 159, 160, 161, 162, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 206, 207, 210, 211, 212, 213, 216, 219, 220, 221, 222, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 263, 266, 267, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 313, 314, 315, 316, 317, 318, 319, 320, 323, 324, 325, 328, 329, 330, 331, 332, 333, 334, 336, 337, 339, 340, 341, 342, 344, 345, 346, 347, 348, 349, 350, 351, 353, 354, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 447, 448, 449, 450, 451, 452, 454, 455, 456, 457, 458, 459, 460, 461, 462, 464, 465, 467, 469, 470, 471, 472, 473, 474, 475, 477, 478, 479, 480, 481, 482, 483, 485, 486, 487, 488, 490, 491, 492, 493, 495, 496, 498, 499, 500, 501, 502, 504, 505, 506, 507, 508, 510, 511, 512, 513, 514, 515, 516, 517, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 557, 558, 559, 560, 561, 562, 563, 564, 566, 567, 568, 569, 570, 571, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 584, 585, 586, 587, 590, 591 }; #endif #if YYDEBUG || YYERROR_VERBOSE /* YYTNME[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", "UNSIGNED_INTEGER", "COMMENT", "'R'", "'E'", "'S'", "'T'", "'A'", "';'", "'P'", "'O'", "'G'", "'M'", "'V'", "'W'", "'='", "'H'", "'L'", "'-'", "'J'", "'!'", "'/'", "'#'", "'N'", "'*'", "'<'", "'Z'", "'>'", "'_'", "'C'", "'U'", "'+'", "'B'", "'.'", "'Q'", "'F'", "'@'", "'Y'", "'D'", "'I'", "'K'", "'X'", "'x'", "'×'", "'÷'", "'%'", "'$'", "$accept", "program", "p0head", "storespec", "integer", "codeloc", "jumpinstr", "vchars", "vspec", "digitsequence", "bit16", "vstoreval", "code", "ystref", "memref", "mqmq", "shiftval", "instruction", 0 }; #endif # ifdef YYPRINT /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */ static const unsigned short yytoknum[] = { 0, 256, 257, 258, 259, 82, 69, 83, 84, 65, 59, 80, 79, 71, 77, 86, 87, 61, 72, 76, 45, 74, 33, 47, 35, 78, 42, 60, 90, 62, 95, 67, 85, 43, 66, 46, 81, 70, 64, 89, 68, 73, 75, 88, 120, 215, 247, 37, 36 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const unsigned char yyr1[] = { 0, 49, 50, 51, 51, 51, 51, 51, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 53, 53, 54, 54, 54, 54, 54, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 56, 56, 57, 57, 57, 57, 58, 59, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 61, 61, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 64, 64, 64, 64, 64, 64, 64, 64, 65, 65, 65, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const unsigned char yyr2[] = { 0, 2, 2, 17, 19, 8, 10, 2, 3, 2, 3, 3, 2, 6, 6, 5, 7, 3, 4, 4, 1, 1, 2, 1, 2, 3, 2, 2, 3, 4, 4, 5, 5, 4, 5, 6, 5, 6, 7, 6, 6, 6, 7, 5, 7, 6, 6, 7, 6, 6, 5, 6, 6, 5, 7, 6, 4, 5, 5, 6, 5, 6, 5, 6, 6, 7, 7, 3, 5, 5, 6, 6, 3, 1, 1, 2, 2, 2, 1, 2, 4, 3, 5, 3, 2, 4, 6, 4, 2, 4, 6, 4, 6, 2, 4, 2, 6, 7, 7, 4, 5, 5, 3, 7, 8, 8, 5, 6, 5, 3, 7, 8, 8, 5, 6, 7, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 2, 4, 2, 2, 2, 2, 2, 2, 5, 6, 6, 7, 6, 7, 7, 8, 2, 2, 1, 1, 1, 2, 1, 3, 5, 3, 2, 3, 4, 5, 5, 6, 5, 6, 6, 6, 6, 7, 7, 7, 1, 2, 7, 7, 8, 7, 8, 8, 7, 3, 4, 5, 3, 4, 4, 3, 2, 4, 5, 3, 4, 4, 3, 2, 4, 5, 3, 4, 4, 3, 2, 4, 5, 5, 3, 5, 4, 7, 4, 6, 6, 7, 8, 4, 4, 6, 7, 4, 4, 5, 5, 4, 4, 2, 5, 5, 4, 5, 4, 4, 5, 5, 6, 3, 4, 2, 3, 3, 2, 3, 3, 4, 3, 3, 2, 3, 3, 4, 3, 3, 2, 3, 3, 4, 3, 5, 4, 5, 5, 6, 5, 4, 4, 4, 6, 6, 5, 3, 3, 6, 3, 4, 7, 5, 5, 4, 4, 6, 5, 6, 4, 5, 4, 5, 4, 5, 4, 3, 3, 3, 3, 5, 5, 5, 5, 5, 6, 5, 6, 5, 6, 5, 6, 7, 6, 7, 6, 1, 4, 6, 6, 5, 7, 8, 9, 5, 9, 7, 6, 6, 6, 6, 6, 7, 5, 6, 6, 6, 6, 6, 7, 6, 7, 5, 5, 5, 6, 5, 6, 7, 7, 8, 6, 6, 6, 7, 7, 6, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 1 }; /* 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 short yydefact[] = { 0, 20, 0, 0, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 136, 123, 137, 138, 119, 134, 133, 125, 131, 140, 141, 126, 130, 128, 132, 144, 121, 139, 120, 135, 124, 143, 122, 127, 129, 142, 1, 0, 169, 0, 0, 0, 0, 0, 168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 398, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 397, 326, 0, 171, 2, 0, 0, 189, 117, 7, 0, 12, 0, 0, 0, 17, 0, 0, 8, 10, 0, 170, 21, 0, 0, 0, 149, 0, 0, 152, 0, 0, 0, 0, 0, 0, 0, 0, 0, 151, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 0, 145, 154, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 156, 0, 0, 0, 242, 0, 0, 23, 0, 0, 0, 0, 0, 0, 269, 0, 0, 0, 0, 0, 0, 0, 155, 0, 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 219, 0, 0, 0, 205, 0, 0, 0, 212, 0, 0, 0, 0, 257, 0, 0, 0, 0, 263, 0, 0, 0, 0, 116, 153, 175, 0, 11, 0, 0, 18, 0, 19, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 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, 223, 0, 0, 306, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67, 0, 0, 0, 198, 0, 147, 146, 0, 0, 0, 0, 151, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 174, 0, 0, 287, 252, 0, 0, 26, 0, 24, 27, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 271, 270, 0, 268, 0, 0, 0, 0, 0, 0, 308, 0, 0, 0, 0, 0, 0, 286, 255, 0, 0, 0, 0, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 307, 0, 0, 0, 289, 167, 0, 0, 0, 0, 0, 215, 218, 0, 0, 0, 0, 201, 204, 0, 0, 0, 0, 208, 211, 0, 261, 259, 258, 0, 256, 267, 265, 264, 0, 262, 72, 0, 0, 0, 0, 0, 0, 280, 0, 0, 150, 0, 0, 0, 0, 0, 0, 0, 248, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 225, 0, 0, 0, 253, 236, 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, 327, 0, 0, 0, 0, 0, 0, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 148, 0, 0, 0, 199, 299, 0, 303, 0, 0, 0, 0, 305, 301, 290, 0, 0, 0, 232, 25, 29, 0, 0, 0, 0, 0, 56, 30, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 272, 237, 0, 0, 227, 241, 294, 0, 0, 0, 281, 0, 0, 0, 0, 233, 0, 0, 0, 282, 0, 0, 247, 295, 245, 0, 0, 0, 275, 0, 0, 0, 0, 0, 0, 0, 0, 0, 166, 0, 165, 217, 220, 216, 0, 203, 206, 202, 0, 210, 213, 209, 260, 266, 177, 0, 0, 15, 0, 0, 0, 14, 250, 0, 0, 0, 0, 330, 0, 181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 316, 0, 0, 0, 318, 0, 320, 243, 0, 0, 353, 0, 238, 173, 0, 0, 0, 343, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 352, 0, 0, 0, 0, 0, 0, 0, 0, 0, 157, 0, 0, 0, 0, 0, 0, 0, 285, 0, 0, 356, 0, 0, 0, 0, 293, 292, 0, 0, 0, 0, 0, 0, 0, 93, 84, 88, 79, 0, 0, 0, 74, 0, 0, 0, 95, 0, 0, 69, 0, 68, 0, 300, 304, 302, 0, 310, 312, 313, 311, 178, 0, 354, 314, 60, 58, 62, 0, 0, 50, 0, 0, 31, 0, 32, 0, 53, 34, 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, 0, 36, 0, 43, 0, 0, 0, 0, 239, 222, 0, 244, 0, 334, 249, 0, 0, 0, 0, 200, 0, 0, 0, 246, 0, 279, 277, 276, 0, 274, 0, 297, 0, 0, 0, 0, 221, 207, 214, 179, 13, 0, 16, 0, 228, 0, 0, 251, 0, 329, 0, 0, 328, 151, 185, 0, 0, 183, 184, 182, 283, 321, 0, 317, 323, 0, 319, 325, 288, 363, 345, 348, 0, 346, 339, 381, 377, 393, 394, 396, 379, 378, 382, 380, 395, 0, 387, 383, 389, 390, 392, 385, 384, 388, 386, 391, 362, 355, 373, 369, 375, 376, 371, 370, 374, 372, 0, 161, 0, 159, 158, 0, 0, 347, 0, 340, 0, 0, 361, 0, 0, 357, 337, 0, 350, 0, 338, 0, 341, 0, 0, 0, 0, 0, 0, 76, 75, 77, 0, 102, 109, 0, 0, 83, 81, 71, 70, 315, 180, 40, 45, 48, 37, 51, 52, 61, 59, 55, 63, 0, 0, 0, 0, 35, 0, 46, 39, 49, 41, 0, 64, 284, 0, 0, 344, 0, 0, 0, 234, 0, 0, 229, 278, 0, 298, 296, 0, 366, 0, 5, 0, 226, 0, 230, 0, 0, 331, 188, 187, 186, 322, 324, 349, 359, 191, 163, 162, 0, 160, 368, 0, 358, 0, 364, 351, 367, 342, 365, 87, 85, 91, 89, 80, 0, 0, 0, 0, 0, 94, 99, 0, 0, 42, 44, 47, 38, 54, 66, 65, 194, 0, 0, 336, 197, 235, 291, 192, 0, 0, 0, 231, 0, 332, 164, 0, 360, 0, 0, 0, 101, 106, 0, 108, 113, 0, 0, 100, 82, 195, 196, 193, 0, 6, 333, 335, 86, 90, 0, 92, 0, 107, 0, 114, 96, 0, 0, 0, 115, 103, 0, 0, 110, 0, 0, 97, 98, 0, 104, 105, 111, 112, 0, 0, 0, 0, 3, 0, 0, 4 }; /* YYDEFGOTO[NTERM-NUM]. */ static const short yydefgoto[] = { -1, 10, 11, 12, 110, 176, 85, 86, 87, 555, 774, 556, 88, 89, 90, 91, 422, 92 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ #define YYPACT_NINF -955 static const short yypact[] = { 327, -955, 11, 25, 81, 59, 602, 175, 237, 192, 298, 102, 327, 610, 319, 612, 362, 400, 454, -955, 484, 476, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, 492, -955, 543, 9, 235, 317, 5, -955, 10, 51, 341, 545, 112, 231, 112, 29, 89, 569, 211, 378, -955, 550, 41, 331, 578, 512, 2, 577, 483, 584, 339, 409, 422, 217, 251, -955, -955, 582, -955, 102, 112, 552, -955, -955, -955, 506, -955, 609, 626, 636, -955, 654, 649, -955, -955, 659, -955, -955, 653, 634, 664, 658, 661, 630, -955, 665, 620, 513, 662, 640, 125, 660, 639, 669, 204, 238, 672, 673, 262, 671, 288, 357, 346, 674, 675, 616, 590, 677, 50, 678, 55, 196, 645, 648, 72, 637, 560, 680, 528, -955, 45, 112, 676, 679, 685, 112, 650, 112, 689, 459, 690, 691, 692, 617, -955, -955, 686, 663, 681, -955, 687, 228, 693, 695, 575, 697, 698, 511, 699, -955, 701, 290, 702, 632, 694, 700, 703, -955, 638, 682, 683, 688, 704, 708, 711, -955, 705, 348, 709, 713, 641, 696, 710, 444, 720, 123, 712, 594, 721, 717, 716, -955, 64, 718, 352, -955, 336, 719, 393, -955, 394, 722, 461, 723, -955, 724, 462, 725, 726, -955, 727, 466, 728, 729, -955, -955, -955, 737, -955, 735, 733, -955, 736, -955, 738, 742, 130, 706, -955, 743, 740, 741, 404, 744, 730, 38, 54, 320, 731, 747, 714, 745, 715, 748, 467, -955, 749, 732, 166, 750, 746, 734, 739, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, -955, 786, 797, -955, 782, 783, 784, 785, 788, 469, 807, 787, 819, 814, 219, 790, 824, 825, 312, 789, 793, 364, 791, 275, 813, 829, 817, -955, 832, -955, -955, 833, 834, 835, 830, -955, 618, 816, 836, 839, 840, 841, 842, 837, 838, 843, -955, 846, -955, 847, 809, -955, -955, 844, 849, -955, 845, -955, -955, 614, 851, -955, 644, 848, 277, 647, 822, 850, 464, 592, 576, 158, 501, 627, 854, -955, -955, -955, 852, -955, 426, 853, 855, 856, 857, 858, -955, 861, 862, 860, 863, 823, 865, -955, -955, 864, 666, 868, 866, -955, 867, 870, 820, 871, 872, 438, 869, 280, 873, -955, 283, 876, 859, -955, -955, 877, 883, 884, 878, 879, -955, -955, 880, 888, 882, 886, -955, -955, 887, 890, 889, 891, -955, -955, 892, -955, -955, -955, 893, -955, -955, -955, -955, 894, -955, -955, 32, 613, 895, 902, 885, 897, -955, 898, 874, -955, 903, 63, 900, 376, 908, 909, 910, -955, 875, 913, 414, 907, 915, 423, 911, 916, 912, 472, -955, 917, 914, 920, -955, -955, 918, 919, 922, 896, 923, 921, 924, 927, 930, 932, 933, 934, 935, 936, 937, 938, 939, 940, 925, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 959, 961, 962, 963, -955, 931, 495, 965, 958, 966, 964, -955, 960, 967, 968, 969, 970, 971, 972, 974, 973, 975, 976, 977, 978, 979, 980, 981, 982, -955, 390, 910, 910, 910, 419, 437, 254, 983, 275, 881, 275, -955, 985, 986, 987, -955, -955, 818, -955, 988, 989, 990, 991, -955, -955, -955, 173, 992, 994, -955, -955, -955, 995, 996, 998, 899, 928, -955, -955, 999, 993, 997, 486, 497, -955, 1000, 533, 984, 1001, 651, 652, 1007, 1002, 1005, 1003, 1009, 1004, 1006, 152, -955, -955, 1010, 473, -955, -955, -955, 1012, 1008, 1013, -955, 1014, 1015, 1025, 1017, -955, 1011, 1023, 1016, -955, 1027, 1029, -955, -955, -955, 1028, 1018, 1030, -955, 1031, 474, 1032, 1019, 1033, 1034, 1036, 1037, 1042, -955, 1038, -955, -955, -955, -955, 1040, -955, -955, -955, 1041, -955, -955, -955, -955, -955, -955, 1043, 1044, -955, 1048, 1049, 1046, -955, -955, 44, 1051, 389, 405, -955, 1052, -955, 112, 1055, 305, 1053, 1054, 1056, 1057, 1058, 1062, 1059, -955, 1060, 1068, 1063, -955, 1064, -955, -955, 1065, 1066, -955, 1067, -955, -955, 1069, 1075, 1070, -955, -955, 1071, 1072, 1073, 1074, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1090, 1084, 1085, 1086, 1087, 1088, 1089, 1091, 1092, 1093, 1094, 1095, 1096, -955, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1112, -955, -5, 1106, 572, 1107, 1115, 1109, 1105, -955, 1117, 1111, -955, 1108, 1119, 1113, 1116, -955, -955, 1122, 1118, 1124, 1120, 1126, 1121, 1129, -955, 536, 568, 1110, 390, 112, 910, -955, 1114, 910, 910, 180, 1131, 1132, -955, 1128, -955, 1130, -955, -955, -955, 1133, -955, -955, -955, -955, -955, 1135, -955, -955, -955, -955, -955, 1136, 1137, -955, 1138, 1139, -955, 1140, -955, 1141, -955, -955, 1142, 1143, 1144, 1145, -955, 1134, 1146, 1147, 1148, 517, 1149, -955, 1150, -955, 1151, 1153, 1152, 1154, -955, -955, 1155, -955, 1163, -955, -955, 1156, 1157, 1158, 1165, -955, 1166, 451, 1123, -955, 1160, -955, -955, -955, 1161, -955, 1169, -955, 1167, 1168, 1159, 1171, -955, -955, -955, -955, -955, 1172, -955, 623, -955, 475, 1173, -955, 1035, -955, 1170, 1174, -955, 1175, -955, 1176, 1177, -955, -955, -955, -955, -955, 1178, -955, -955, 1179, -955, -955, -955, -955, -955, -955, 1180, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, 1181, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, 1183, -955, 1186, -955, -955, 574, 1187, -955, 1188, -955, 1164, 1189, -955, 1198, 1192, -955, -955, 1193, -955, 1194, -955, 1195, -955, 1196, 1204, 1205, 1206, 1207, 1208, -955, -955, -955, 419, 244, 529, 1209, 263, -955, 1190, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, 1210, 1211, 1212, 1213, -955, 1214, -955, -955, -955, -955, 633, -955, -955, 1215, 1216, -955, 1223, 1217, 1218, -955, 1219, 1220, -955, -955, 1221, -955, -955, 1229, -955, 102, -955, 1227, -955, 1224, -955, 1232, 1226, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, -955, 1228, -955, -955, 1234, -955, 1230, -955, -955, -955, -955, -955, -955, 1191, -955, 1222, -955, 1225, 1236, 548, 1238, 549, 1047, -955, 1239, 1240, -955, -955, -955, -955, -955, -955, -955, -955, 1237, 1241, -955, -955, -955, -955, -955, 1242, 148, 1243, -955, 1244, -955, -955, 1245, -955, 1246, 554, 419, 1231, -955, 1247, 1233, -955, 1253, 447, -955, -955, -955, -955, -955, 22, -955, -955, -955, -955, -955, 1254, -955, 448, -955, 455, -955, -955, 1255, 1256, 429, -955, -955, 1257, 1258, -955, 1259, 1260, -955, -955, 1202, -955, -955, -955, -955, 1261, 1127, 1125, 624, -955, 1262, 1263, -955 }; /* YYPGOTO[NTERM-NUM]. */ static const short yypgoto[] = { -955, -955, 1252, -955, -52, 586, -955, -955, -955, -462, -954, 104, -247, 573, -60, 707, -209, -87 }; /* 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[] = { 113, 233, 162, 683, 1043, 927, 428, 200, 147, 148, 434, 164, 106, 123, 111, 124, 125, 14, 186, 126, 928, 201, 127, 128, 129, 123, 130, 1106, 125, 109, 121, 126, 165, 15, 127, 128, 129, 234, 130, 122, 166, 417, 662, 202, 187, 470, 473, 475, 106, 188, 189, 131, 112, 190, 864, 191, 132, 417, 418, 334, 192, 314, 865, 131, 17, 109, 673, 417, 663, 468, 167, 420, 674, 675, 418, 311, 335, 321, 469, 322, 323, 866, 193, 133, 418, 471, 336, 420, 767, 768, 769, 315, 777, 312, 472, 419, 316, 420, 113, 168, 16, 421, 147, 676, 186, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 106, 59, 60, 61, 62, 63, 64, 65, 66, 1098, 67, 169, 68, 69, 170, 70, 259, 109, 71, 408, 72, 73, 409, 74, 75, 455, 9, 76, 77, 78, 79, 80, 81, 82, 83, 84, 49, 50, 51, 52, 53, 54, 55, 56, 1091, 58, 260, 59, 60, 61, 62, 63, 64, 65, 66, 456, 67, 486, 68, 69, 601, 70, 826, 20, 71, 827, 72, 73, 792, 74, 75, 602, 9, 76, 77, 78, 79, 80, 81, 82, 83, 84, 22, 23, 24, 25, 26, 487, 27, 28, 29, 30, 31, 32, 793, 33, 34, 317, 35, 264, 961, 177, 36, 962, 265, 37, 178, 222, 38, 39, 536, 40, 223, 41, 42, 318, 43, 44, 45, 46, 47, 149, 150, 355, 151, 21, 114, 152, 115, 266, 153, 154, 61, 179, 63, 155, 180, 181, 116, 224, 537, 227, 225, 226, 156, 687, 228, 157, 691, 158, 356, 1049, 159, 271, 267, 9, 272, 160, 161, 268, 273, 117, 778, 548, 1044, 274, 275, 1045, 1050, 549, 635, 641, 587, 229, 779, 636, 230, 231, 276, 282, 550, 277, 283, 48, 278, 380, 284, 279, 642, 280, 588, 285, 286, 551, 552, 957, 553, 554, 959, 960, 874, 643, 637, 541, 287, 638, 639, 288, 417, 875, 289, 96, 381, 290, 118, 291, 1, 2, 119, 3, 4, 120, 876, 5, 417, 418, 194, 6, 7, 134, 8, 135, 136, 542, 210, 137, 474, 295, 420, 138, 296, 418, 139, 397, 297, 140, 141, 424, 292, 298, 100, 9, 426, 195, 420, 545, 196, 211, 427, 142, 143, 212, 299, 144, 213, 300, 678, 150, 301, 182, 398, 302, 679, 293, 425, 183, 154, 61, 294, 63, 678, 150, 417, 868, 869, 546, 152, 680, 430, 156, 154, 61, 461, 63, 184, 678, 150, 101, 462, 418, 9, 870, 417, 156, 214, 154, 61, 106, 63, 463, 432, 417, 420, 770, 9, 431, 433, 218, 156, 418, 266, 609, 464, 465, 109, 548, 1116, 215, 418, 9, 686, 216, 420, 632, 217, 1103, 1108, 771, 772, 690, 219, 420, 775, 1111, 220, 267, 998, 221, 610, 102, 268, 611, 1104, 1109, 405, 776, 436, 440, 342, 593, 1112, 445, 482, 633, 530, 1105, 1110, 695, 829, 847, 1011, 206, 406, 1113, 766, 343, 999, 594, 104, 103, 344, 804, 207, 437, 441, 345, 773, 105, 446, 483, 741, 531, 806, 208, 696, 830, 848, 1012, 742, 805, 199, 237, 362, 603, 363, 743, 364, 254, 238, 365, 807, 366, 983, 367, 604, 368, 744, 255, 369, 370, 371, 372, 373, 374, 331, 375, 376, 377, 809, 256, 984, 106, 332, 145, 107, 146, 1080, 1083, 106, 810, 108, 185, 1096, 811, 950, 333, 812, 235, 109, 1046, 109, 236, 1047, 1081, 1084, 109, 951, 171, 13, 1097, 172, 173, 326, 171, 327, 174, 172, 930, 328, 1026, 13, 174, 209, 175, 598, 931, 952, 329, 232, 175, 599, 308, 932, 595, 1027, 596, 600, 411, 953, 412, 18, 309, 597, 203, 204, 197, 413, 19, 94, 871, 97, 664, 239, 205, 198, 95, 98, 99, 665, 305, 252, 306, 349, 565, 253, 307, 350, 307, 1009, 1125, 581, 240, 1010, 1126, 582, 1057, 241, 324, 1058, 325, 383, 388, 384, 389, 401, 584, 402, 585, 589, 605, 590, 606, 815, 817, 816, 818, 781, 243, 783, 242, 244, 246, 247, 245, 248, 249, 250, 261, 251, 258, 257, 263, 269, 270, 262, 281, 337, 338, 304, 303, 310, 319, 313, 339, 320, 330, 340, 341, 346, 347, 348, 351, 354, 358, 352, 360, 361, 385, 386, 357, 624, 353, 393, 387, 378, 955, 379, 382, 392, 395, 396, 399, 391, 390, 956, 394, 400, 404, 407, 414, 415, 416, 410, 423, 429, 403, 457, 435, 438, 439, 442, 443, 444, 447, 448, 449, 450, 451, 453, 452, 454, 458, 459, 479, 460, 478, 480, 484, 488, 466, 467, 476, 477, 481, 359, 489, 1068, 0, 0, 0, 0, 0, 0, 485, 163, 490, 501, 0, 0, 0, 491, 514, 0, 0, 0, 0, 0, 0, 0, 0, 525, 0, 492, 493, 494, 495, 496, 497, 498, 499, 500, 523, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 524, 515, 516, 517, 518, 519, 520, 521, 522, 532, 526, 529, 528, 534, 533, 527, 535, 538, 539, 540, 544, 557, 543, 558, 547, 559, 560, 561, 562, 563, 591, 564, 566, 568, 569, 570, 571, 567, 572, 573, 575, 576, 577, 579, 574, 578, 580, 583, 607, 586, 621, 787, 629, 608, 612, 617, 613, 614, 592, 619, 615, 616, 620, 618, 622, 623, 625, 0, 627, 626, 628, 646, 630, 631, 634, 644, 640, 647, 648, 649, 650, 651, 652, 653, 656, 668, 645, 654, 655, 782, 657, 666, 658, 659, 660, 661, 667, 773, 669, 670, 672, 677, 681, 682, 548, 671, 684, 685, 688, 689, 693, 697, 692, 694, 699, 698, 702, 704, 799, 700, 701, 707, 705, 703, 708, 706, 709, 710, 711, 712, 713, 714, 715, 716, 717, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 800, 732, 733, 734, 735, 718, 736, 731, 737, 738, 739, 740, 745, 747, 749, 751, 0, 748, 0, 755, 753, 756, 0, 752, 760, 233, 762, 757, 764, 758, 0, 0, 0, 813, 0, 0, 0, 780, 746, 784, 785, 786, 788, 789, 790, 791, 794, 750, 795, 796, 797, 754, 798, 801, 808, 814, 759, 819, 761, 821, 763, 0, 765, 823, 828, 802, 831, 833, 834, 803, 773, 835, 836, 837, 820, 822, 824, 839, 825, 841, 842, 852, 843, 853, 845, 846, 849, 851, 832, 855, 1014, 838, 856, 854, 857, 858, 840, 859, 860, 850, 861, 844, 873, 862, 863, 867, 872, 877, 878, 882, 879, 880, 881, 883, 884, 885, 0, 886, 887, 888, 889, 890, 892, 891, 893, 894, 895, 896, 897, 1085, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 0, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 929, 933, 934, 935, 937, 938, 940, 941, 936, 943, 942, 945, 944, 947, 946, 948, 949, 954, 963, 964, 1123, 958, 965, 1124, 966, 1000, 0, 967, 939, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 0, 0, 0, 985, 986, 987, 979, 988, 990, 991, 992, 994, 996, 997, 1001, 1002, 1003, 1015, 980, 981, 982, 1004, 1005, 0, 989, 1007, 1008, 1013, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 993, 1024, 995, 1006, 1025, 1028, 1029, 1031, 1030, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1048, 1051, 1076, 1121, 0, 0, 0, 1060, 1052, 1053, 1054, 1055, 1056, 1059, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1069, 1070, 1071, 1072, 1074, 1073, 1079, 1075, 1082, 1086, 1087, 0, 1077, 0, 1088, 1078, 1095, 1100, 1089, 1090, 1092, 1093, 1094, 1102, 1107, 1114, 1115, 1117, 1118, 1119, 1120, 93, 0, 1122, 0, 1127, 1099, 0, 1101, 0, 1128 }; static const short yycheck[] = { 52, 88, 62, 465, 958, 10, 215, 5, 60, 61, 219, 63, 3, 3, 5, 5, 6, 6, 70, 9, 25, 19, 12, 13, 14, 3, 16, 5, 6, 20, 25, 9, 3, 8, 12, 13, 14, 89, 16, 34, 11, 3, 10, 41, 3, 254, 255, 256, 3, 8, 9, 41, 43, 12, 10, 14, 5, 3, 20, 14, 19, 6, 18, 41, 5, 20, 3, 3, 36, 31, 41, 33, 9, 10, 20, 25, 31, 5, 40, 7, 8, 37, 41, 32, 20, 31, 41, 33, 550, 551, 552, 36, 554, 43, 40, 31, 41, 33, 150, 10, 19, 37, 154, 40, 156, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, 14, 15, 16, 17, 18, 19, 20, 21, 1078, 23, 37, 25, 26, 40, 28, 6, 20, 31, 11, 33, 34, 14, 36, 37, 10, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 36, 14, 15, 16, 17, 18, 19, 20, 21, 40, 23, 6, 25, 26, 17, 28, 25, 3, 31, 28, 33, 34, 10, 36, 37, 28, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 5, 6, 7, 8, 9, 36, 11, 12, 13, 14, 15, 16, 36, 18, 19, 16, 21, 10, 35, 5, 25, 38, 15, 28, 10, 5, 31, 32, 6, 34, 10, 36, 37, 34, 39, 40, 41, 42, 43, 5, 6, 10, 8, 3, 6, 11, 8, 6, 14, 15, 16, 37, 18, 19, 40, 41, 18, 37, 36, 5, 40, 41, 28, 469, 10, 31, 472, 33, 37, 3, 36, 6, 31, 39, 9, 41, 42, 36, 13, 41, 23, 3, 35, 18, 19, 38, 20, 9, 5, 3, 10, 37, 35, 10, 40, 41, 31, 6, 20, 34, 9, 0, 37, 10, 13, 40, 20, 42, 28, 18, 19, 33, 34, 772, 36, 37, 775, 776, 10, 33, 37, 6, 31, 40, 41, 34, 3, 19, 37, 7, 37, 40, 12, 42, 4, 5, 16, 7, 8, 19, 32, 11, 3, 20, 10, 15, 16, 3, 18, 5, 6, 36, 10, 9, 31, 6, 33, 13, 9, 20, 16, 10, 13, 19, 20, 10, 6, 18, 3, 39, 31, 37, 33, 6, 40, 33, 37, 33, 34, 37, 31, 37, 40, 34, 5, 6, 37, 6, 37, 40, 11, 31, 37, 12, 15, 16, 36, 18, 5, 6, 3, 9, 10, 36, 11, 462, 10, 28, 15, 16, 3, 18, 31, 5, 6, 12, 9, 20, 39, 11, 3, 28, 10, 15, 16, 3, 18, 20, 31, 3, 33, 9, 39, 37, 37, 10, 28, 20, 6, 10, 33, 34, 20, 3, 12, 33, 20, 39, 31, 37, 33, 10, 40, 3, 3, 33, 34, 31, 33, 33, 20, 3, 37, 31, 10, 40, 37, 10, 36, 40, 20, 20, 25, 33, 10, 10, 14, 10, 20, 10, 10, 40, 10, 33, 33, 10, 10, 10, 10, 3, 43, 33, 549, 31, 40, 28, 17, 10, 36, 10, 14, 37, 37, 41, 553, 10, 37, 37, 10, 37, 10, 25, 37, 37, 37, 37, 18, 28, 3, 10, 6, 17, 8, 25, 10, 9, 17, 13, 28, 15, 10, 17, 28, 19, 36, 19, 22, 23, 24, 25, 26, 27, 11, 29, 30, 31, 10, 31, 28, 3, 19, 3, 6, 5, 3, 3, 3, 21, 12, 6, 3, 25, 23, 32, 28, 10, 20, 35, 20, 14, 38, 20, 20, 20, 35, 3, 0, 20, 6, 7, 17, 3, 19, 11, 6, 10, 23, 10, 12, 11, 3, 19, 13, 18, 23, 32, 11, 19, 19, 6, 25, 6, 25, 8, 25, 8, 35, 10, 3, 16, 15, 31, 32, 32, 17, 10, 3, 674, 3, 3, 8, 41, 41, 10, 9, 10, 10, 8, 5, 10, 10, 10, 9, 14, 14, 14, 10, 10, 21, 10, 14, 14, 25, 7, 5, 5, 10, 7, 13, 8, 15, 10, 8, 6, 10, 8, 6, 27, 8, 29, 6, 6, 8, 8, 557, 13, 559, 10, 6, 32, 3, 15, 11, 9, 41, 12, 8, 34, 13, 7, 5, 5, 40, 9, 5, 3, 8, 10, 8, 41, 9, 3, 41, 10, 41, 3, 3, 3, 3, 10, 10, 3, 36, 3, 3, 8, 3, 11, 39, 25, 3, 5, 10, 770, 10, 10, 25, 3, 10, 7, 34, 36, 771, 12, 8, 12, 3, 3, 8, 10, 15, 10, 10, 34, 25, 10, 10, 10, 10, 10, 10, 10, 10, 3, 6, 9, 5, 8, 3, 3, 7, 3, 8, 36, 36, 3, 3, 10, 25, 25, 10, 10, 173, 14, 1008, -1, -1, -1, -1, -1, -1, 36, 62, 36, 11, -1, -1, -1, 36, 3, -1, -1, -1, -1, -1, -1, -1, -1, 3, -1, 36, 36, 36, 36, 36, 36, 36, 36, 36, 10, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 12, 36, 36, 36, 36, 36, 36, 36, 36, 11, 36, 32, 36, 3, 36, 40, 11, 36, 3, 3, 36, 17, 42, 3, 42, 17, 3, 3, 3, 3, 17, 10, 25, 3, 3, 3, 3, 10, 10, 10, 3, 3, 42, 3, 10, 10, 10, 5, 3, 10, 36, 42, 41, 10, 10, 3, 10, 10, 17, 8, 12, 12, 8, 10, 8, 10, 7, -1, 10, 12, 9, 3, 10, 10, 14, 8, 12, 3, 3, 10, 10, 10, 3, 10, 3, 9, 36, 10, 10, 17, 10, 5, 10, 10, 10, 10, 3, 958, 10, 10, 6, 10, 3, 3, 3, 40, 40, 3, 10, 3, 3, 3, 10, 10, 3, 10, 3, 3, 28, 10, 10, 3, 10, 36, 3, 10, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 28, 3, 3, 3, 3, 36, 3, 10, 3, 3, 3, 36, 3, 3, 10, 3, -1, 9, -1, 3, 6, 3, -1, 10, 3, 1068, 3, 10, 3, 10, -1, -1, -1, 5, -1, -1, -1, 10, 36, 10, 10, 10, 10, 10, 10, 10, 10, 36, 10, 10, 10, 36, 10, 10, 10, 10, 36, 6, 36, 10, 36, -1, 36, 10, 10, 28, 10, 10, 10, 28, 1078, 12, 3, 12, 28, 28, 28, 10, 28, 8, 7, 3, 10, 3, 10, 10, 10, 10, 36, 3, 11, 36, 10, 12, 10, 10, 36, 10, 10, 36, 8, 39, 3, 10, 14, 10, 10, 10, 10, 3, 10, 10, 10, 10, 10, 3, -1, 10, 10, 10, 10, 10, 3, 10, 10, 10, 10, 10, 10, 38, 10, 10, 10, 10, 10, 10, 10, 3, 10, 10, 10, 10, 10, 10, -1, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 3, 10, 10, 3, 10, 3, 10, 3, 10, 19, 3, 10, 3, 10, 3, 10, 10, 3, 23, 3, 3, 9, 23, 10, 14, 10, 18, -1, 10, 36, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, -1, -1, -1, 10, 10, 10, 28, 10, 10, 10, 3, 10, 3, 3, 10, 10, 3, 3, 28, 28, 28, 10, 10, -1, 28, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 36, 10, 36, 36, 10, 10, 10, 10, 36, 3, 10, 10, 10, 10, 10, 3, 3, 3, 3, 3, 3, 23, 23, 13, -1, -1, -1, 3, 10, 10, 10, 10, 10, 10, 3, 10, 10, 10, 10, 10, 3, 6, 10, 3, 10, 3, 10, 3, 10, 3, 3, 3, -1, 23, -1, 10, 23, 3, 3, 10, 10, 10, 10, 10, 3, 3, 3, 3, 3, 3, 3, 3, 12, -1, 5, -1, 6, 38, -1, 38, -1, 10 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const unsigned char yystos[] = { 0, 4, 5, 7, 8, 11, 15, 16, 18, 39, 50, 51, 52, 62, 6, 8, 19, 5, 3, 10, 3, 3, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 18, 19, 21, 25, 28, 31, 32, 34, 36, 37, 39, 40, 41, 42, 43, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23, 25, 26, 28, 31, 33, 34, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 55, 56, 57, 61, 62, 63, 64, 66, 51, 3, 10, 7, 3, 9, 10, 3, 12, 10, 10, 17, 10, 3, 6, 12, 20, 53, 5, 43, 53, 6, 8, 18, 41, 12, 16, 19, 25, 34, 3, 5, 6, 9, 12, 13, 14, 16, 41, 5, 32, 3, 5, 6, 9, 13, 16, 19, 20, 33, 34, 37, 3, 5, 53, 53, 5, 6, 8, 11, 14, 15, 19, 28, 31, 33, 36, 41, 42, 63, 64, 53, 3, 11, 41, 10, 37, 40, 3, 6, 7, 11, 19, 54, 5, 10, 37, 40, 41, 6, 12, 31, 6, 53, 3, 8, 9, 12, 14, 19, 41, 10, 37, 40, 32, 41, 3, 5, 19, 41, 31, 32, 41, 3, 14, 25, 3, 10, 33, 37, 40, 10, 33, 37, 40, 10, 33, 37, 40, 5, 10, 37, 40, 41, 5, 10, 37, 40, 41, 11, 66, 53, 10, 14, 10, 17, 8, 10, 5, 10, 13, 6, 15, 32, 3, 11, 9, 41, 8, 5, 9, 9, 19, 31, 13, 34, 6, 36, 12, 40, 7, 10, 15, 6, 31, 36, 5, 5, 6, 9, 13, 18, 19, 31, 34, 37, 40, 42, 9, 6, 9, 13, 18, 19, 31, 34, 37, 40, 42, 6, 31, 36, 6, 9, 13, 18, 31, 34, 37, 40, 10, 8, 8, 10, 14, 6, 16, 8, 25, 43, 9, 6, 36, 41, 16, 34, 41, 41, 5, 7, 8, 5, 7, 17, 19, 23, 32, 10, 11, 19, 32, 14, 31, 41, 5, 3, 3, 41, 3, 14, 31, 36, 41, 3, 3, 3, 10, 14, 10, 36, 25, 10, 10, 37, 11, 3, 54, 3, 3, 6, 8, 10, 13, 15, 17, 19, 22, 23, 24, 25, 26, 27, 29, 30, 31, 10, 10, 10, 37, 10, 13, 15, 8, 3, 5, 8, 10, 36, 34, 25, 3, 12, 3, 10, 10, 37, 7, 8, 8, 10, 34, 12, 25, 43, 3, 11, 14, 15, 8, 10, 17, 3, 8, 10, 3, 20, 31, 33, 37, 65, 10, 10, 37, 31, 37, 65, 10, 10, 37, 31, 37, 65, 10, 10, 37, 10, 10, 10, 37, 10, 10, 10, 10, 37, 10, 10, 3, 6, 9, 8, 5, 3, 10, 40, 25, 3, 7, 8, 3, 9, 20, 33, 34, 10, 25, 31, 40, 65, 31, 40, 65, 31, 65, 25, 10, 36, 3, 36, 10, 10, 37, 3, 36, 6, 36, 3, 14, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 11, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 3, 36, 36, 36, 36, 36, 36, 36, 36, 10, 12, 3, 36, 40, 36, 32, 10, 37, 11, 36, 3, 11, 6, 36, 36, 3, 3, 6, 36, 42, 36, 6, 36, 42, 3, 9, 20, 33, 34, 36, 37, 58, 60, 17, 3, 17, 3, 3, 3, 3, 10, 10, 25, 10, 3, 3, 3, 3, 10, 10, 10, 3, 3, 42, 10, 3, 10, 21, 25, 5, 6, 8, 10, 10, 28, 6, 8, 17, 17, 10, 28, 6, 8, 15, 13, 19, 25, 17, 28, 17, 28, 27, 29, 3, 10, 10, 37, 40, 10, 10, 10, 12, 12, 3, 10, 8, 8, 36, 8, 10, 39, 7, 12, 10, 9, 41, 10, 10, 10, 40, 14, 5, 10, 37, 40, 41, 12, 3, 20, 33, 8, 36, 3, 3, 3, 10, 10, 10, 3, 10, 10, 10, 3, 10, 10, 10, 10, 10, 10, 36, 3, 10, 5, 3, 9, 10, 10, 40, 6, 3, 9, 10, 40, 10, 5, 11, 63, 3, 3, 58, 40, 3, 31, 65, 10, 3, 31, 65, 10, 3, 10, 10, 37, 3, 10, 3, 10, 10, 3, 36, 3, 10, 10, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 36, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 10, 3, 3, 3, 3, 3, 3, 3, 3, 36, 10, 18, 25, 36, 3, 36, 3, 9, 10, 36, 3, 10, 6, 36, 3, 3, 10, 10, 36, 3, 36, 3, 36, 3, 36, 63, 58, 58, 58, 9, 33, 34, 53, 59, 20, 33, 58, 23, 35, 10, 60, 17, 60, 10, 10, 10, 42, 10, 10, 10, 10, 10, 36, 10, 10, 10, 10, 10, 28, 28, 10, 28, 28, 10, 28, 10, 28, 10, 10, 21, 25, 28, 5, 10, 6, 8, 6, 8, 6, 28, 10, 28, 10, 28, 28, 25, 28, 10, 10, 37, 10, 36, 10, 10, 12, 3, 12, 36, 10, 36, 8, 7, 10, 39, 10, 10, 10, 37, 10, 36, 10, 3, 3, 12, 3, 10, 10, 10, 10, 10, 8, 10, 14, 10, 18, 37, 10, 9, 10, 11, 63, 10, 3, 10, 19, 32, 10, 10, 10, 10, 10, 3, 10, 10, 3, 10, 10, 10, 10, 10, 10, 3, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 3, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 3, 10, 25, 10, 10, 18, 25, 10, 3, 10, 19, 3, 10, 36, 3, 10, 10, 3, 10, 3, 10, 3, 10, 3, 23, 35, 23, 35, 23, 63, 53, 58, 23, 58, 58, 35, 38, 3, 3, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 28, 28, 28, 28, 10, 28, 10, 10, 10, 10, 28, 10, 10, 3, 36, 10, 36, 3, 3, 10, 40, 18, 10, 10, 3, 10, 10, 36, 10, 10, 10, 14, 10, 37, 10, 11, 3, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 10, 10, 36, 10, 3, 10, 10, 10, 10, 10, 3, 3, 3, 3, 3, 59, 35, 38, 35, 38, 3, 3, 20, 23, 10, 10, 10, 10, 10, 7, 10, 10, 3, 3, 10, 10, 10, 10, 10, 3, 61, 6, 10, 3, 10, 10, 3, 10, 23, 23, 23, 3, 3, 20, 3, 3, 20, 38, 3, 3, 10, 10, 10, 11, 10, 10, 10, 3, 3, 20, 59, 38, 3, 38, 3, 3, 20, 33, 5, 3, 3, 20, 33, 3, 20, 33, 3, 3, 12, 3, 3, 3, 3, 13, 5, 9, 14, 10, 14, 6, 10 }; #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) #define YYEOF 0 #define YYACCEPT goto yyacceptlab #define YYABORT goto yyabortlab #define YYERROR goto yyerrlab1 /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { \ yyerror ("syntax error: cannot back up");\ YYERROR; \ } \ while (0) #define YYTERROR 1 #define YYERRCODE 256 /* YYLLOC_DEFAULT -- Compute the default location (before the actions are run). */ #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; #endif /* YYLEX -- calling `yylex' with the right arguments. */ #ifdef YYLEX_PARAM # define YYLEX yylex (YYLEX_PARAM) #else # define YYLEX yylex () #endif /* Enable debugging if requested. */ #if YYDEBUG # ifndef YYFPRINTF # include /* INFRINGES ON USER NAME SPACE */ # define YYFPRINTF fprintf # endif # define YYDPRINTF(Args) \ do { \ if (yydebug) \ YYFPRINTF Args; \ } while (0) # define YYDSYMPRINT(Args) \ do { \ if (yydebug) \ yysymprint Args; \ } while (0) # define YYDSYMPRINTF(Title, Token, Value, Location) \ do { \ if (yydebug) \ { \ YYFPRINTF (stderr, "%s ", Title); \ yysymprint (stderr, \ Token, Value); \ YYFPRINTF (stderr, "\n"); \ } \ } while (0) /*------------------------------------------------------------------. | yy_stack_print -- Print the state stack from its BOTTOM up to its | | TOP (cinluded). | `------------------------------------------------------------------*/ #if defined (__STDC__) || defined (__cplusplus) static void yy_stack_print (short *bottom, short *top) #else static void yy_stack_print (bottom, top) short *bottom; short *top; #endif { YYFPRINTF (stderr, "Stack now"); for (/* Nothing. */; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); YYFPRINTF (stderr, "\n"); } # define YY_STACK_PRINT(Bottom, Top) \ do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ } while (0) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ #if defined (__STDC__) || defined (__cplusplus) static void yy_reduce_print (int yyrule) #else static void yy_reduce_print (yyrule) int yyrule; #endif { int yyi; unsigned int yylineno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", yyrule - 1, yylineno); /* 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]]); } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ yy_reduce_print (Rule); \ } while (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_STACK_PRINT(Bottom, Top) # define YY_REDUCE_PRINT(Rule) #endif /* !YYDEBUG */ /* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYINITDEPTH # define YYINITDEPTH 200 #endif /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only 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) evaluated with infinite-precision integer arithmetic. */ #if YYMAXDEPTH == 0 # undef YYMAXDEPTH #endif #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif #if YYERROR_VERBOSE # ifndef yystrlen # if defined (__GLIBC__) && defined (_STRING_H) # define yystrlen strlen # else /* Return the length of YYSTR. */ static YYSIZE_T # if defined (__STDC__) || defined (__cplusplus) yystrlen (const char *yystr) # else yystrlen (yystr) const char *yystr; # endif { register const char *yys = yystr; while (*yys++ != '\0') continue; return yys - yystr - 1; } # endif # endif # ifndef yystpcpy # 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. */ static char * # if defined (__STDC__) || defined (__cplusplus) yystpcpy (char *yydest, const char *yysrc) # else yystpcpy (yydest, yysrc) char *yydest; const char *yysrc; # endif { register char *yyd = yydest; register const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; return yyd - 1; } # endif # endif #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) static void yydestruct (int yytype, YYSTYPE *yyvaluep) #else static void yydestruct (yytype, yyvaluep) int yytype; YYSTYPE *yyvaluep; #endif { /* Pacify ``unused variable'' warnings. */ (void) yyvaluep; switch (yytype) { default: break; } } /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) int yyparse (void *YYPARSE_PARAM); # else int yyparse (); # endif #else /* ! YYPARSE_PARAM */ #if defined (__STDC__) || defined (__cplusplus) int yyparse (void); #else int yyparse (); #endif #endif /* ! YYPARSE_PARAM */ /* The lookahead symbol. */ int yychar; /* The semantic value of the lookahead symbol. */ YYSTYPE yylval; /* Number of syntax errors so far. */ int yynerrs; /*----------. | yyparse. | `----------*/ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) int yyparse (void *YYPARSE_PARAM) # else int yyparse (YYPARSE_PARAM) void *YYPARSE_PARAM; # endif #else /* ! YYPARSE_PARAM */ #if defined (__STDC__) || defined (__cplusplus) int yyparse (void) #else int yyparse () #endif #endif { register int yystate; register int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* Lookahead token as an internal (translated) token number. */ int yytoken = 0; /* Three stacks and their tools: `yyss': related to states, `yyvs': related to semantic values, `yyls': related to locations. Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ /* The state stack. */ short yyssa[YYINITDEPTH]; short *yyss = yyssa; register short *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; register YYSTYPE *yyvsp; #define YYPOPSTACK (yyvsp--, yyssp--) YYSIZE_T yystacksize = YYINITDEPTH; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; /* When reducing, the number of symbols on the RHS of the reduced rule. */ int yylen; YYDPRINTF ((stderr, "Starting parse\n")); yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ /* Initialize stack pointers. Waste one element of value and location stack so that they stay on the same level as the state stack. The wasted elements are never initialized. */ yyssp = yyss; yyvsp = yyvs; goto yysetstate; /*------------------------------------------------------------. | yynewstate -- Push a new state, which is found in yystate. | `------------------------------------------------------------*/ 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. */ yyssp++; yysetstate: *yyssp = yystate; if (yyss + yystacksize - 1 <= yyssp) { /* Get the current used size of the three stacks, in elements. */ YYSIZE_T yysize = yyssp - yyss + 1; #ifdef yyoverflow { /* 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; /* 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", &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yystacksize); yyss = yyss1; yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE goto yyoverflowlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyoverflowlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { short *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) goto yyoverflowlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); # undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", (unsigned long int) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) YYABORT; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); goto yybackup; /*-----------. | yybackup. | `-----------*/ 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. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } if (yychar <= YYEOF) { yychar = yytoken = YYEOF; YYDPRINTF ((stderr, "Now at end of input.\n")); } else { yytoken = YYTRANSLATE (yychar); YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); } /* If the proper action on seeing token YYTOKEN is to reduce or to detect an error, take that action. */ yyn += yytoken; if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) goto yydefault; yyn = yytable[yyn]; if (yyn <= 0) { if (yyn == 0 || yyn == YYTABLE_NINF) goto yyerrlab; yyn = -yyn; goto yyreduce; } 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--; yystate = yyn; goto yynewstate; /*-----------------------------------------------------------. | yydefault -- do the default action for the current state. | `-----------------------------------------------------------*/ yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; goto yyreduce; /*-----------------------------. | yyreduce -- Do a reduction. | `-----------------------------*/ yyreduce: /* yyn is the number of a rule to reduce with. */ yylen = yyr2[yyn]; /* If YYLEN is nonzero, implement the default value of the action: `$$ = $1'. Otherwise, the following line sets YYVAL to garbage. This behavior is undocumented and Bison users should not rely upon it. Assigning to YYVAL unconditionally makes the parser a bit smaller, and it avoids a GCC warning that YYVAL may be used uninitialized. */ yyval = yyvsp[1-yylen]; YY_REDUCE_PRINT (yyn); switch (yyn) { case 2: #line 124 "kal3.y" { printf("Reached end of file\n"); } break; case 3: #line 127 "kal3.y" { endBblock(); } break; case 4: #line 128 "kal3.y" { endBblock(); } break; case 5: #line 129 "kal3.y" { endBblock(); } break; case 6: #line 130 "kal3.y" { endBblock(); } break; case 8: #line 134 "kal3.y" { reserveStore('V', yyvsp[-1]); } break; case 10: #line 136 "kal3.y" { reserveStore('W', yyvsp[-1]); } break; case 11: #line 137 "kal3.y" { reserveStore('Y' + yyvsp[-2] * 256, yyvsp[-1]); } break; case 13: #line 140 "kal3.y" { fixY0(yyvsp[-5], yyvsp[-4], yyvsp[-1]); } break; case 14: #line 142 "kal3.y" { fixY0(-3, yyvsp[-4], yyvsp[-1]); } break; case 15: #line 144 "kal3.y" { fprintf(stderr,"Y0=E; not understood\n"); } break; case 16: #line 147 "kal3.y" { progstart = yyvsp[-1] + ptform; } break; case 18: #line 149 "kal3.y" { Bblock('S', yyvsp[-1]); } break; case 19: #line 150 "kal3.y" { Bblock('L', yyvsp[-1]); } break; case 22: #line 155 "kal3.y" { yyval = -yyvsp[0]; } break; case 23: #line 158 "kal3.y" { yyval = codeloc(-1, yyvsp[0]); } break; case 24: #line 159 "kal3.y" { yyval = codeloc(yyvsp[0], 0); } break; case 25: #line 160 "kal3.y" { yyval = codeloc(yyvsp[0], yyvsp[-2]); } break; case 26: #line 161 "kal3.y" { yyval = yyvsp[0] * 6; } break; case 27: #line 162 "kal3.y" { yyval = codeloc(2999, 0); printf("L%d not available\n", yyvsp[0]); } break; case 28: #line 165 "kal3.y" { storejump(0200, 0260, yyvsp[-1]); } break; case 29: #line 166 "kal3.y" { storejump(0200, 0320, yyvsp[-1]); } break; case 30: #line 167 "kal3.y" { storejump(0220, 0020, yyvsp[-2]); } break; case 31: #line 168 "kal3.y" { storejump(0200, 0020, yyvsp[-3]); } break; case 32: #line 169 "kal3.y" { storejump(0200, 0020, yyvsp[-3]); } break; case 33: #line 170 "kal3.y" { storejump(0200, 0020, yyvsp[-2]); } break; case 34: #line 171 "kal3.y" { storejump(0200, 0020, yyvsp[-3]); } break; case 35: #line 172 "kal3.y" { storejump(0200, 0020, yyvsp[-4]); } break; case 36: #line 173 "kal3.y" { storejump(0220, 0040, yyvsp[-3]); } break; case 37: #line 174 "kal3.y" { storejump(0220, 0040, yyvsp[-4]); } break; case 38: #line 175 "kal3.y" { storejump(0220, 0040, yyvsp[-5]); } break; case 39: #line 176 "kal3.y" { storejump(0200, 0040, yyvsp[-4]); } break; case 40: #line 177 "kal3.y" { storejump(0200, 0040, yyvsp[-4]); } break; case 41: #line 178 "kal3.y" { storejump(0200, 0040, yyvsp[-4]); } break; case 42: #line 179 "kal3.y" { storejump(0200, 0040, yyvsp[-5]); } break; case 43: #line 180 "kal3.y" { storejump(0220, 0100, yyvsp[-3]); } break; case 44: #line 181 "kal3.y" { storejump(0220, 0100, yyvsp[-5]); } break; case 45: #line 182 "kal3.y" { storejump(0220, 0100, yyvsp[-4]); } break; case 46: #line 183 "kal3.y" { storejump(0200, 0100, yyvsp[-4]); } break; case 47: #line 184 "kal3.y" { storejump(0200, 0100, yyvsp[-5]); } break; case 48: #line 185 "kal3.y" { storejump(0200, 0100, yyvsp[-4]); } break; case 49: #line 186 "kal3.y" { storejump(0200, 0100, yyvsp[-4]); } break; case 50: #line 187 "kal3.y" { storejump(0220, 0140, yyvsp[-3]); } break; case 51: #line 188 "kal3.y" { storejump(0200, 0140, yyvsp[-4]); } break; case 52: #line 189 "kal3.y" { storejump(0200, 0140, yyvsp[-4]); } break; case 53: #line 190 "kal3.y" { storejump(0200, 0140, yyvsp[-3]); } break; case 54: #line 191 "kal3.y" { storejump(0200, 0140, yyvsp[-5]); } break; case 55: #line 192 "kal3.y" { storejump(0200, 0140, yyvsp[-4]); } break; case 56: #line 193 "kal3.y" { storejump(0220, 0200, yyvsp[-2]); } break; case 57: #line 194 "kal3.y" { storejump(0200, 0200, yyvsp[-3]); } break; case 58: #line 195 "kal3.y" { storejump(0220, 0240, yyvsp[-3]); } break; case 59: #line 196 "kal3.y" { storejump(0200, 0240, yyvsp[-4]); } break; case 60: #line 197 "kal3.y" { storejump(0220, 0300, yyvsp[-3]); } break; case 61: #line 198 "kal3.y" { storejump(0200, 0300, yyvsp[-4]); } break; case 62: #line 199 "kal3.y" { storejump(0220, 0340, yyvsp[-3]); } break; case 63: #line 200 "kal3.y" { storejump(0200, 0340, yyvsp[-4]); } break; case 64: #line 201 "kal3.y" { qnum(yyvsp[-2]); storejump(0240, yyvsp[-2]<<4, yyvsp[-4]); } break; case 65: #line 202 "kal3.y" { qnum(yyvsp[-3]); storejump(0260, yyvsp[-3]<<4, yyvsp[-5]); } break; case 66: #line 203 "kal3.y" { store2syl(twosylqx(0177, yyvsp[-3], 0)); } break; case 67: #line 206 "kal3.y" { setprinterconst(yyvsp[-1], yyvsp[-1]); } break; case 68: #line 207 "kal3.y" { setprinterconst(yyvsp[-3], yyvsp[-1]); } break; case 69: #line 210 "kal3.y" { setvstore(yyvsp[-3], 0, 6); } break; case 70: #line 211 "kal3.y" { setvstore(yyvsp[-4], 0, 3); } break; case 71: #line 212 "kal3.y" { setvstore(yyvsp[-4], 3, 6); } break; case 73: #line 216 "kal3.y" { yyval = keepMarker(); } break; case 75: #line 220 "kal3.y" { yyval = yyvsp[0]; } break; case 76: #line 221 "kal3.y" { yyval = yyvsp[0]; } break; case 77: #line 222 "kal3.y" { yyval = octalval(yyvsp[0]); } break; case 78: #line 225 "kal3.y" { vfraction(yyvsp[0], 47); } break; case 79: #line 226 "kal3.y" { voctal(yyvsp[0], 47); } break; case 80: #line 227 "kal3.y" { voctal(yyvsp[-2], yyvsp[0]); } break; case 81: #line 228 "kal3.y" { vfraction(yyvsp[-2], 47); } break; case 82: #line 229 "kal3.y" { vfraction(yyvsp[-4], yyvsp[0]); } break; case 83: #line 230 "kal3.y" { vfraction(yyvsp[-2], yyvsp[0]); } break; case 84: #line 231 "kal3.y" { vfraction(yyvsp[0], 47); negatevstore(); } break; case 85: #line 232 "kal3.y" { vfraction(yyvsp[-2], 47); negatevstore(); } break; case 86: #line 233 "kal3.y" { vfraction(yyvsp[-4], yyvsp[0]); negatevstore(); } break; case 87: #line 234 "kal3.y" { vfraction(yyvsp[-2], yyvsp[0]); negatevstore(); } break; case 88: #line 235 "kal3.y" { vfraction(yyvsp[0], 47); } break; case 89: #line 236 "kal3.y" { vfraction(yyvsp[-2], 47); } break; case 90: #line 237 "kal3.y" { vfraction(yyvsp[-4], yyvsp[0]); } break; case 91: #line 238 "kal3.y" { vfraction(yyvsp[-2], yyvsp[0]); } break; case 92: #line 239 "kal3.y" { vqformat(yyvsp[-4], yyvsp[-2], yyvsp[0]); } break; case 93: #line 240 "kal3.y" { vqformat(0, 0, yyvsp[0]); } break; case 94: #line 241 "kal3.y" { vfloat(yyvsp[-2], 0); vfppos(); } break; case 95: #line 242 "kal3.y" { vfloat(yyvsp[0], 0); vfppos(); } break; case 96: #line 243 "kal3.y" { vfloat(yyvsp[-4], yyvsp[0]); vfppos(); } break; case 97: #line 244 "kal3.y" { vfloat(yyvsp[-5], -yyvsp[0]); vfppos(); } break; case 98: #line 245 "kal3.y" { vfloat(yyvsp[-5], yyvsp[0]); vfppos(); } break; case 99: #line 246 "kal3.y" { vfloat(yyvsp[-2], yyvsp[0]); vfppos(); } break; case 100: #line 247 "kal3.y" { vfloat(yyvsp[-3], -yyvsp[0]); vfppos(); } break; case 101: #line 248 "kal3.y" { vfloat(yyvsp[-2], 0); vfpneg(); } break; case 102: #line 249 "kal3.y" { vfloat(yyvsp[0], 0); vfpneg(); } break; case 103: #line 250 "kal3.y" { vfloat(yyvsp[-4], yyvsp[0]); vfpneg(); } break; case 104: #line 251 "kal3.y" { vfloat(yyvsp[-5], -yyvsp[0]); vfpneg(); } break; case 105: #line 252 "kal3.y" { vfloat(yyvsp[-5], yyvsp[0]); vfpneg(); } break; case 106: #line 253 "kal3.y" { vfloat(yyvsp[-2], yyvsp[0]); vfpneg(); } break; case 107: #line 254 "kal3.y" { vfloat(yyvsp[-3], -yyvsp[0]); vfpneg(); } break; case 108: #line 255 "kal3.y" { vfloat(yyvsp[-2], 0); vfppos(); } break; case 109: #line 256 "kal3.y" { vfloat(yyvsp[0], 0); vfppos(); } break; case 110: #line 257 "kal3.y" { vfloat(yyvsp[-4], yyvsp[0]); vfppos(); } break; case 111: #line 258 "kal3.y" { vfloat(yyvsp[-5], -yyvsp[0]); vfppos(); } break; case 112: #line 259 "kal3.y" { vfloat(yyvsp[-5], yyvsp[0]); vfppos(); } break; case 113: #line 260 "kal3.y" { vfloat(yyvsp[-2], yyvsp[0]); vfppos(); } break; case 114: #line 261 "kal3.y" { vfloat(yyvsp[-3], -yyvsp[0]); vfppos(); } break; case 115: #line 263 "kal3.y" { vfraction(yyvsp[-5], -yyvsp[0]); } break; case 118: #line 270 "kal3.y" { yyval = 0; } break; case 119: #line 271 "kal3.y" { yyval = 1; } break; case 120: #line 272 "kal3.y" { yyval = 2; } break; case 121: #line 273 "kal3.y" { yyval = 3; } break; case 122: #line 274 "kal3.y" { yyval = 4; } break; case 123: #line 275 "kal3.y" { yyval = 5; } break; case 124: #line 276 "kal3.y" { yyval = 6; } break; case 125: #line 277 "kal3.y" { yyval = 7; } break; case 126: #line 278 "kal3.y" { yyval = 8; } break; case 127: #line 279 "kal3.y" { yyval = 9; } break; case 128: #line 280 "kal3.y" { yyval = 10; } break; case 129: #line 281 "kal3.y" { yyval = 11; } break; case 130: #line 282 "kal3.y" { yyval = 12; } break; case 131: #line 283 "kal3.y" { yyval = 13; } break; case 132: #line 284 "kal3.y" { yyval = 14; } break; case 133: #line 285 "kal3.y" { yyval = 15; } break; case 134: #line 286 "kal3.y" { yyval = 16; } break; case 135: #line 287 "kal3.y" { yyval = 17; } break; case 136: #line 288 "kal3.y" { yyval = 18; } break; case 137: #line 289 "kal3.y" { yyval = 19; } break; case 138: #line 290 "kal3.y" { yyval = 20; } break; case 139: #line 291 "kal3.y" { yyval = 21; } break; case 140: #line 292 "kal3.y" { yyval = 22; } break; case 141: #line 293 "kal3.y" { yyval = 23; } break; case 142: #line 294 "kal3.y" { yyval = 24; } break; case 143: #line 295 "kal3.y" { yyval = 25; } break; case 144: #line 296 "kal3.y" { yyval = 26; } break; case 145: #line 299 "kal3.y" { yyval = dataloc(-1, yyvsp[0]); } break; case 146: #line 300 "kal3.y" { yyval = dataloc(-1, yyvsp[-1]) << 1; } break; case 147: #line 301 "kal3.y" { yyval = (dataloc(-1, yyvsp[-1]) << 1) | 1; } break; case 148: #line 302 "kal3.y" { yyval = dataloc(yyvsp[0], yyvsp[-2]); } break; case 149: #line 303 "kal3.y" { yyval = wordform(codeloc(-1, yyvsp[0])); } break; case 150: #line 304 "kal3.y" { yyval = wordform(codeloc(yyvsp[0], yyvsp[-2])); } break; case 151: #line 305 "kal3.y" { yyval = codeloc(yyvsp[0], 0)/6; } break; case 152: #line 306 "kal3.y" { yyval = yyvsp[0] & 07777; } break; case 153: #line 307 "kal3.y" { yyval = ystoreloc(yyvsp[-1], yyvsp[0]); } break; case 154: #line 308 "kal3.y" { yyval = ystoreloc(-1, yyvsp[0]); } break; case 155: #line 309 "kal3.y" { yyval = ystoreloc(-2, yyvsp[0]); } break; case 156: #line 310 "kal3.y" { yyval = ystoreloc(-3, yyvsp[0]); } break; case 157: #line 313 "kal3.y" {yyval = twosylqx(0100, yyvsp[-1], yyvsp[-3]); } break; case 158: #line 314 "kal3.y" {yyval = twosylqx(0102, yyvsp[-2], yyvsp[-4]); } break; case 159: #line 315 "kal3.y" {yyval = twosylqx(0110, yyvsp[-2], yyvsp[-4]); } break; case 160: #line 316 "kal3.y" {yyval = twosylqx(0112, yyvsp[-3], yyvsp[-5]); } break; case 161: #line 317 "kal3.y" {yyval = twosylqx(0104, yyvsp[-2], yyvsp[-4]); } break; case 162: #line 318 "kal3.y" {yyval = twosylqx(0106, yyvsp[-3], yyvsp[-5]); } break; case 163: #line 319 "kal3.y" {yyval = twosylqx(0114, yyvsp[-3], yyvsp[-5]); } break; case 164: #line 320 "kal3.y" {yyval = twosylqx(0116, yyvsp[-4], yyvsp[-6]); } break; case 165: #line 323 "kal3.y" { yyval = yyvsp[0]; } break; case 166: #line 324 "kal3.y" { yyval = (-yyvsp[0]) & 0177; } break; case 170: #line 330 "kal3.y" { setlabel(yyvsp[-1]); } break; case 172: #line 332 "kal3.y" { newproutine(yyvsp[-1], -1); } break; case 173: #line 333 "kal3.y" { newproutine(yyvsp[-3], yyvsp[-1]); } break; case 174: #line 334 "kal3.y" { newproutine(-yyvsp[-1], -1); } break; case 175: #line 336 "kal3.y" { storememinstr(0300, yyvsp[-1], 0); } break; case 176: #line 337 "kal3.y" { storememinstr(0301, yyvsp[-1], 0); } break; case 177: #line 339 "kal3.y" { qnum(yyvsp[-1]); storememinstr(0300, yyvsp[-3], yyvsp[-1]); } break; case 178: #line 340 "kal3.y" { qnum(yyvsp[-1]); storememinstr(0301, yyvsp[-3], yyvsp[-1]); } break; case 179: #line 341 "kal3.y" { qnum(yyvsp[-2]); storememinstr(0302, yyvsp[-4], yyvsp[-2]); } break; case 180: #line 342 "kal3.y" { qnum(yyvsp[-2]); storememinstr(0303, yyvsp[-4], yyvsp[-2]); } break; case 181: #line 344 "kal3.y" { store3syl(0304, yyvsp[-1]); } break; case 182: #line 345 "kal3.y" { store3syl(0304, octalval(yyvsp[-1])); } break; case 183: #line 346 "kal3.y" { store3syl(0304, (-yyvsp[-1])&0177777); } break; case 184: #line 347 "kal3.y" { store3syl(0304, yyvsp[-1]); } break; case 185: #line 348 "kal3.y" { store3syl(0304, yyvsp[-1]); } break; case 186: #line 349 "kal3.y" { store3syl(0304, yyvsp[-2]<<1); } break; case 187: #line 350 "kal3.y" { store3syl(0304, (yyvsp[-2]<<1) + 1); } break; case 188: #line 351 "kal3.y" { store3syl(0304, codeloc(yyvsp[-1], 0)/6); } break; case 189: #line 353 "kal3.y" { store2syl(yyvsp[0]); } break; case 190: #line 354 "kal3.y" { store2syl(256 + yyvsp[0]); } break; case 191: #line 356 "kal3.y" { store2syl(twosylqx(0151, yyvsp[-5], yyvsp[-1])); } break; case 192: #line 357 "kal3.y" { store2syl(twosylqx(0152, yyvsp[-5], yyvsp[-1])); } break; case 193: #line 358 "kal3.y" { store2syl(twosylqx(0153, yyvsp[-5], yyvsp[-1])); } break; case 194: #line 359 "kal3.y" { store2syl(twosylqx(0154, yyvsp[-5], yyvsp[-1])); } break; case 195: #line 360 "kal3.y" { store2syl(twosylqx(0155, yyvsp[-5], yyvsp[-1])); } break; case 196: #line 361 "kal3.y" { store2syl(twosylqx(0156, yyvsp[-5], yyvsp[-1])); } break; case 197: #line 362 "kal3.y" { store2syl(twosylqx(0157, yyvsp[-5], yyvsp[-1])); } break; case 198: #line 363 "kal3.y" { storesyl(001); } break; case 199: #line 364 "kal3.y" { storesyl(002); } break; case 200: #line 365 "kal3.y" { storesyl(003); } break; case 201: #line 373 "kal3.y" { storesyl(004); } break; case 202: #line 374 "kal3.y" { storesyl(005); } break; case 203: #line 375 "kal3.y" { storesyl(007); } break; case 204: #line 376 "kal3.y" { storesyl(034); } break; case 205: #line 377 "kal3.y" { storesyl(035); } break; case 206: #line 378 "kal3.y" { store2syl(twosylshetc(0163, 2*yyvsp[-1] + 1)); } break; case 207: #line 379 "kal3.y" { store2syl(twosylqx(0163, yyvsp[-1], 0)); } break; case 208: #line 380 "kal3.y" { storesyl(004); } break; case 209: #line 381 "kal3.y" { storesyl(005); } break; case 210: #line 382 "kal3.y" { storesyl(007); } break; case 211: #line 383 "kal3.y" { storesyl(034); } break; case 212: #line 384 "kal3.y" { storesyl(035); } break; case 213: #line 385 "kal3.y" { store2syl(twosylshetc(0163, 2*yyvsp[-1] + 1)); } break; case 214: #line 386 "kal3.y" { store2syl(twosylqx(0163, yyvsp[-1], 0)); } break; case 215: #line 387 "kal3.y" { storesyl(004); } break; case 216: #line 388 "kal3.y" { storesyl(005); } break; case 217: #line 389 "kal3.y" { storesyl(007); } break; case 218: #line 390 "kal3.y" { storesyl(034); } break; case 219: #line 391 "kal3.y" { storesyl(035); } break; case 220: #line 392 "kal3.y" { store2syl(twosylshetc(0163, 2*yyvsp[-1] + 1)); } break; case 221: #line 393 "kal3.y" { store2syl(twosylqx(0163, yyvsp[-1], 0)); } break; case 222: #line 394 "kal3.y" { storesyl(010); } break; case 223: #line 395 "kal3.y" { storesyl(011); } break; case 224: #line 396 "kal3.y" { storesyl(012); } break; case 225: #line 397 "kal3.y" { storesyl(013); } break; case 226: #line 398 "kal3.y" { storesyl(014); } break; case 227: #line 399 "kal3.y" { storesyl(015); } break; case 228: #line 400 "kal3.y" { storesyl(016); } break; case 229: #line 401 "kal3.y" { storesyl(017); } break; case 230: #line 402 "kal3.y" { storesyl(020); } break; case 231: #line 403 "kal3.y" { storesyl(021); } break; case 232: #line 404 "kal3.y" { storesyl(022); } break; case 233: #line 405 "kal3.y" { storesyl(023); } break; case 234: #line 406 "kal3.y" { storesyl(024); } break; case 235: #line 407 "kal3.y" { storesyl(025); } break; case 236: #line 408 "kal3.y" { storesyl(026); } break; case 237: #line 409 "kal3.y" { storesyl(027); } break; case 238: #line 410 "kal3.y" { storesyl(030); } break; case 239: #line 411 "kal3.y" { storesyl(031); } break; case 240: #line 412 "kal3.y" { storesyl(032); } break; case 241: #line 413 "kal3.y" { storesyl(033); } break; case 242: #line 414 "kal3.y" { storesyl(036); } break; case 243: #line 415 "kal3.y" { storesyl(037); } break; case 244: #line 416 "kal3.y" { storesyl(041); } break; case 245: #line 417 "kal3.y" { storesyl(042); } break; case 246: #line 418 "kal3.y" { storesyl(043); } break; case 247: #line 419 "kal3.y" { storesyl(045); } break; case 248: #line 420 "kal3.y" { storesyl(047); } break; case 249: #line 421 "kal3.y" { storesyl(050); } break; case 250: #line 422 "kal3.y" { storesyl(051); } break; case 251: #line 423 "kal3.y" { storesyl(052); } break; case 252: #line 424 "kal3.y" { storesyl(053); } break; case 253: #line 425 "kal3.y" { storesyl(054); } break; case 254: #line 426 "kal3.y" { storesyl(056); } break; case 255: #line 427 "kal3.y" { storesyl(057); } break; case 256: #line 428 "kal3.y" { storesyl(044); } break; case 257: #line 429 "kal3.y" { storesyl(060); } break; case 258: #line 430 "kal3.y" { storesyl(061); } break; case 259: #line 431 "kal3.y" { storesyl(062); } break; case 260: #line 432 "kal3.y" { storesyl(063); } break; case 261: #line 433 "kal3.y" { storesyl(064); } break; case 262: #line 434 "kal3.y" { storesyl(044); } break; case 263: #line 435 "kal3.y" { storesyl(060); } break; case 264: #line 436 "kal3.y" { storesyl(061); } break; case 265: #line 437 "kal3.y" { storesyl(062); } break; case 266: #line 438 "kal3.y" { storesyl(063); } break; case 267: #line 439 "kal3.y" { storesyl(064); } break; case 268: #line 440 "kal3.y" { storesyl(044); } break; case 269: #line 441 "kal3.y" { storesyl(060); } break; case 270: #line 442 "kal3.y" { storesyl(061); } break; case 271: #line 443 "kal3.y" { storesyl(062); } break; case 272: #line 444 "kal3.y" { storesyl(063); } break; case 273: #line 445 "kal3.y" { storesyl(064); } break; case 274: #line 447 "kal3.y" { storesyl(044); } break; case 275: #line 448 "kal3.y" { storesyl(060); } break; case 276: #line 449 "kal3.y" { storesyl(061); } break; case 277: #line 450 "kal3.y" { storesyl(062); } break; case 278: #line 451 "kal3.y" { storesyl(063); } break; case 279: #line 452 "kal3.y" { storesyl(064); } break; case 280: #line 454 "kal3.y" { storesyl(065); } break; case 281: #line 455 "kal3.y" { storesyl(066); } break; case 282: #line 456 "kal3.y" { storesyl(067); } break; case 283: #line 457 "kal3.y" { storesyl(070); } break; case 284: #line 458 "kal3.y" { storesyl(071); } break; case 285: #line 459 "kal3.y" { storesyl(072); } break; case 286: #line 460 "kal3.y" { storesyl(074); } break; case 287: #line 461 "kal3.y" { storesyl(075); } break; case 288: #line 462 "kal3.y" { storesyl(077); } break; case 289: #line 464 "kal3.y" { store2syl(twosylshetc(0176, 128>>yyvsp[-1])); } break; case 290: #line 465 "kal3.y" { store2syl(twosylshetc(0175, 128>>yyvsp[-1])); } break; case 291: #line 467 "kal3.y" { newproutine(-1, -1); } break; case 292: #line 469 "kal3.y" { store2syl(twosylqx(0140, yyvsp[-1], 0)); } break; case 293: #line 470 "kal3.y" { store2syl(twosylqx(0141, yyvsp[-1], 0)); } break; case 294: #line 471 "kal3.y" { store2syl(twosylqx(0142, yyvsp[-1], 0)); } break; case 295: #line 472 "kal3.y" { store2syl(twosylqx(0143, yyvsp[-1], 0)); } break; case 296: #line 473 "kal3.y" { store2syl(twosylqx(0144 + ((yyvsp[-1]-1)&1)*2, yyvsp[-4], 0)); } break; case 297: #line 474 "kal3.y" { store2syl(twosylqx(0144 + ((yyvsp[-1]-1)&1)*2, yyvsp[-3], 0)); } break; case 298: #line 475 "kal3.y" { store2syl(twosylqx(0145 + ((yyvsp[-1]-1)&1)*2, yyvsp[-4], 0)); } break; case 299: #line 477 "kal3.y" { store2syl(twosylqx(0170, yyvsp[-1], 2)); } break; case 300: #line 478 "kal3.y" { store2syl(twosylqx(0170, yyvsp[-1], 3)); } break; case 301: #line 479 "kal3.y" { store2syl(twosylqx(0170, yyvsp[-1], 4)); } break; case 302: #line 480 "kal3.y" { store2syl(twosylqx(0170, yyvsp[-1], 5)); } break; case 303: #line 481 "kal3.y" { store2syl(twosylqx(0170, yyvsp[-1], 010)); } break; case 304: #line 482 "kal3.y" { store2syl(twosylqx(0170, yyvsp[-1], 011)); } break; case 305: #line 483 "kal3.y" { store2syl(twosylqx(0170, yyvsp[-1], 016)); } break; case 306: #line 485 "kal3.y" { store2syl(twosylqx(0171, yyvsp[-1], 2)); } break; case 307: #line 486 "kal3.y" { store2syl(twosylqx(0171, yyvsp[-1], 4)); } break; case 308: #line 487 "kal3.y" { store2syl(twosylqx(0171, yyvsp[-1], 010)); } break; case 309: #line 488 "kal3.y" { store2syl(twosylqx(0171, yyvsp[-1], 016)); } break; case 310: #line 490 "kal3.y" { store2syl(twosylqx(0172, yyvsp[-1], 2)); } break; case 311: #line 491 "kal3.y" { store2syl(twosylqx(0172, yyvsp[-1], 4)); } break; case 312: #line 492 "kal3.y" { store2syl(twosylqx(0172, yyvsp[-1], 010)); } break; case 313: #line 493 "kal3.y" { store2syl(twosylqx(0172, yyvsp[-1], 016)); } break; case 314: #line 495 "kal3.y" { store2syl(twosylshetc(0173, 0)); } break; case 315: #line 496 "kal3.y" { store2syl(twosylshetc(0174, 0)); } break; case 316: #line 498 "kal3.y" { store2syl(twosylshetc(0161, 2*yyvsp[-1] + 1)); } break; case 317: #line 499 "kal3.y" { store2syl(twosylshetc(0162, 2*yyvsp[-1] + 1)); } break; case 318: #line 500 "kal3.y" { store2syl(twosylshetc(0164, 2*yyvsp[-1] + 1)); } break; case 319: #line 501 "kal3.y" { store2syl(twosylshetc(0166, 2*yyvsp[-1] + 1)); } break; case 320: #line 502 "kal3.y" { store2syl(twosylshetc(0167, 2*yyvsp[-1] + 1)); } break; case 321: #line 504 "kal3.y" { store2syl(twosylqx(0161, yyvsp[-1], 0)); } break; case 322: #line 505 "kal3.y" { store2syl(twosylqx(0162, yyvsp[-1], 0)); } break; case 323: #line 506 "kal3.y" { store2syl(twosylqx(0164, yyvsp[-1], 0)); } break; case 324: #line 507 "kal3.y" { store2syl(twosylqx(0166, yyvsp[-1], 0)); } break; case 325: #line 508 "kal3.y" { store2syl(twosylqx(0167, yyvsp[-1], 0)); } break; case 327: #line 511 "kal3.y" { store3syl(0200, (0220<<8)); } break; case 328: #line 512 "kal3.y" { store3syl(0222, (0360<<8)); } break; case 329: #line 513 "kal3.y" { store3syl(0202 - ((yyvsp[-1]&1)<<1), (0360<<8)+(yyvsp[-1]>>1)); } break; case 330: #line 514 "kal3.y" { store3syl(0202, (0360<<8)); } break; case 331: #line 515 "kal3.y" { store3syl(0202, (0360<<8) + yyvsp[-1]); } break; case 332: #line 516 "kal3.y" { store3syl(0202, (0360<<8) + codeloc(yyvsp[-1], 0)); } break; case 333: #line 518 "kal3.y" { store3syl(0202 - ((yyvsp[-4]&1)<<1), (0360<<8) + codeloc(yyvsp[-1], 0)); } break; case 334: #line 520 "kal3.y" { store2syl(twosylqx(0120, yyvsp[-1], 000)); } break; case 335: #line 521 "kal3.y" { store2syl(twosylqx(0120, yyvsp[-1], 001)); } break; case 336: #line 522 "kal3.y" { store2syl(twosylqx(0120, yyvsp[-1], 002)); } break; case 337: #line 523 "kal3.y" { store2syl(twosylqx(0120, yyvsp[-1], 004)); } break; case 338: #line 524 "kal3.y" { store2syl(twosylqx(0120, yyvsp[-1], 010)); } break; case 339: #line 525 "kal3.y" { store2syl(twosylqx(0121, yyvsp[-1], 000)); } break; case 340: #line 526 "kal3.y" { store2syl(twosylqx(0122, yyvsp[-1], 000)); } break; case 341: #line 527 "kal3.y" { store2syl(twosylqx(0124, yyvsp[-1], 000)); } break; case 342: #line 528 "kal3.y" { store2syl(twosylqx(0125, yyvsp[-2], 000)); } break; case 343: #line 529 "kal3.y" { store2syl(twosylqx(0124, yyvsp[-1], 000)); } break; case 344: #line 530 "kal3.y" { store2syl(twosylqx(0124, yyvsp[-1], 002)); } break; case 345: #line 531 "kal3.y" { store2syl(twosylqx(0124, yyvsp[-1], 004)); } break; case 346: #line 532 "kal3.y" { store2syl(twosylqx(0124, yyvsp[-1], 010)); } break; case 347: #line 533 "kal3.y" { store2syl(twosylqx(0125, yyvsp[-1], 000)); } break; case 348: #line 534 "kal3.y" { store2syl(twosylqx(0125, yyvsp[-1], 000)); } break; case 349: #line 535 "kal3.y" { store2syl(twosylqx(0125, yyvsp[-1], 010)); } break; case 350: #line 536 "kal3.y" { store2syl(twosylqx(0126, yyvsp[-1], 000)); } break; case 351: #line 537 "kal3.y" { store2syl(twosylqx(0127, yyvsp[-1], 000)); } break; case 352: #line 538 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 000)); } break; case 353: #line 539 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 000)); } break; case 354: #line 540 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 000)); } break; case 355: #line 541 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 010)); } break; case 356: #line 542 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 000)); } break; case 357: #line 543 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 010)); } break; case 358: #line 544 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 014)); } break; case 359: #line 545 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 014)); } break; case 360: #line 546 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 004)); } break; case 361: #line 547 "kal3.y" { store2syl(twosylqx(0131, yyvsp[-1], 000)); } break; case 362: #line 548 "kal3.y" { store2syl(twosylqx(0131, yyvsp[-1], 000)); } break; case 363: #line 549 "kal3.y" { store2syl(twosylqx(0131, yyvsp[-1], 000)); } break; case 364: #line 550 "kal3.y" { store2syl(twosylqx(0131, yyvsp[-1], 010)); } break; case 365: #line 551 "kal3.y" { store2syl(twosylqx(0134, yyvsp[-1], 000)); } break; case 366: #line 552 "kal3.y" { store2syl(twosylqx(0134, yyvsp[-1], 002)); } break; case 367: #line 553 "kal3.y" { store2syl(twosylqx(0136, yyvsp[-1], 000)); } break; case 368: #line 554 "kal3.y" { store2syl(twosylqx(0136, yyvsp[-1], 010)); } break; case 369: #line 557 "kal3.y" { store2syl(twosylqx(0124, yyvsp[-1], 000)); } break; case 370: #line 558 "kal3.y" { store2syl(twosylqx(0125, yyvsp[-1], 000)); } break; case 371: #line 559 "kal3.y" { store2syl(twosylqx(0124, yyvsp[-1], 010)); } break; case 372: #line 560 "kal3.y" { store2syl(twosylqx(0125, yyvsp[-1], 010)); } break; case 373: #line 561 "kal3.y" { store2syl(twosylqx(0126, yyvsp[-1], 000)); } break; case 374: #line 562 "kal3.y" { store2syl(twosylqx(0127, yyvsp[-1], 000)); } break; case 375: #line 563 "kal3.y" { store2syl(twosylqx(0126, yyvsp[-1], 010)); } break; case 376: #line 564 "kal3.y" { store2syl(twosylqx(0127, yyvsp[-1], 010)); } break; case 377: #line 566 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 000)); } break; case 378: #line 567 "kal3.y" { store2syl(twosylqx(0131, yyvsp[-1], 000)); } break; case 379: #line 568 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 010)); } break; case 380: #line 569 "kal3.y" { store2syl(twosylqx(0131, yyvsp[-1], 010)); } break; case 381: #line 570 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 014)); } break; case 382: #line 571 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 004)); } break; case 383: #line 573 "kal3.y" { store2syl(twosylqx(0134, yyvsp[-1], 000)); } break; case 384: #line 574 "kal3.y" { store2syl(twosylqx(0120, yyvsp[-1], 010)); } break; case 385: #line 575 "kal3.y" { store2syl(twosylqx(0120, yyvsp[-1], 004)); } break; case 386: #line 576 "kal3.y" { store2syl(twosylqx(0136, yyvsp[-1], 010)); } break; case 387: #line 577 "kal3.y" { store2syl(twosylqx(0136, yyvsp[-1], 000)); } break; case 388: #line 578 "kal3.y" { store2syl(twosylqx(0122, yyvsp[-1], 000)); } break; case 389: #line 579 "kal3.y" { store2syl(twosylqx(0122, yyvsp[-1], 004)); } break; case 390: #line 580 "kal3.y" { store2syl(twosylqx(0130, yyvsp[-1], 002)); } break; case 391: #line 581 "kal3.y" { store2syl(twosylqx(0134, yyvsp[-1], 004)); } break; case 392: #line 582 "kal3.y" { store2syl(twosylqx(0136, yyvsp[-1], 004)); } break; case 393: #line 584 "kal3.y" { store2syl(twosylqx(0132, yyvsp[-1], 000)); } break; case 394: #line 585 "kal3.y" { store2syl(twosylqx(0133, yyvsp[-1], 000)); } break; case 395: #line 586 "kal3.y" { store2syl(twosylqx(0133, yyvsp[-1], 010)); } break; case 396: #line 587 "kal3.y" { store2syl(twosylqx(0132, yyvsp[-1], 010)); } break; case 397: #line 590 "kal3.y" { startnewword(); } break; case 398: #line 591 "kal3.y" { startnewword(); } break; } /* Line 991 of yacc.c. */ #line 3958 "y.tab.c" yyvsp -= yylen; yyssp -= yylen; YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; /* Now `shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ yyn = yyr1[yyn]; yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - YYNTOKENS]; goto yynewstate; /*------------------------------------. | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { ++yynerrs; #if YYERROR_VERBOSE yyn = yypact[yystate]; if (YYPACT_NINF < yyn && yyn < YYLAST) { YYSIZE_T yysize = 0; int yytype = YYTRANSLATE (yychar); char *yymsg; int yyx, yycount; yycount = 0; /* Start YYX at -YYN if negative to avoid negative indexes in YYCHECK. */ for (yyx = yyn < 0 ? -yyn : 0; yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) yysize += yystrlen (yytname[yyx]) + 15, yycount++; yysize += yystrlen ("syntax error, unexpected ") + 1; yysize += yystrlen (yytname[yytype]); yymsg = (char *) YYSTACK_ALLOC (yysize); if (yymsg != 0) { char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); yyp = yystpcpy (yyp, yytname[yytype]); if (yycount < 5) { yycount = 0; for (yyx = yyn < 0 ? -yyn : 0; yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { const char *yyq = ! yycount ? ", expecting " : " or "; yyp = yystpcpy (yyp, yyq); yyp = yystpcpy (yyp, yytname[yyx]); yycount++; } } yyerror (yymsg); YYSTACK_FREE (yymsg); } else yyerror ("syntax error; also virtual memory exhausted"); } else #endif /* YYERROR_VERBOSE */ yyerror ("syntax error"); } if (yyerrstatus == 3) { /* If just tried and failed to reuse lookahead token after an error, discard it. */ /* Return failure if at end of input. */ if (yychar == YYEOF) { /* Pop the error token. */ YYPOPSTACK; /* Pop the rest of the stack. */ while (yyss < yyssp) { YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); yydestruct (yystos[*yyssp], yyvsp); YYPOPSTACK; } YYABORT; } YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc); yydestruct (yytoken, &yylval); yychar = YYEMPTY; } /* Else will try to reuse lookahead token after shifting the error token. */ goto yyerrlab2; /*----------------------------------------------------. | yyerrlab1 -- error raised explicitly by an action. | `----------------------------------------------------*/ yyerrlab1: /* Suppress GCC warning that yyerrlab1 is unused when no action invokes YYERROR. */ #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) __attribute__ ((__unused__)) #endif goto yyerrlab2; /*---------------------------------------------------------------. | yyerrlab2 -- pop states until the error token can be shifted. | `---------------------------------------------------------------*/ yyerrlab2: yyerrstatus = 3; /* Each real token shifted decrements this. */ for (;;) { yyn = yypact[yystate]; if (yyn != YYPACT_NINF) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) { yyn = yytable[yyn]; if (0 < yyn) break; } } /* Pop the current state because it cannot handle the error token. */ if (yyssp == yyss) YYABORT; YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); yydestruct (yystos[yystate], yyvsp); yyvsp--; yystate = *--yyssp; YY_STACK_PRINT (yyss, yyssp); } if (yyn == YYFINAL) YYACCEPT; YYDPRINTF ((stderr, "Shifting error token, ")); *++yyvsp = yylval; yystate = yyn; goto yynewstate; /*-------------------------------------. | yyacceptlab -- YYACCEPT comes here. | `-------------------------------------*/ yyacceptlab: yyresult = 0; goto yyreturn; /*-----------------------------------. | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ yyabortlab: yyresult = 1; goto yyreturn; #ifndef yyoverflow /*----------------------------------------------. | yyoverflowlab -- parser overflow comes here. | `----------------------------------------------*/ yyoverflowlab: yyerror ("parser stack overflow"); yyresult = 2; /* Fall through. */ #endif yyreturn: #ifndef yyoverflow if (yyss != yyssa) YYSTACK_FREE (yyss); #endif return yyresult; } #line 593 "kal3.y"