/* ** Inserted at beginning of c files generated by bison ** REMEMBER: Change bison.reset too. */ /*@-allmacros@*/ /*@+boolint@*/ /*@+charint@*/ /*@-macroparams@*/ /*@-macroundef@*/ /*@-unreachable@*/ /*@-macrospec@*/ /*@-varuse@*/ /*@+ignorequals@*/ /*@-macrostmt@*/ /*@-noeffect@*/ /*@-shadow@*/ /*@-exitarg@*/ /*@-macroredef@*/ /*@-uniondef@*/ /*@-compdef@*/ /*@-matchfields@*/ /*@-exportlocal@*/ /*@-evalorderuncon@*/ /*@-exportheader@*/ /*@-typeuse@*/ /*@-redecl@*/ /*@-redef@*/ /*@-noparams@*/ /*@-ansireserved@*/ /*@-fielduse@*/ /*@-ifblock@*/ /*@-elseifcomplete@*/ /*@-whileblock@*/ /*@-forblock@*/ /*@-branchstate@*/ /*@-readonlytrans@*/ /*@-namechecks@*/ /*@-usedef@*/ /*@-systemunrecog@*/ /*@-dependenttrans@*/ /*@-unqualifiedtrans@*/ /*@-nullassign@*/ /*@-nullpass@*/ /*@-nullptrarith*/ /*@-usereleased@*/ /*@-declundef@*/ /*drl added 11/27/2001*/ /*@-bounds@*/ /*drl added 12/11/2002*/ /*@-type@*/ /* < end of bison.head > */ /* A Bison parser, made from llgrammar.y by GNU bison 1.35. */ #define YYBISON 1 /* Identify Bison output. */ #define yyparse ylparse #define yylex yllex #define yyerror ylerror #define yylval yllval #define yychar ylchar #define yydebug yldebug #define yynerrs ylnerrs # define simpleOp 257 # define PREFIX_OP 258 # define POSTFIX_OP 259 # define LLT_MULOP 260 # define LLT_SEMI 261 # define LLT_VERTICALBAR 262 # define ITERATION_OP 263 # define LLT_LPAR 264 # define LLT_LBRACKET 265 # define selectSym 266 # define LLT_IF_THEN_ELSE 267 # define logicalOp 268 # define eqSepSym 269 # define equationSym 270 # define commentSym 271 # define LLT_WHITESPACE 272 # define LLT_EOL 273 # define LLT_TYPEDEF_NAME 274 # define quantifierSym 275 # define openSym 276 # define closeSym 277 # define sepSym 278 # define simpleId 279 # define mapSym 280 # define markerSym 281 # define preSym 282 # define postSym 283 # define anySym 284 # define LLT_COLON 285 # define LLT_COMMA 286 # define LLT_EQUALS 287 # define LLT_LBRACE 288 # define LLT_RBRACE 289 # define LLT_RBRACKET 290 # define LLT_RPAR 291 # define LLT_QUOTE 292 # define eqOp 293 # define LLT_CCHAR 294 # define LLT_CFLOAT 295 # define LLT_CINTEGER 296 # define LLT_LCSTRING 297 # define LLT_ALL 298 # define LLT_ANYTHING 299 # define LLT_BE 300 # define LLT_BODY 301 # define LLT_CLAIMS 302 # define LLT_CHECKS 303 # define LLT_CONSTANT 304 # define LLT_ELSE 305 # define LLT_ENSURES 306 # define LLT_FOR 307 # define LLT_FRESH 308 # define LLT_IF 309 # define LLT_IMMUTABLE 310 # define LLT_IMPORTS 311 # define LLT_CONSTRAINT 312 # define LLT_ISSUB 313 # define LLT_LET 314 # define LLT_MODIFIES 315 # define LLT_MUTABLE 316 # define LLT_NOTHING 317 # define LLT_INTERNAL 318 # define LLT_FILESYS 319 # define LLT_OBJ 320 # define LLT_OUT 321 # define LLT_SEF 322 # define LLT_ONLY 323 # define LLT_PARTIAL 324 # define LLT_OWNED 325 # define LLT_DEPENDENT 326 # define LLT_KEEP 327 # define LLT_KEPT 328 # define LLT_TEMP 329 # define LLT_SHARED 330 # define LLT_UNIQUE 331 # define LLT_UNUSED 332 # define LLT_EXITS 333 # define LLT_MAYEXIT 334 # define LLT_NEVEREXIT 335 # define LLT_TRUEEXIT 336 # define LLT_FALSEEXIT 337 # define LLT_UNDEF 338 # define LLT_KILLED 339 # define LLT_CHECKMOD 340 # define LLT_CHECKED 341 # define LLT_UNCHECKED 342 # define LLT_CHECKEDSTRICT 343 # define LLT_TRUENULL 344 # define LLT_FALSENULL 345 # define LLT_LNULL 346 # define LLT_LNOTNULL 347 # define LLT_RETURNED 348 # define LLT_OBSERVER 349 # define LLT_EXPOSED 350 # define LLT_REFCOUNTED 351 # define LLT_REFS 352 # define LLT_RELNULL 353 # define LLT_RELDEF 354 # define LLT_KILLREF 355 # define LLT_NULLTERMINATED 356 # define LLT_TEMPREF 357 # define LLT_NEWREF 358 # define LLT_PRIVATE 359 # define LLT_REQUIRES 360 # define LLT_RESULT 361 # define LLT_SIZEOF 362 # define LLT_SPEC 363 # define LLT_TAGGEDUNION 364 # define LLT_THEN 365 # define LLT_TYPE 366 # define LLT_TYPEDEF 367 # define LLT_UNCHANGED 368 # define LLT_USES 369 # define LLT_CHAR 370 # define LLT_CONST 371 # define LLT_DOUBLE 372 # define LLT_ENUM 373 # define LLT_FLOAT 374 # define LLT_INT 375 # define LLT_ITER 376 # define LLT_YIELD 377 # define LLT_LONG 378 # define LLT_SHORT 379 # define LLT_SIGNED 380 # define LLT_UNKNOWN 381 # define LLT_STRUCT 382 # define LLT_TELIPSIS 383 # define LLT_UNION 384 # define LLT_UNSIGNED 385 # define LLT_VOID 386 # define LLT_VOLATILE 387 # define LLT_PRINTFLIKE 388 # define LLT_SCANFLIKE 389 # define LLT_MESSAGELIKE 390 # include "splintMacros.nf" # include "basic.h" # include "lclscan.h" # include "checking.h" # include "lslparse.h" # include "lh.h" # include "usymtab_interface.h" /*@-noparams@*/ static /*@unused@*/ void yyprint (); /*@=noparams@*/ /*@-redecl@*/ void ylerror (char *) /*@modifies *g_warningstream@*/ ; /*@=redecl@*/ bool g_inTypeDef = FALSE; /*@constant int YYDEBUG;@*/ # define YYDEBUG 1 /*@notfunction@*/ # define YYPRINT(file, type, value) yyprint (file, type, value) /* ** This is necessary, or else when the bison-generated code #include's malloc.h, ** there will be a parse error. ** ** Unfortunately, it means the error checking on malloc, etc. is lost for allocations ** in bison-generated files under Win32. */ # ifdef WIN32 # undef malloc # undef calloc # undef realloc # endif #ifndef YYSTYPE typedef union { ltoken ltok; /* a leaf is also an ltoken */ qual typequal; unsigned int count; /*@only@*/ ltokenList ltokenList; /*@only@*/ abstDeclaratorNode abstDecl; /*@only@*/ declaratorNode declare; /*@only@*/ declaratorNodeList declarelist; /*@only@*/ typeExpr typeexpr; /*@only@*/ arrayQualNode array; /*@only@*/ quantifierNode quantifier; /*@only@*/ quantifierNodeList quantifiers; /*@only@*/ varNode var; /*@only@*/ varNodeList vars; /*@only@*/ storeRefNode storeref; /*@only@*/ storeRefNodeList storereflist; /*@only@*/ termNode term; /*@only@*/ termNodeList termlist; /*@only@*/ programNode program; /*@only@*/ stmtNode stmt; /*@only@*/ claimNode claim; /*@only@*/ typeNode type; /*@only@*/ iterNode iter; /*@only@*/ fcnNode fcn; /*@only@*/ fcnNodeList fcns; /*@only@*/ letDeclNode letdecl; /*@only@*/ letDeclNodeList letdecls; /*@only@*/ lclPredicateNode lclpredicate; /*@only@*/ modifyNode modify; /*@only@*/ paramNode param; /*@only@*/ paramNodeList paramlist; /*@only@*/ declaratorInvNodeList declaratorinvs; /*@only@*/ declaratorInvNode declaratorinv; /*@only@*/ abstBodyNode abstbody; /*@only@*/ abstractNode abstract; /*@only@*/ exposedNode exposed; /*@only@*/ pointers pointers; /* taggedUnionNode taggedunion; */ /*@only@*/ globalList globals; /*@only@*/ constDeclarationNode constdeclaration; /*@only@*/ varDeclarationNode vardeclaration; /*@only@*/ varDeclarationNodeList vardeclarationlist; /*@only@*/ initDeclNodeList initdecls; /*@only@*/ initDeclNode initdecl; /*@only@*/ stDeclNodeList structdecls; /*@only@*/ stDeclNode structdecl; /*@only@*/ strOrUnionNode structorunion; /*@only@*/ enumSpecNode enumspec; /*@only@*/ lclTypeSpecNode lcltypespec; /*@only@*/ typeNameNode typname; /*@only@*/ opFormNode opform; /*@only@*/ sigNode signature; /*@only@*/ nameNode name; /*@only@*/ typeNameNodeList namelist; /*@only@*/ replaceNode replace; /*@only@*/ replaceNodeList replacelist; /*@only@*/ renamingNode renaming; /*@only@*/ traitRefNode traitref; /*@only@*/ traitRefNodeList traitreflist; /*@only@*/ importNode import; /*@only@*/ importNodeList importlist; /*@only@*/ interfaceNode iface; /*@only@*/ interfaceNodeList interfacelist; /*@only@*/ CTypesNode ctypes; /*@-redef@*/ } yystype; # define YYSTYPE yystype # define YYSTYPE_IS_TRIVIAL 1 #endif #ifndef YYDEBUG # define YYDEBUG 1 #endif #define YYFINAL 684 #define YYFLAG -32768 #define YYNTBASE 137 /* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */ #define YYTRANSLATE(x) ((unsigned)(x) <= 390 ? yytranslate[x] : 291) /* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */ static const short yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136 }; #if YYDEBUG static const short yyprhs[] = { 0, 0, 1, 5, 6, 9, 11, 13, 14, 17, 20, 21, 24, 26, 28, 30, 34, 38, 40, 42, 44, 46, 48, 50, 57, 58, 60, 62, 66, 69, 71, 72, 76, 78, 80, 82, 84, 89, 93, 98, 103, 105, 107, 109, 111, 113, 114, 128, 129, 144, 145, 159, 164, 165, 166, 173, 174, 175, 183, 184, 185, 193, 194, 195, 202, 203, 204, 211, 214, 217, 219, 223, 225, 229, 231, 233, 237, 239, 241, 245, 247, 252, 256, 263, 265, 269, 271, 273, 277, 279, 283, 285, 289, 293, 297, 302, 304, 306, 308, 310, 312, 316, 318, 322, 323, 326, 330, 333, 336, 337, 340, 345, 346, 350, 352, 356, 362, 366, 368, 369, 373, 374, 378, 379, 383, 387, 391, 393, 397, 399, 401, 404, 406, 408, 409, 413, 414, 418, 419, 421, 423, 425, 429, 431, 435, 436, 441, 447, 449, 453, 456, 460, 464, 469, 473, 479, 486, 488, 492, 494, 496, 499, 502, 506, 510, 514, 519, 521, 525, 530, 534, 535, 538, 539, 541, 542, 549, 551, 555, 556, 560, 561, 565, 567, 569, 571, 573, 575, 577, 579, 581, 583, 585, 587, 590, 592, 594, 596, 598, 600, 602, 604, 606, 608, 610, 612, 614, 616, 618, 620, 622, 624, 626, 628, 630, 632, 634, 636, 638, 640, 642, 644, 646, 648, 650, 652, 654, 656, 658, 660, 662, 664, 666, 668, 670, 672, 675, 681, 683, 686, 688, 691, 692, 699, 700, 707, 710, 713, 714, 716, 718, 721, 725, 727, 731, 732, 734, 741, 744, 746, 750, 752, 754, 756, 760, 763, 766, 770, 775, 777, 781, 784, 787, 791, 796, 798, 801, 804, 808, 813, 816, 819, 822, 825, 829, 831, 832, 834, 838, 841, 843, 845, 848, 852, 856, 861, 864, 868, 875, 877, 880, 883, 887, 891, 896, 901, 907, 911, 916, 921, 927, 930, 933, 937, 941, 943, 945, 947, 949, 951, 953, 955, 956, 958, 960, 964, 966, 968, 973, 974, 976, 978, 982, 984, 986, 993, 995, 999, 1001, 1006, 1010, 1014, 1016, 1019, 1022, 1024, 1026, 1028, 1031, 1033, 1036, 1039, 1043, 1045, 1047, 1050, 1053, 1057, 1059, 1062, 1066, 1068, 1074, 1078, 1083, 1086, 1090, 1093, 1095, 1099, 1103, 1105, 1110, 1112, 1115, 1119, 1123, 1127, 1132, 1136, 1138, 1142, 1144, 1146, 1148, 1150, 1152, 1154, 1159, 1164, 1169, 1174, 1181, 1186, 1188, 1190, 1192, 1194, 1196, 1199, 1200, 1204, 1206, 1210, 1214, 1219, 1221, 1223, 1225, 1227, 1229, 1231, 1233, 1235 }; static const short yyrhs[] = { -1, 139, 138, 141, 0, 0, 139, 140, 0, 144, 0, 145, 0, 0, 146, 142, 0, 151, 142, 0, 0, 142, 143, 0, 146, 0, 151, 0, 145, 0, 57, 175, 7, 0, 115, 179, 7, 0, 154, 0, 155, 0, 156, 0, 158, 0, 161, 0, 147, 0, 122, 285, 10, 148, 37, 7, 0, 0, 149, 0, 150, 0, 149, 32, 150, 0, 123, 244, 0, 244, 0, 0, 109, 152, 153, 0, 154, 0, 155, 0, 156, 0, 158, 0, 50, 227, 189, 7, 0, 227, 189, 7, 0, 117, 227, 189, 7, 0, 133, 227, 189, 7, 0, 163, 0, 172, 0, 134, 0, 135, 0, 136, 0, 0, 227, 240, 191, 159, 34, 193, 195, 199, 200, 201, 204, 205, 35, 0, 0, 157, 227, 240, 191, 160, 34, 193, 195, 199, 200, 201, 204, 205, 35, 0, 0, 48, 287, 10, 206, 37, 191, 162, 34, 195, 200, 209, 204, 35, 0, 48, 284, 287, 7, 0, 0, 0, 62, 164, 112, 20, 165, 214, 0, 0, 0, 62, 166, 97, 112, 20, 167, 214, 0, 0, 0, 97, 62, 168, 112, 20, 169, 214, 0, 0, 0, 56, 170, 112, 20, 171, 214, 0, 0, 0, 113, 227, 173, 219, 174, 7, 0, 230, 7, 0, 238, 7, 0, 176, 0, 175, 32, 176, 0, 178, 0, 3, 178, 3, 0, 43, 0, 178, 0, 177, 32, 178, 0, 283, 0, 180, 0, 179, 32, 180, 0, 289, 0, 289, 10, 182, 37, 0, 10, 181, 37, 0, 10, 181, 37, 10, 182, 37, 0, 289, 0, 181, 32, 289, 0, 184, 0, 183, 0, 183, 32, 184, 0, 245, 0, 183, 32, 245, 0, 185, 0, 184, 32, 185, 0, 245, 53, 223, 0, 245, 53, 186, 0, 245, 53, 186, 256, 0, 290, 0, 249, 0, 188, 0, 260, 0, 190, 0, 189, 32, 190, 0, 240, 0, 240, 33, 187, 0, 0, 191, 192, 0, 227, 189, 7, 0, 64, 7, 0, 65, 7, 0, 0, 193, 194, 0, 105, 227, 189, 7, 0, 0, 60, 196, 7, 0, 197, 0, 196, 32, 197, 0, 285, 31, 198, 46, 260, 0, 285, 46, 260, 0, 227, 0, 0, 49, 259, 7, 0, 0, 106, 259, 7, 0, 0, 61, 63, 7, 0, 61, 45, 7, 0, 61, 202, 7, 0, 203, 0, 202, 32, 203, 0, 260, 0, 228, 0, 66, 228, 0, 64, 0, 65, 0, 0, 52, 259, 7, 0, 0, 48, 259, 7, 0, 0, 207, 0, 208, 0, 129, 0, 208, 32, 129, 0, 244, 0, 208, 32, 244, 0, 0, 47, 34, 210, 35, 0, 47, 34, 210, 7, 35, 0, 211, 0, 10, 210, 37, 0, 210, 6, 0, 210, 8, 210, 0, 210, 7, 210, 0, 284, 10, 212, 37, 0, 284, 10, 37, 0, 285, 33, 284, 10, 37, 0, 285, 33, 284, 10, 212, 37, 0, 213, 0, 212, 32, 213, 0, 277, 0, 285, 0, 3, 213, 0, 213, 3, 0, 213, 3, 213, 0, 10, 213, 37, 0, 284, 10, 37, 0, 284, 10, 212, 37, 0, 7, 0, 34, 215, 35, 0, 34, 177, 35, 7, 0, 34, 35, 7, 0, 0, 215, 158, 0, 0, 217, 0, 0, 58, 218, 279, 10, 259, 37, 0, 220, 0, 219, 32, 220, 0, 0, 240, 221, 222, 0, 0, 34, 216, 35, 0, 132, 0, 116, 0, 118, 0, 120, 0, 121, 0, 124, 0, 125, 0, 126, 0, 131, 0, 127, 0, 223, 0, 224, 223, 0, 20, 0, 224, 0, 67, 0, 78, 0, 68, 0, 69, 0, 71, 0, 72, 0, 73, 0, 74, 0, 95, 0, 79, 0, 80, 0, 82, 0, 83, 0, 81, 0, 75, 0, 76, 0, 77, 0, 87, 0, 88, 0, 89, 0, 90, 0, 91, 0, 99, 0, 100, 0, 97, 0, 98, 0, 104, 0, 101, 0, 92, 0, 93, 0, 94, 0, 96, 0, 70, 0, 102, 0, 84, 0, 85, 0, 225, 0, 230, 0, 238, 0, 226, 227, 0, 8, 228, 31, 228, 8, 0, 227, 0, 227, 229, 0, 6, 0, 229, 6, 0, 0, 128, 233, 231, 34, 234, 35, 0, 0, 130, 233, 232, 34, 234, 35, 0, 128, 286, 0, 130, 286, 0, 0, 286, 0, 235, 0, 234, 235, 0, 227, 236, 7, 0, 240, 0, 236, 32, 240, 0, 0, 32, 0, 119, 233, 34, 239, 237, 35, 0, 119, 286, 0, 25, 0, 239, 32, 25, 0, 242, 0, 241, 0, 285, 0, 10, 241, 37, 0, 6, 241, 0, 241, 248, 0, 241, 10, 37, 0, 241, 10, 207, 37, 0, 20, 0, 10, 242, 37, 0, 6, 242, 0, 242, 248, 0, 242, 10, 37, 0, 242, 10, 207, 37, 0, 20, 0, 6, 243, 0, 243, 248, 0, 243, 10, 37, 0, 243, 10, 207, 37, 0, 227, 243, 0, 227, 241, 0, 227, 246, 0, 227, 246, 0, 66, 227, 246, 0, 249, 0, 0, 247, 0, 10, 247, 37, 0, 6, 247, 0, 6, 0, 248, 0, 247, 248, 0, 247, 10, 37, 0, 10, 207, 37, 0, 247, 10, 207, 37, 0, 11, 36, 0, 11, 188, 36, 0, 55, 27, 111, 27, 51, 27, 0, 252, 0, 27, 252, 0, 252, 27, 0, 27, 252, 27, 0, 250, 253, 251, 0, 27, 250, 253, 251, 0, 250, 253, 251, 27, 0, 27, 250, 253, 251, 27, 0, 11, 253, 36, 0, 11, 253, 36, 27, 0, 27, 11, 253, 36, 0, 27, 11, 253, 36, 27, 0, 12, 283, 0, 26, 283, 0, 27, 12, 283, 0, 27, 26, 283, 0, 22, 0, 34, 0, 23, 0, 35, 0, 264, 0, 14, 0, 39, 0, 0, 254, 0, 27, 0, 254, 255, 27, 0, 32, 0, 24, 0, 31, 257, 26, 288, 0, 0, 258, 0, 288, 0, 258, 32, 288, 0, 260, 0, 261, 0, 55, 261, 111, 261, 51, 261, 0, 262, 0, 261, 14, 261, 0, 263, 0, 278, 10, 259, 37, 0, 263, 39, 263, 0, 263, 33, 263, 0, 265, 0, 268, 266, 0, 268, 267, 0, 3, 0, 6, 0, 268, 0, 264, 265, 0, 264, 0, 266, 264, 0, 264, 268, 0, 267, 264, 268, 0, 273, 0, 269, 0, 269, 273, 0, 273, 269, 0, 273, 269, 273, 0, 270, 0, 270, 273, 0, 271, 31, 288, 0, 271, 0, 11, 272, 36, 31, 288, 0, 11, 272, 36, 0, 11, 36, 31, 288, 0, 11, 36, 0, 250, 272, 251, 0, 250, 251, 0, 260, 0, 272, 255, 260, 0, 10, 261, 37, 0, 285, 0, 290, 10, 274, 37, 0, 276, 0, 273, 275, 0, 273, 12, 283, 0, 273, 26, 283, 0, 273, 11, 36, 0, 273, 11, 274, 36, 0, 273, 31, 288, 0, 261, 0, 274, 32, 261, 0, 28, 0, 29, 0, 30, 0, 38, 0, 277, 0, 107, 0, 54, 10, 274, 37, 0, 114, 10, 44, 37, 0, 114, 10, 202, 37, 0, 108, 10, 260, 37, 0, 59, 10, 260, 32, 260, 37, 0, 108, 10, 227, 37, 0, 42, 0, 43, 0, 40, 0, 41, 0, 279, 0, 278, 279, 0, 0, 21, 280, 281, 0, 282, 0, 281, 32, 282, 0, 285, 31, 198, 0, 285, 31, 66, 198, 0, 25, 0, 20, 0, 25, 0, 25, 0, 283, 0, 283, 0, 283, 0, 283, 0, 283, 0 }; #endif #if YYDEBUG /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const short yyrline[] = { 0, 382, 382, 387, 388, 392, 393, 397, 398, 399, 403, 404, 408, 409, 410, 414, 421, 426, 428, 430, 432, 434, 436, 441, 446, 447, 451, 453, 458, 459, 463, 463, 468, 470, 472, 474, 479, 484, 486, 488, 493, 494, 498, 499, 500, 504, 504, 512, 512, 525, 525, 530, 535, 535, 535, 537, 537, 537, 540, 540, 540, 543, 543, 543, 548, 548, 548, 551, 553, 570, 572, 577, 578, 580, 584, 585, 589, 594, 596, 601, 603, 605, 607, 612, 613, 617, 619, 621, 625, 627, 631, 633, 637, 638, 639, 644, 645, 648, 651, 655, 657, 662, 663, 667, 669, 674, 675, 676, 680, 681, 685, 690, 691, 695, 696, 700, 701, 704, 708, 709, 713, 714, 718, 719, 720, 721, 725, 726, 730, 731, 732, 733, 734, 738, 739, 743, 744, 748, 749, 753, 754, 755, 759, 760, 764, 765, 766, 770, 771, 774, 779, 785, 794, 796, 798, 800, 805, 806, 810, 811, 812, 813, 814, 815, 816, 818, 823, 824, 825, 826, 830, 831, 835, 836, 840, 840, 850, 851, 856, 856, 861, 862, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 884, 885, 891, 893, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 939, 941, 943, 945, 947, 957, 958, 964, 965, 969, 969, 973, 973, 977, 979, 984, 985, 989, 990, 996, 1000, 1002, 1007, 1008, 1012, 1014, 1019, 1020, 1031, 1032, 1036, 1037, 1038, 1039, 1040, 1041, 1045, 1046, 1047, 1048, 1049, 1050, 1060, 1061, 1062, 1063, 1064, 1071, 1072, 1073, 1084, 1085, 1086, 1092, 1093, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1108, 1109, 1113, 1115, 1117, 1119, 1121, 1124, 1126, 1128, 1130, 1132, 1134, 1142, 1144, 1146, 1149, 1152, 1155, 1161, 1162, 1166, 1167, 1171, 1172, 1173, 1177, 1178, 1182, 1183, 1187, 1188, 1192, 1196, 1197, 1201, 1202, 1206, 1210, 1217, 1219, 1220, 1224, 1225, 1230, 1232, 1237, 1238, 1239, 1243, 1244, 1248, 1249, 1253, 1254, 1258, 1259, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1273, 1274, 1278, 1281, 1283, 1287, 1292, 1293, 1297, 1298, 1302, 1304, 1306, 1308, 1309, 1311, 1313, 1315, 1318, 1320, 1325, 1326, 1330, 1331, 1332, 1333, 1337, 1338, 1339, 1340, 1341, 1342, 1347, 1353, 1364, 1365, 1366, 1367, 1371, 1373, 1378, 1378, 1386, 1387, 1391, 1392, 1396, 1397, 1401, 1402, 1403, 1404, 1405, 1406, 1407 }; #endif #if (YYDEBUG) || defined YYERROR_VERBOSE /* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */ static const char *const yytname[] = { "$", "error", "$undefined.", "simpleOp", "PREFIX_OP", "POSTFIX_OP", "LLT_MULOP", "LLT_SEMI", "LLT_VERTICALBAR", "ITERATION_OP", "LLT_LPAR", "LLT_LBRACKET", "selectSym", "LLT_IF_THEN_ELSE", "logicalOp", "eqSepSym", "equationSym", "commentSym", "LLT_WHITESPACE", "LLT_EOL", "LLT_TYPEDEF_NAME", "quantifierSym", "openSym", "closeSym", "sepSym", "simpleId", "mapSym", "markerSym", "preSym", "postSym", "anySym", "LLT_COLON", "LLT_COMMA", "LLT_EQUALS", "LLT_LBRACE", "LLT_RBRACE", "LLT_RBRACKET", "LLT_RPAR", "LLT_QUOTE", "eqOp", "LLT_CCHAR", "LLT_CFLOAT", "LLT_CINTEGER", "LLT_LCSTRING", "LLT_ALL", "LLT_ANYTHING", "LLT_BE", "LLT_BODY", "LLT_CLAIMS", "LLT_CHECKS", "LLT_CONSTANT", "LLT_ELSE", "LLT_ENSURES", "LLT_FOR", "LLT_FRESH", "LLT_IF", "LLT_IMMUTABLE", "LLT_IMPORTS", "LLT_CONSTRAINT", "LLT_ISSUB", "LLT_LET", "LLT_MODIFIES", "LLT_MUTABLE", "LLT_NOTHING", "LLT_INTERNAL", "LLT_FILESYS", "LLT_OBJ", "LLT_OUT", "LLT_SEF", "LLT_ONLY", "LLT_PARTIAL", "LLT_OWNED", "LLT_DEPENDENT", "LLT_KEEP", "LLT_KEPT", "LLT_TEMP", "LLT_SHARED", "LLT_UNIQUE", "LLT_UNUSED", "LLT_EXITS", "LLT_MAYEXIT", "LLT_NEVEREXIT", "LLT_TRUEEXIT", "LLT_FALSEEXIT", "LLT_UNDEF", "LLT_KILLED", "LLT_CHECKMOD", "LLT_CHECKED", "LLT_UNCHECKED", "LLT_CHECKEDSTRICT", "LLT_TRUENULL", "LLT_FALSENULL", "LLT_LNULL", "LLT_LNOTNULL", "LLT_RETURNED", "LLT_OBSERVER", "LLT_EXPOSED", "LLT_REFCOUNTED", "LLT_REFS", "LLT_RELNULL", "LLT_RELDEF", "LLT_KILLREF", "LLT_NULLTERMINATED", "LLT_TEMPREF", "LLT_NEWREF", "LLT_PRIVATE", "LLT_REQUIRES", "LLT_RESULT", "LLT_SIZEOF", "LLT_SPEC", "LLT_TAGGEDUNION", "LLT_THEN", "LLT_TYPE", "LLT_TYPEDEF", "LLT_UNCHANGED", "LLT_USES", "LLT_CHAR", "LLT_CONST", "LLT_DOUBLE", "LLT_ENUM", "LLT_FLOAT", "LLT_INT", "LLT_ITER", "LLT_YIELD", "LLT_LONG", "LLT_SHORT", "LLT_SIGNED", "LLT_UNKNOWN", "LLT_STRUCT", "LLT_TELIPSIS", "LLT_UNION", "LLT_UNSIGNED", "LLT_VOID", "LLT_VOLATILE", "LLT_PRINTFLIKE", "LLT_SCANFLIKE", "LLT_MESSAGELIKE", "interface", "@1", "externals", "external", "optDeclarations", "declarations", "declaration", "imports", "uses", "export", "iter", "iterParamList", "realIterParamList", "iterParam", "private", "@2", "private2", "constDeclaration", "varDeclaration", "type", "special", "fcn", "@3", "@4", "claim", "@5", "abstract", "@6", "@7", "@8", "@9", "@10", "@11", "@12", "@13", "exposed", "@14", "@15", "importNameList", "importName", "interfaceNameList", "interfaceName", "traitRefNodeList", "traitRef", "traitIdList", "renaming", "nameList", "replaceNodeList", "replace", "name", "initializer", "constLclExpr", "initDecls", "initDecl", "globals", "globalDecl", "privateInits", "privateInit", "optLetDecl", "beDeclList", "beDecl", "sortSpec", "optChecks", "optRequire", "optModify", "storeRefList", "storeRef", "optEnsure", "optClaim", "optParamList", "realParamList", "paramList", "optBody", "callExpr", "stmt", "valueList", "value", "abstBody", "fcns", "optTypeInv", "typeInv", "@16", "declaratorInvs", "declaratorInv", "@17", "optExposedBody", "CType", "CTypes", "typeSpecifier", "specialQualifier", "lclTypeSpec", "lclType", "pointers", "structOrUnionSpec", "@18", "@19", "optTagId", "structDecls", "structDecl", "declaratorList", "optCOMMA", "enumSpec", "enumeratorList", "declarator", "notype_decl", "after_type_decl", "parameter_decl", "param", "typeName", "optAbstDeclarator", "abstDeclarator", "arrayQual", "opForm", "open", "close", "anyOp", "middle", "placeList", "separator", "signature", "domain", "sortList", "lclPredicate", "term", "term0", "equalityTerm", "simpleOpTerm", "simpleOp2", "prefixOpTerm", "postfixOps", "infixOpPart", "secondary", "bracketed", "sqBracketed", "matched", "args", "primary", "termList", "stateFcn", "lclPrimary", "cLiteral", "quantifiers", "quantifier", "@20", "quantifiedList", "quantified", "simpleIdOrTypedefName", "fcnId", "varId", "tagId", "claimId", "sortId", "traitId", "opId", 0 }; #endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const short yyr1[] = { 0, 138, 137, 139, 139, 140, 140, 141, 141, 141, 142, 142, 143, 143, 143, 144, 145, 146, 146, 146, 146, 146, 146, 147, 148, 148, 149, 149, 150, 150, 152, 151, 153, 153, 153, 153, 154, 155, 155, 155, 156, 156, 157, 157, 157, 159, 158, 160, 158, 162, 161, 161, 164, 165, 163, 166, 167, 163, 168, 169, 163, 170, 171, 163, 173, 174, 172, 172, 172, 175, 175, 176, 176, 176, 177, 177, 178, 179, 179, 180, 180, 180, 180, 181, 181, 182, 182, 182, 183, 183, 184, 184, 185, 185, 185, 186, 186, 187, 188, 189, 189, 190, 190, 191, 191, 192, 192, 192, 193, 193, 194, 195, 195, 196, 196, 197, 197, 198, 199, 199, 200, 200, 201, 201, 201, 201, 202, 202, 203, 203, 203, 203, 203, 204, 204, 205, 205, 206, 206, 207, 207, 207, 208, 208, 209, 209, 209, 210, 210, 210, 210, 210, 211, 211, 211, 211, 212, 212, 213, 213, 213, 213, 213, 213, 213, 213, 214, 214, 214, 214, 215, 215, 216, 216, 218, 217, 219, 219, 221, 220, 222, 222, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 224, 224, 225, 225, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 227, 227, 227, 227, 227, 228, 228, 229, 229, 231, 230, 232, 230, 230, 230, 233, 233, 234, 234, 235, 236, 236, 237, 237, 238, 238, 239, 239, 240, 240, 241, 241, 241, 241, 241, 241, 242, 242, 242, 242, 242, 242, 243, 243, 243, 243, 243, 244, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 247, 247, 247, 247, 247, 248, 248, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, 250, 250, 251, 251, 252, 252, 252, 253, 253, 254, 254, 255, 255, 256, 257, 257, 258, 258, 259, 260, 261, 261, 261, 262, 262, 262, 262, 263, 263, 263, 264, 264, 265, 265, 266, 266, 267, 267, 268, 268, 268, 268, 268, 268, 268, 269, 269, 270, 270, 270, 270, 271, 271, 272, 272, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 275, 275, 275, 275, 276, 276, 276, 276, 276, 276, 276, 276, 277, 277, 277, 277, 278, 278, 280, 279, 281, 281, 282, 282, 283, 283, 284, 285, 286, 287, 288, 289, 290 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const short yyr2[] = { 0, 0, 3, 0, 2, 1, 1, 0, 2, 2, 0, 2, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 6, 0, 1, 1, 3, 2, 1, 0, 3, 1, 1, 1, 1, 4, 3, 4, 4, 1, 1, 1, 1, 1, 0, 13, 0, 14, 0, 13, 4, 0, 0, 6, 0, 0, 7, 0, 0, 7, 0, 0, 6, 0, 0, 6, 2, 2, 1, 3, 1, 3, 1, 1, 3, 1, 1, 3, 1, 4, 3, 6, 1, 3, 1, 1, 3, 1, 3, 1, 3, 3, 3, 4, 1, 1, 1, 1, 1, 3, 1, 3, 0, 2, 3, 2, 2, 0, 2, 4, 0, 3, 1, 3, 5, 3, 1, 0, 3, 0, 3, 0, 3, 3, 3, 1, 3, 1, 1, 2, 1, 1, 0, 3, 0, 3, 0, 1, 1, 1, 3, 1, 3, 0, 4, 5, 1, 3, 2, 3, 3, 4, 3, 5, 6, 1, 3, 1, 1, 2, 2, 3, 3, 3, 4, 1, 3, 4, 3, 0, 2, 0, 1, 0, 6, 1, 3, 0, 3, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 5, 1, 2, 1, 2, 0, 6, 0, 6, 2, 2, 0, 1, 1, 2, 3, 1, 3, 0, 1, 6, 2, 1, 3, 1, 1, 1, 3, 2, 2, 3, 4, 1, 3, 2, 2, 3, 4, 1, 2, 2, 3, 4, 2, 2, 2, 2, 3, 1, 0, 1, 3, 2, 1, 1, 2, 3, 3, 4, 2, 3, 6, 1, 2, 2, 3, 3, 4, 4, 5, 3, 4, 4, 5, 2, 2, 3, 3, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 3, 1, 1, 4, 0, 1, 1, 3, 1, 1, 6, 1, 3, 1, 4, 3, 3, 1, 2, 2, 1, 1, 1, 2, 1, 2, 2, 3, 1, 1, 2, 2, 3, 1, 2, 3, 1, 5, 3, 4, 2, 3, 2, 1, 3, 3, 1, 4, 1, 2, 3, 3, 3, 4, 3, 1, 3, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 6, 4, 1, 1, 1, 1, 1, 2, 0, 3, 1, 3, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; /* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const short yydefact[] = { 3, 1, 0, 0, 7, 4, 5, 6, 0, 406, 405, 73, 0, 69, 71, 76, 0, 0, 77, 412, 79, 0, 194, 0, 0, 61, 52, 196, 198, 199, 228, 200, 201, 202, 203, 210, 211, 212, 197, 205, 206, 209, 207, 208, 230, 231, 213, 214, 215, 216, 217, 224, 225, 226, 204, 227, 220, 221, 218, 219, 223, 229, 222, 30, 0, 183, 0, 184, 247, 185, 186, 0, 187, 188, 189, 191, 247, 247, 190, 182, 0, 42, 43, 44, 2, 10, 22, 10, 17, 18, 19, 0, 20, 21, 40, 41, 192, 195, 232, 0, 0, 233, 234, 0, 15, 0, 0, 83, 16, 0, 0, 220, 237, 0, 233, 234, 407, 410, 0, 0, 0, 0, 0, 0, 58, 0, 64, 0, 0, 409, 257, 408, 0, 241, 245, 243, 246, 0, 8, 9, 0, 193, 235, 0, 0, 268, 0, 99, 103, 261, 260, 262, 67, 68, 72, 70, 0, 81, 78, 344, 345, 321, 0, 319, 314, 0, 0, 315, 320, 0, 0, 0, 86, 85, 90, 285, 88, 284, 321, 298, 318, 239, 238, 0, 0, 137, 0, 101, 0, 0, 0, 0, 31, 32, 33, 34, 35, 0, 0, 0, 24, 0, 0, 0, 11, 14, 12, 13, 103, 264, 270, 0, 0, 37, 0, 0, 45, 0, 0, 265, 0, 271, 84, 0, 323, 0, 322, 310, 311, 321, 0, 0, 321, 299, 0, 285, 80, 0, 0, 289, 0, 282, 286, 290, 0, 0, 300, 240, 0, 51, 140, 0, 138, 139, 285, 142, 36, 62, 53, 0, 0, 65, 176, 178, 38, 258, 254, 0, 0, 25, 26, 29, 0, 0, 39, 47, 263, 269, 100, 0, 0, 399, 408, 395, 396, 393, 394, 0, 0, 0, 386, 0, 0, 102, 97, 0, 98, 333, 335, 337, 0, 341, 346, 353, 357, 360, 352, 372, 385, 0, 397, 413, 370, 0, 0, 0, 0, 104, 0, 266, 0, 295, 0, 272, 0, 0, 306, 326, 325, 0, 0, 312, 313, 0, 301, 0, 283, 87, 89, 91, 0, 288, 0, 0, 0, 291, 93, 92, 96, 95, 316, 317, 302, 236, 103, 0, 289, 0, 274, 280, 279, 281, 0, 0, 56, 59, 0, 0, 180, 255, 0, 28, 0, 0, 0, 0, 249, 0, 0, 0, 364, 367, 0, 0, 0, 0, 0, 0, 0, 366, 0, 0, 0, 0, 347, 346, 348, 342, 343, 354, 358, 0, 0, 0, 0, 381, 382, 383, 0, 384, 355, 373, 0, 398, 0, 106, 107, 108, 0, 267, 296, 273, 82, 307, 324, 308, 303, 0, 293, 287, 292, 0, 328, 94, 304, 49, 141, 143, 275, 289, 0, 276, 166, 170, 63, 54, 0, 0, 177, 66, 172, 179, 259, 256, 23, 27, 0, 252, 242, 250, 244, 108, 369, 0, 362, 0, 400, 401, 0, 379, 0, 0, 0, 194, 0, 0, 0, 131, 132, 0, 0, 126, 129, 128, 365, 336, 340, 339, 350, 349, 0, 411, 359, 376, 0, 374, 375, 378, 356, 0, 332, 0, 111, 105, 309, 305, 0, 294, 0, 329, 330, 0, 277, 0, 0, 0, 74, 0, 57, 60, 174, 0, 173, 251, 0, 111, 363, 0, 368, 0, 0, 0, 387, 0, 0, 392, 390, 388, 130, 0, 389, 351, 377, 338, 371, 0, 0, 109, 118, 297, 0, 0, 111, 278, 169, 0, 0, 167, 171, 0, 0, 181, 253, 118, 361, 402, 0, 403, 117, 380, 0, 0, 127, 0, 113, 0, 0, 0, 120, 327, 331, 120, 75, 168, 103, 0, 120, 404, 334, 391, 112, 0, 0, 0, 0, 0, 0, 122, 144, 0, 122, 114, 0, 116, 110, 119, 0, 0, 133, 0, 133, 0, 133, 0, 121, 0, 0, 0, 0, 135, 0, 0, 175, 135, 115, 124, 123, 125, 0, 0, 0, 0, 408, 0, 147, 0, 0, 50, 0, 134, 0, 46, 0, 149, 0, 0, 145, 0, 0, 48, 136, 0, 148, 146, 151, 150, 0, 0, 153, 0, 156, 158, 0, 159, 407, 0, 160, 0, 0, 152, 161, 0, 0, 163, 157, 162, 164, 0, 154, 0, 165, 155, 0, 0, 0 }; static const short yydefgoto[] = { 682, 4, 1, 5, 84, 138, 204, 6, 205, 206, 86, 268, 269, 270, 207, 125, 192, 88, 89, 90, 91, 92, 316, 378, 93, 511, 94, 122, 363, 123, 446, 191, 447, 121, 362, 95, 197, 367, 12, 13, 515, 14, 17, 18, 106, 171, 172, 173, 174, 346, 293, 294, 146, 147, 216, 317, 502, 547, 548, 573, 574, 567, 578, 597, 608, 480, 481, 619, 630, 251, 342, 253, 610, 654, 634, 659, 660, 444, 517, 521, 522, 560, 261, 262, 368, 451, 96, 97, 98, 99, 254, 482, 182, 114, 201, 202, 128, 375, 376, 456, 370, 115, 266, 187, 149, 150, 360, 255, 176, 241, 242, 243, 177, 295, 352, 179, 225, 226, 465, 433, 508, 509, 499, 500, 297, 298, 299, 300, 301, 397, 398, 302, 303, 304, 305, 382, 306, 470, 411, 307, 308, 309, 310, 383, 466, 467, 311, 662, 312, 130, 119, 492, 20, 313 }; static const short yypact[] = { -32768, -25, 136, 368, 1350,-32768,-32768,-32768, 181,-32768, -32768,-32768, 94,-32768,-32768,-32768, 181, 110,-32768,-32768, 33, 2903,-32768, 182, 2903,-32768, 17,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768, -11,-32768,-32768,-32768, -32768,-32768,-32768,-32768, 2903,-32768, 2903,-32768, 181,-32768, -32768, 108,-32768,-32768,-32768,-32768, 181, 181,-32768,-32768, 2903,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768, 2903,-32768,-32768,-32768,-32768,-32768, 399,-32768, 2903, 408, 155, 192, 205,-32768, 136, 204,-32768,-32768, 368, 1152,-32768, 233, 223,-32768,-32768, 266,-32768, 181, 305, 408, 211, 235, 264,-32768, 1445,-32768, 408, 339,-32768, 347,-32768, 377,-32768, 347,-32768, 347, 408, 1247, 1247, 408,-32768,-32768, 408, 408,-32768, 196,-32768, 259, 322, 409,-32768,-32768,-32768,-32768,-32768, 181, 387,-32768,-32768, -32768, 386, 181,-32768,-32768, 181, 534,-32768,-32768, 403, 2903, 410, 445, 453,-32768, 360, 439,-32768, 386, 474, -32768,-32768, 496, 2903, 497, 2319, 239, 470, 486, 492, 401, 404,-32768,-32768,-32768,-32768,-32768, 408, 282, 493, 2414, 488, 494, 288,-32768,-32768,-32768,-32768,-32768, 322, 409, 121, 141,-32768, 408, 3200, 1836, 1933, 3059,-32768, 2030,-32768,-32768, 1152,-32768, 499, 122,-32768,-32768, 386, 181, 181, 386, 502, 421, 360,-32768, 1152, 1152, 360, 1741,-32768, 454,-32768, 328, 80,-32768,-32768, 525,-32768, -32768, 504,-32768, 507, 380,-32768,-32768,-32768,-32768, 522, 524, 515,-32768,-32768,-32768,-32768, 518, 2903, 514, 520, -32768,-32768, 2903, 2903,-32768, 1836,-32768,-32768,-32768, 3200, 3109,-32768, 266,-32768,-32768,-32768,-32768, 544, 3200, 545, -32768, 549, 551,-32768,-32768, 3033,-32768, 550,-32768, 114, 3226,-32768, 374, 382, 382, 535, 193,-32768,-32768, 273, -32768,-32768,-32768, 555, 560, 562, 536,-32768, 408,-32768, 537,-32768, 539,-32768, 540, 541, 552,-32768,-32768, 553, 547,-32768,-32768, 80,-32768, 554,-32768, 453, 439,-32768, 439, 454, 548, 177, 2127,-32768, 556,-32768,-32768,-32768, -32768,-32768, 557,-32768,-32768, 2509, 380, 1644,-32768, 322, 469,-32768, 47, 47,-32768,-32768, 408, 564, 538, 561, 559,-32768, 569, 2414, 408, 2611,-32768, 2713, 558, 36, 565,-32768, 293, 108, 3200, 10, 3200, 1022, 762,-32768, 220, 3200, 3226, 3226,-32768,-32768, 268, 374, 374, 275, 275, 181, 3150, 181, 181,-32768,-32768,-32768, 181,-32768, 382,-32768, 3200,-32768, 3200,-32768,-32768,-32768, 314,-32768, -32768,-32768,-32768,-32768,-32768, 563, 568, 566,-32768,-32768, -32768, 573, 181,-32768,-32768, 1836,-32768,-32768, 469, 354, 2224,-32768,-32768, 165,-32768,-32768, 47, 47,-32768,-32768, 530,-32768,-32768,-32768,-32768,-32768, 317,-32768,-32768,-32768, -32768,-32768,-32768, 181, 567, 3200, 570,-32768, 572, 550, 362, 3200, 579, 581, 575, 577, 578,-32768,-32768, 2903, 384,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 268,-32768,-32768,-32768, 157,-32768,-32768,-32768, 275, 583, -32768, 397, -8,-32768,-32768,-32768, 574,-32768, 590, 591, -32768, 571,-32768, 587, 592, 363,-32768, 1547,-32768,-32768, -32768, 594,-32768,-32768, 408, -8,-32768, 181,-32768, 108, 2808, 3200,-32768, 28, 3200,-32768,-32768,-32768,-32768, 892, -32768,-32768,-32768,-32768,-32768, 108, 2903,-32768, 582,-32768, 181, 181, 576,-32768,-32768, 181, 593,-32768,-32768, 408, 605,-32768,-32768, 582,-32768,-32768, 2903,-32768,-32768, 550, 3200, 600,-32768, 331,-32768, 103, 408, 3200, 521,-32768, -32768, 521,-32768,-32768,-32768, 629, 521,-32768, 550,-32768, -32768, 108, 2903, 3200, 336, 634, 3200, 584, 597, 3200, 584,-32768, 601,-32768,-32768,-32768, 639, 632, 596, 615, 596, 613, 596, 3200,-32768, 644, 648, 337, 3200, 608, 49, 623,-32768, 608,-32768,-32768,-32768,-32768, 652, 3200, 625, 49, 651, 50,-32768, 653, 631,-32768, 627,-32768, 658,-32768, 63,-32768, 272, 49,-32768, 208, 642,-32768, -32768, 49,-32768,-32768, 660,-32768, 222, 222,-32768, 419, 666,-32768, 661,-32768,-32768, 668,-32768, 41, 222,-32768, 316, 432, 468,-32768, 666,-32768,-32768, 426,-32768, 430, -32768,-32768, 670, 676,-32768 }; static const short yypgoto[] = { -32768,-32768,-32768,-32768,-32768, 595,-32768,-32768, 678, 677, -32768,-32768,-32768, 307, 679,-32768,-32768, 610, 612, 616, -32768, -121,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 580, -32768, -6,-32768, 585,-32768, 461,-32768, 451, 452,-32768, -32768, 471, -108, 478, -188,-32768, 232,-32768, -458,-32768, 127, -473, 175, -169, 142, 137, 206, -206, 120,-32768, -180,-32768,-32768, -507,-32768, -190, -230, -318,-32768,-32768, -32768,-32768,-32768, 381,-32768,-32768, -89,-32768,-32768,-32768, -3, -18,-32768, 32,-32768,-32768, 407, 476, 68,-32768, -32768, 56,-32768, -93, -127, 344, 398, -187, 257, -182, -213, -101, 511, 30, -267, 603, -137,-32768, 586,-32768, -32768,-32768, -531, -204, -254,-32768, 105, -46, 466,-32768, -32768, -278, 455,-32768,-32768, 472, -265, -205,-32768,-32768, -372,-32768, -303,-32768,-32768, 242, 7, -23, -38, 423, 656, -377, 19, 531 }; #define YYLAST 3340 static const short yytable[] = { 118, 100, 103, 113, 196, 252, 413, 148, 141, 15, 19, 296, 186, 271, 296, 15, 209, 211, 112, 198, 275, 120, 395, 19, 391, 379, 341, 343, 389, 203, 117, 497, 2, 132, 385, 107, 101, 320, 399, 400, 324, 245, 391, 110, 670, 445, 595, 208, 219, 221, 391, 124, 545, 336, 442, 510, 643, 644, 645, 631, 102, 126, 151, 127, 180, 606, 426, 563, 611, 643, 651, 645, 361, 462, 632, 129, 381, 137, 673, 570, 371, 443, 151, 129, 129, 646, 526, 628, 140, 151, 3, 381, 330, 587, 581, 333, 142, 546, 640, 151, 652, 104, 151, 350, 263, 151, 151, 175, 219, 221, 219, 221, 15, 633, -55, 351, 19, 108, 488, 602, 180, 471, 100, 484, 642, 117, 105, 359, 518, 519, 469, 217, 218, 131, 592, 100, 100, 485, 655, 8, 178, 345, 109, 341, 343, 498, 327, 392, 469, 593, 564, 220, 218, 393, 328, 347, 9, 101, 276, 151, 469, 10, 152, 19, 431, 248, 435, 235, 437, 227, 101, 101, 228, 579, 580, 222, 151, 180, 277, 11, 112, 102, 472, 475, 483, 9, 271, 344, 218, 531, 10, 180, 180, 542, 102, 102, 232, 494, 180, 153, 514, 9, 9, 213, 402, 403, 10, 116, 154, 501, 418, 656, 541, 318, 429, 164, 151, 533, 657, 404, 175, 405, 406, 407, 408, 656, 341, 167, 214, 209, 211, 409, 657, 632, 175, 175, 156, 331, 332, 181, 345, 157, 345, 350, 327, 658, 256, 632, 283, 284, 285, 286, 328, 178, 183, 351, 396, 585, 219, 441, 513, 528, 283, 284, 285, 286, -101, 178, 178, 374, 374, 214, 318, 263, 178, 661, -405, 569, 279, 280, 151, 457, 631, 412, 661, 661, 402, 403, 9, 264, 164, -101, 215, 282, 281, 274, 661, 632, 661, 661, 661, 404, 167, 405, 406, 407, 408, 653, 283, 284, 285, 286, 209, 409, 214, 185, 588, 327, 151, 151, 214, 503, 287, 188, 523, 328, 657, 289, 151, 464, 571, 159, 217, 218, 160, 483, 151, 441, 590, 161, 162, 632, 163, 604, 627, 468, 214, 189, 9, 524, 164, 489, 490, 10, 165, 166, 283, 284, 285, 286, 439, 190, 167, 591, 357, 218, 239, 168, 214, 539, 240, 218, 374, 199, 374, 290, 291, 159, 16, 131, 160, -248, 292, 169, 474, 112, 356, 200, 9, 603, 357, 218, 279, 10, 531, 555, 558, 223, 556, 532, 358, 151, 9, 483, 621, 131, 623, 282, 491, 624, 495, 496, 598, 224, 143, 491, 539, 600, 144, 220, 218, 540, 283, 284, 285, 286, 666, 667, 145, 531, 234, 562, 318, 131, 544, 656, 287, 516, 674, 491, 675, 289, 657, 459, 65, 459, 67, 236, 69, 70, 15, 668, 72, 73, 74, 75, 669, 632, 668, 78, 79, 538, 668, 680, 344, 218, 584, 681, 594, 676, 491, 656, 283, 284, 285, 286, 112, 237, 657, 440, 218, 677, 679, 133, 135, 238, 151, 210, 212, 290, 291, 468, 244, 632, 338, 340, 292, 486, 487, 134, 136, 246, 247, 215, 249, 678, 257, 575, 283, 284, 285, 286, 258, 259, 559, 65, 260, 67, 265, 69, 70, 151, 272, 72, 73, 74, 75, 568, 273, 334, 78, 79, 335, 353, 491, 326, 112, 159, 151, 355, 160, 354, 364, 576, 365, 229, 230, 366, 163, 582, 369, 372, 373, 575, 384, 386, 164, 491, 491, 387, 231, 388, 15, 568, 391, 414, 401, 415, 167, 416, 417, 449, 450, 168, 419, 420, 454, 421, 422, 423, 424, 427, 636, 425, 434, 428, 452, 432, 520, 568, 504, -406, 461, 636, 453, 505, 463, 635, 527, 554, 583, 549, 529, 530, 112, 552, 636, 636, 635, 663, 507, 534, 535, 636, 536, 537, 550, 506, 663, 663, 543, 635, 635, 551, 553, 665, 281, 596, 635, 561, 663, 577, 663, 663, 663, 159, 545, 589, 160, 599, 21, 605, 279, 280, 609, 607, 614, 613, 618, 620, 622, 625, 473, 281, 164, 626, 629, 282, 637, 639, 641, -407, 649, 647, 648, 650, 167, 664, 645, 670, 683, 671, 283, 284, 285, 286, 684, 615, 672, 7, 455, 85, 139, 87, 325, 155, 287, 288, 337, 322, 339, 289, 278, 525, 158, 616, 477, 478, 479, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 601, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 193, 62, 194, 586, 290, 291, 195, 612, 638, 617, 572, 292, 448, 65, 377, 67, 68, 69, 70, 438, 348, 72, 73, 74, 75, 76, 410, 77, 78, 79, 159, 394, 390, 160, 233, 21, 565, 279, 280, 184, 349, 0, 0, 0, 0, 0, 0, 473, 281, 164, 0, 0, 282, 0, 0, 0, 0, 0, 0, 0, 0, 167, 0, 0, 0, 0, 0, 283, 284, 285, 286, 476, 0, 0, 0, 0, 0, 329, 0, 0, 0, 287, 288, 0, 0, 0, 289, 0, 0, 0, 0, 477, 478, 479, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 0, 0, 290, 291, 0, 0, 0, 0, 0, 292, 0, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 159, 0, 0, 160, 0, 21, 0, 279, 280, 0, 0, 0, 0, 0, 0, 0, 0, 473, 281, 164, 0, 0, 282, 0, 0, 0, 0, 0, 0, 0, 0, 167, 0, 0, 0, 0, 0, 283, 284, 285, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 287, 288, 0, 0, 0, 289, 0, 0, 0, 0, 477, 478, 479, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 0, 0, 290, 291, 0, 0, 0, 0, 0, 292, 0, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 159, 0, 0, 160, 0, 21, 0, 279, 280, 0, 0, 0, 0, 0, 0, 0, 0, 473, 281, 164, 0, 0, 282, 0, 0, 0, 0, 0, 0, 0, 0, 167, 0, 0, 0, 0, 0, 283, 284, 285, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 287, 288, 0, 0, 0, 289, 0, 0, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 0, 0, 290, 291, 0, 0, 0, 0, 0, 292, 0, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 159, 0, 0, 160, 0, 21, 0, 0, 161, 162, 0, 163, 0, 0, 0, 0, 0, 22, 0, 164, 0, 0, 0, 165, 166, 0, 0, 0, 0, 0, 0, 167, 0, 0, 0, 0, 168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 170, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 24, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 26, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0, 62, 0, 0, 0, 0, 63, 0, 21, 0, 64, 0, 3, 65, 66, 67, 68, 69, 70, 71, 22, 72, 73, 74, 75, 76, 0, 77, 78, 79, 80, 81, 82, 83, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 24, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 26, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 63, 0, 0, 0, 64, 0, 22, 65, 66, 67, 68, 69, 70, 71, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 80, 81, 82, 83, 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 26, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0, 62, 0, 0, 0, 0, 0, 21, 0, 0, 64, 0, 0, 65, 66, 67, 68, 69, 70, 22, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 80, 81, 82, 83, 557, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 439, 62, 21, 0, 357, 218, 0, 0, 0, 0, 0, 0, 0, 65, 22, 67, 68, 69, 70, 131, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 0, 81, 82, 83, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 239, 62, 21, 0, 240, 218, 0, 0, 0, 0, 0, 0, 0, 65, 22, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 250, 77, 78, 79, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 250, 77, 78, 79, 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, 314, 315, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 22, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 0, 319, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 22, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 250, 77, 78, 79, 0, 323, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 22, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 250, 77, 78, 79, 0, 430, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 22, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 250, 77, 78, 79, 0, 512, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 250, 77, 78, 79, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 250, 77, 78, 79, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 65, 0, 67, 68, 69, 70, 0, 267, 72, 73, 74, 75, 76, 0, 77, 78, 79, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 65, 0, 67, 68, 69, 70, 22, 0, 72, 73, 74, 75, 76, 436, 77, 78, 79, 0, 0, 0, 0, 458, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 65, 0, 67, 68, 69, 70, 22, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 0, 0, 0, 0, 460, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 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, 566, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 21, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 111, 57, 58, 59, 60, 61, 0, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 67, 68, 69, 70, 0, 0, 72, 73, 74, 75, 76, 0, 77, 78, 79, 159, 0, 0, 160, 0, 0, 0, 279, 280, 0, 0, 0, 0, 0, 0, 0, 0, 9, 281, 164, 350, 0, 282, 0, 0, 0, 159, 0, 0, 160, 0, 167, 351, 279, 280, 0, 0, 283, 284, 285, 286, 0, 0, 9, 281, 164, 0, 0, 282, 0, 0, 287, 288, 0, 0, 0, 289, 167, 0, 321, 0, 0, 0, 283, 284, 285, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 159, 287, 288, 160, 0, 0, 289, 279, 280, 0, 0, 0, 0, 0, 0, 0, 0, 9, 281, 164, 0, 0, 282, 0, 0, 0, 0, 0, 290, 291, 0, 167, 0, 380, 0, 292, 0, 283, 284, 285, 286, 159, 0, 0, 160, 0, 0, 0, 279, 280, 0, 287, 288, 0, 290, 291, 289, 0, 9, 281, 164, 292, 0, 282, 0, 0, 0, 0, 0, 0, 0, 0, 167, 0, 493, 0, 0, 0, 283, 284, 285, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 159, 287, 288, 160, 0, 0, 289, 279, 280, 0, 0, 0, 0, 290, 291, 0, 0, 9, 281, 164, 292, 0, 282, 0, 0, 0, 159, 0, 0, 160, 0, 167, 0, 279, 280, 0, 0, 283, 284, 285, 286, 0, 0, 9, 0, 164, 0, 0, 282, 0, 0, 287, 288, 0, 290, 291, 289, 167, 0, 0, 0, 292, 0, 283, 284, 285, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 287, 0, 0, 0, 0, 289, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 291, 0, 0, 0, 0, 0, 292 }; static const short yycheck[] = { 23, 4, 8, 21, 125, 185, 309, 100, 97, 2, 3, 215, 120, 200, 218, 8, 143, 144, 21, 127, 208, 24, 300, 16, 14, 279, 239, 240, 295, 137, 23, 408, 57, 71, 288, 16, 4, 217, 303, 304, 220, 178, 14, 10, 3, 363, 577, 140, 149, 150, 14, 62, 60, 235, 7, 432, 6, 7, 8, 10, 4, 64, 100, 66, 110, 596, 333, 525, 599, 6, 7, 8, 254, 37, 25, 68, 280, 80, 37, 51, 267, 34, 120, 76, 77, 35, 463, 618, 91, 127, 115, 295, 229, 566, 552, 232, 99, 105, 629, 137, 37, 7, 140, 23, 197, 143, 144, 110, 209, 210, 211, 212, 105, 620, 97, 35, 109, 7, 396, 592, 166, 111, 125, 390, 631, 118, 32, 254, 446, 447, 384, 10, 11, 25, 31, 138, 139, 391, 645, 3, 110, 242, 32, 356, 357, 410, 24, 33, 402, 46, 527, 10, 11, 39, 32, 244, 20, 125, 37, 197, 414, 25, 7, 156, 344, 183, 354, 170, 355, 162, 138, 139, 165, 550, 551, 156, 214, 223, 37, 43, 183, 125, 386, 387, 388, 20, 373, 10, 11, 32, 25, 237, 238, 36, 138, 139, 166, 402, 244, 7, 35, 20, 20, 7, 11, 12, 25, 25, 3, 414, 318, 3, 490, 216, 37, 22, 254, 471, 10, 26, 223, 28, 29, 30, 31, 3, 439, 34, 32, 356, 357, 38, 10, 25, 237, 238, 32, 230, 231, 6, 341, 37, 343, 23, 24, 37, 7, 25, 40, 41, 42, 43, 32, 223, 31, 35, 302, 560, 359, 360, 440, 465, 40, 41, 42, 43, 7, 237, 238, 272, 273, 32, 275, 366, 244, 647, 10, 531, 10, 11, 318, 374, 10, 10, 656, 657, 11, 12, 20, 7, 22, 32, 33, 25, 21, 7, 668, 25, 670, 671, 672, 26, 34, 28, 29, 30, 31, 35, 40, 41, 42, 43, 439, 38, 32, 10, 570, 24, 356, 357, 32, 7, 54, 112, 7, 32, 10, 59, 366, 36, 534, 3, 10, 11, 6, 539, 374, 438, 7, 11, 12, 25, 14, 7, 7, 383, 32, 112, 20, 32, 22, 397, 398, 25, 26, 27, 40, 41, 42, 43, 6, 97, 34, 32, 10, 11, 6, 39, 32, 32, 10, 11, 375, 34, 377, 107, 108, 3, 10, 25, 6, 34, 114, 55, 387, 388, 6, 10, 20, 593, 10, 11, 10, 25, 32, 32, 517, 10, 35, 37, 20, 439, 20, 607, 610, 25, 612, 25, 401, 613, 403, 404, 581, 27, 6, 408, 32, 586, 10, 10, 11, 37, 40, 41, 42, 43, 656, 657, 20, 32, 27, 524, 435, 25, 37, 3, 54, 443, 668, 432, 670, 59, 10, 375, 116, 377, 118, 37, 120, 121, 443, 32, 124, 125, 126, 127, 37, 25, 32, 131, 132, 479, 32, 37, 10, 11, 559, 37, 576, 37, 463, 3, 40, 41, 42, 43, 479, 32, 10, 10, 11, 671, 672, 76, 77, 32, 524, 143, 144, 107, 108, 529, 53, 25, 237, 238, 114, 392, 393, 76, 77, 27, 6, 33, 7, 37, 20, 545, 40, 41, 42, 43, 20, 112, 517, 116, 112, 118, 25, 120, 121, 559, 34, 124, 125, 126, 127, 530, 34, 27, 131, 132, 111, 8, 527, 36, 539, 3, 576, 32, 6, 37, 20, 546, 20, 11, 12, 32, 14, 555, 32, 37, 32, 591, 10, 10, 22, 550, 551, 10, 26, 10, 555, 566, 14, 10, 31, 7, 34, 7, 34, 7, 34, 39, 37, 36, 7, 37, 37, 27, 27, 27, 620, 36, 27, 37, 25, 31, 58, 592, 27, 10, 34, 631, 35, 27, 31, 620, 31, 7, 7, 27, 32, 31, 607, 34, 644, 645, 631, 647, 37, 32, 37, 651, 37, 37, 26, 51, 656, 657, 37, 644, 645, 32, 37, 648, 21, 106, 651, 35, 668, 49, 670, 671, 672, 3, 60, 37, 6, 10, 8, 7, 10, 11, 47, 61, 7, 46, 52, 34, 37, 7, 20, 21, 22, 7, 48, 25, 35, 7, 35, 10, 35, 10, 33, 7, 34, 25, 8, 3, 0, 10, 40, 41, 42, 43, 0, 45, 10, 1, 373, 4, 87, 4, 223, 105, 54, 55, 237, 218, 238, 59, 214, 461, 109, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 591, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 125, 104, 125, 563, 107, 108, 125, 600, 623, 607, 539, 114, 366, 116, 273, 118, 119, 120, 121, 356, 244, 124, 125, 126, 127, 128, 306, 130, 131, 132, 3, 300, 295, 6, 166, 8, 529, 10, 11, 118, 244, -1, -1, -1, -1, -1, -1, 20, 21, 22, -1, -1, 25, -1, -1, -1, -1, -1, -1, -1, -1, 34, -1, -1, -1, -1, -1, 40, 41, 42, 43, 44, -1, -1, -1, -1, -1, 226, -1, -1, -1, 54, 55, -1, -1, -1, 59, -1, -1, -1, -1, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, 107, 108, -1, -1, -1, -1, -1, 114, -1, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, 3, -1, -1, 6, -1, 8, -1, 10, 11, -1, -1, -1, -1, -1, -1, -1, -1, 20, 21, 22, -1, -1, 25, -1, -1, -1, -1, -1, -1, -1, -1, 34, -1, -1, -1, -1, -1, 40, 41, 42, 43, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 54, 55, -1, -1, -1, 59, -1, -1, -1, -1, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, 107, 108, -1, -1, -1, -1, -1, 114, -1, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, 3, -1, -1, 6, -1, 8, -1, 10, 11, -1, -1, -1, -1, -1, -1, -1, -1, 20, 21, 22, -1, -1, 25, -1, -1, -1, -1, -1, -1, -1, -1, 34, -1, -1, -1, -1, -1, 40, 41, 42, 43, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 54, 55, -1, -1, -1, 59, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, 107, 108, -1, -1, -1, -1, -1, 114, -1, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, 3, -1, -1, 6, -1, 8, -1, -1, 11, 12, -1, 14, -1, -1, -1, -1, -1, 20, -1, 22, -1, -1, -1, 26, 27, -1, -1, -1, -1, -1, -1, 34, -1, -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 48, -1, 50, -1, -1, -1, -1, -1, 56, -1, -1, -1, -1, -1, 62, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, -1, -1, 109, -1, 8, -1, 113, -1, 115, 116, 117, 118, 119, 120, 121, 122, 20, 124, 125, 126, 127, 128, -1, 130, 131, 132, 133, 134, 135, 136, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 48, -1, 50, -1, -1, -1, -1, -1, 56, -1, -1, -1, -1, -1, 62, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, 109, -1, -1, -1, 113, -1, 20, 116, 117, 118, 119, 120, 121, 122, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, 133, 134, 135, 136, -1, -1, -1, -1, -1, -1, -1, -1, 50, -1, -1, -1, -1, -1, 56, -1, -1, -1, -1, -1, 62, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, -1, -1, -1, 8, -1, -1, 113, -1, -1, 116, 117, 118, 119, 120, 121, 20, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, 133, 134, 135, 136, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 6, 104, 8, -1, 10, 11, -1, -1, -1, -1, -1, -1, -1, 116, 20, 118, 119, 120, 121, 25, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, -1, 134, 135, 136, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 6, 104, 8, -1, 10, 11, -1, -1, -1, -1, -1, -1, -1, 116, 20, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, 20, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, -1, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, 20, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, 20, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, 20, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 116, -1, 118, 119, 120, 121, -1, 123, 124, 125, 126, 127, 128, -1, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, -1, -1, -1, 8, -1, -1, -1, -1, -1, 116, -1, 118, 119, 120, 121, 20, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, -1, -1, -1, 8, -1, -1, -1, -1, -1, 116, -1, 118, 119, 120, 121, 20, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, -1, -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 8, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, -1, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, -1, 104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, -1, 118, 119, 120, 121, -1, -1, 124, 125, 126, 127, 128, -1, 130, 131, 132, 3, -1, -1, 6, -1, -1, -1, 10, 11, -1, -1, -1, -1, -1, -1, -1, -1, 20, 21, 22, 23, -1, 25, -1, -1, -1, 3, -1, -1, 6, -1, 34, 35, 10, 11, -1, -1, 40, 41, 42, 43, -1, -1, 20, 21, 22, -1, -1, 25, -1, -1, 54, 55, -1, -1, -1, 59, 34, -1, 36, -1, -1, -1, 40, 41, 42, 43, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 54, 55, 6, -1, -1, 59, 10, 11, -1, -1, -1, -1, -1, -1, -1, -1, 20, 21, 22, -1, -1, 25, -1, -1, -1, -1, -1, 107, 108, -1, 34, -1, 36, -1, 114, -1, 40, 41, 42, 43, 3, -1, -1, 6, -1, -1, -1, 10, 11, -1, 54, 55, -1, 107, 108, 59, -1, 20, 21, 22, 114, -1, 25, -1, -1, -1, -1, -1, -1, -1, -1, 34, -1, 36, -1, -1, -1, 40, 41, 42, 43, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 54, 55, 6, -1, -1, 59, 10, 11, -1, -1, -1, -1, 107, 108, -1, -1, 20, 21, 22, 114, -1, 25, -1, -1, -1, 3, -1, -1, 6, -1, 34, -1, 10, 11, -1, -1, 40, 41, 42, 43, -1, -1, 20, -1, 22, -1, -1, 25, -1, -1, 54, 55, -1, 107, 108, 59, 34, -1, -1, -1, 114, -1, 40, 41, 42, 43, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 54, -1, -1, -1, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 107, 108, -1, -1, -1, -1, -1, 114, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 107, 108, -1, -1, -1, -1, -1, 114 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ /* Skeleton output parser for 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. */ /* This is the parser code that is written into each bison parser when the %semantic_parser declaration is not specified in the grammar. It was written by Richard Stallman by simplifying the hairy parser used when %semantic_parser is specified. */ /* 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. */ #if ! defined (yyoverflow) || defined (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) || defined (YYERROR_VERBOSE) */ #if (! defined (yyoverflow) \ && (! defined (__cplusplus) \ || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { short yyss; YYSTYPE yyvs; # if YYLSP_NEEDED YYLTYPE yyls; # endif }; /* The size of the maximum gap between one aligned stack and the next. */ # define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) /* The size of an array large to enough to hold all stacks, each with N elements. */ # if YYLSP_NEEDED # define YYSTACK_BYTES(N) \ ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ + 2 * YYSTACK_GAP_MAX) # else # define YYSTACK_BYTES(N) \ ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAX) # endif /* 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_MAX; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (0) #endif #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); \ yychar1 = 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). When YYLLOC_DEFAULT is run, CURRENT is set the location of the first token. By default, to implement support for ranges, extend its range to the last symbol. */ #ifndef YYLLOC_DEFAULT # define YYLLOC_DEFAULT(Current, Rhs, N) \ Current.last_line = Rhs[N].last_line; \ Current.last_column = Rhs[N].last_column; #endif /* YYLEX -- calling `yylex' with the right arguments. */ #if YYPURE # if YYLSP_NEEDED # ifdef YYLEX_PARAM # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) # else # define YYLEX yylex (&yylval, &yylloc) # endif # else /* !YYLSP_NEEDED */ # ifdef YYLEX_PARAM # define YYLEX yylex (&yylval, YYLEX_PARAM) # else # define YYLEX yylex (&yylval) # endif # endif /* !YYLSP_NEEDED */ #else /* !YYPURE */ # define YYLEX yylex () #endif /* !YYPURE */ /* 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) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ int yydebug; #else /* !YYDEBUG */ # define YYDPRINTF(Args) #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 #ifdef 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 /* The user can define YYPARSE_PARAM as the name of an argument to be passed into yyparse. The argument should have type void *. It should actually point to an object. Grammar actions can access the variable by casting it to the proper pointer type. */ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) # define YYPARSE_PARAM_ARG void *YYPARSE_PARAM # define YYPARSE_PARAM_DECL # else # define YYPARSE_PARAM_ARG YYPARSE_PARAM # define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; # endif #else /* !YYPARSE_PARAM */ # define YYPARSE_PARAM_ARG # define YYPARSE_PARAM_DECL #endif /* !YYPARSE_PARAM */ /* Prevent warning if -Wstrict-prototypes. */ #ifdef __GNUC__ # ifdef YYPARSE_PARAM int yyparse (void *); # else int yyparse (void); # endif #endif /* YY_DECL_VARIABLES -- depending whether we use a pure parser, variables are global, or local to YYPARSE. */ #define YY_DECL_NON_LSP_VARIABLES \ /* The lookahead symbol. */ \ int yychar; \ \ /* The semantic value of the lookahead symbol. */ \ YYSTYPE yylval; \ \ /* Number of parse errors so far. */ \ int yynerrs; #if YYLSP_NEEDED # define YY_DECL_VARIABLES \ YY_DECL_NON_LSP_VARIABLES \ \ /* Location data for the lookahead symbol. */ \ YYLTYPE yylloc; #else # define YY_DECL_VARIABLES \ YY_DECL_NON_LSP_VARIABLES #endif /* If nonreentrant, generate the variables here. */ #if !YYPURE YY_DECL_VARIABLES #endif /* !YYPURE */ int yyparse (YYPARSE_PARAM_ARG) YYPARSE_PARAM_DECL { /* If reentrant, generate the variables here. */ #if YYPURE YY_DECL_VARIABLES #endif /* !YYPURE */ 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 yychar1 = 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; #if YYLSP_NEEDED /* The location stack. */ YYLTYPE yylsa[YYINITDEPTH]; YYLTYPE *yyls = yylsa; YYLTYPE *yylsp; #endif #if YYLSP_NEEDED # define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) #else # define YYPOPSTACK (yyvsp--, yyssp--) #endif YYSIZE_T yystacksize = YYINITDEPTH; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; #if YYLSP_NEEDED YYLTYPE yyloc; #endif /* 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; #if YYLSP_NEEDED yylsp = yyls; #endif 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 (yyssp >= yyss + yystacksize - 1) { /* 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. */ # if YYLSP_NEEDED YYLTYPE *yyls1 = yyls; /* 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), &yyls1, yysize * sizeof (*yylsp), &yystacksize); yyls = yyls1; # else yyoverflow ("parser stack overflow", &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yystacksize); # endif yyss = yyss1; yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE goto yyoverflowlab; # else /* Extend the stack our own way. */ if (yystacksize >= YYMAXDEPTH) goto yyoverflowlab; yystacksize *= 2; if (yystacksize > YYMAXDEPTH) 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); # if YYLSP_NEEDED YYSTACK_RELOCATE (yyls); # endif # undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; #if YYLSP_NEEDED yylsp = yyls + yysize - 1; #endif YYDPRINTF ((stderr, "Stack size increased to %lu\n", (unsigned long int) yystacksize)); if (yyssp >= yyss + yystacksize - 1) 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 == YYFLAG) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* yychar is either YYEMPTY or YYEOF or a valid token in external form. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } /* Convert token to internal form (in yychar1) for indexing tables with */ if (yychar <= 0) /* This means end of input. */ { yychar1 = 0; yychar = YYEOF; /* Don't call YYLEX any more */ YYDPRINTF ((stderr, "Now at end of input.\n")); } else { yychar1 = YYTRANSLATE (yychar); #if YYDEBUG /* We have to keep this `#if YYDEBUG', since we use variables which are defined only if `YYDEBUG' is set. */ if (yydebug) { YYFPRINTF (stderr, "Next token is %d (%s", yychar, yytname[yychar1]); /* Give the individual parser a way to print the precise meaning of a token, for further debugging info. */ # ifdef YYPRINT YYPRINT (stderr, yychar, yylval); # endif YYFPRINTF (stderr, ")\n"); } #endif } yyn += yychar1; if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) goto yydefault; yyn = yytable[yyn]; /* yyn is what to do for this token type in this state. Negative => reduce, -yyn is rule number. Positive => shift, yyn is new state. New state is final state => don't bother to shift, just return success. 0, or most negative number => error. */ if (yyn < 0) { if (yyn == YYFLAG) goto yyerrlab; yyn = -yyn; goto yyreduce; } else if (yyn == 0) goto yyerrlab; if (yyn == YYFINAL) YYACCEPT; /* Shift the lookahead token. */ YYDPRINTF ((stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1])); /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; #if YYLSP_NEEDED *++yylsp = yylloc; #endif /* 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 the semantic value of the lookahead token. 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]; #if YYLSP_NEEDED /* Similarly for the default location. Let the user run additional commands if for instance locations are ranges. */ yyloc = yylsp[1-yylen]; YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); #endif #if YYDEBUG /* We have to keep this `#if YYDEBUG', since we use variables which are defined only if `YYDEBUG' is set. */ if (yydebug) { int yyi; YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", yyn, yyrline[yyn]); /* Print the symbols being reduced, and their result. */ for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++) YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); } #endif switch (yyn) { case 1: { lhExternals (yyvsp[0].interfacelist); ; break;} case 2: { interfaceNodeList_free (yyvsp[-2].interfacelist); interfaceNodeList_free (yyvsp[0].interfacelist); ; break;} case 3: { yyval.interfacelist = interfaceNodeList_new (); ; break;} case 4: { yyval.interfacelist = interfaceNodeList_addh (yyvsp[-1].interfacelist, yyvsp[0].iface);; break;} case 7: { yyval.interfacelist = interfaceNodeList_new (); ; break;} case 8: { yyval.interfacelist = consInterfaceNode (yyvsp[-1].iface, yyvsp[0].interfacelist);; break;} case 9: { yyval.interfacelist = consInterfaceNode (yyvsp[-1].iface, yyvsp[0].interfacelist);; break;} case 10: { yyval.interfacelist = interfaceNodeList_new (); ; break;} case 11: { yyval.interfacelist = interfaceNodeList_addh (yyvsp[-1].interfacelist, yyvsp[0].iface);; break;} case 15: { yyval.iface = makeInterfaceNodeImports (yyvsp[-1].importlist); /* assume subspecs are already processed, symbol table info in external file */ ; break;} case 16: { yyval.iface = makeInterfaceNodeUses (yyvsp[-1].traitreflist); readlsignatures (yyval.iface);; break;} case 17: { declareConstant (yyvsp[0].constdeclaration); yyval.iface = interfaceNode_makeConst (yyvsp[0].constdeclaration); ; break;} case 18: { declareVar (yyvsp[0].vardeclaration); yyval.iface = interfaceNode_makeVar (yyvsp[0].vardeclaration); ; break;} case 19: { declareType (yyvsp[0].type); yyval.iface = interfaceNode_makeType (yyvsp[0].type); ; break;} case 20: { declareFcn (yyvsp[0].fcn, typeId_invalid); yyval.iface = interfaceNode_makeFcn (yyvsp[0].fcn); ; break;} case 21: { yyval.iface = interfaceNode_makeClaim (yyvsp[0].claim); ; break;} case 22: { declareIter (yyvsp[0].iter); yyval.iface = interfaceNode_makeIter (yyvsp[0].iter); ; break;} case 23: { yyval.iter = makeIterNode (yyvsp[-4].ltok, yyvsp[-2].paramlist); ; break;} case 24: { yyval.paramlist = paramNodeList_new (); ; break;} case 25: { yyval.paramlist = yyvsp[0].paramlist; ; break;} case 26: { yyval.paramlist = paramNodeList_add (paramNodeList_new (), yyvsp[0].param); ; break;} case 27: { yyval.paramlist = paramNodeList_add (yyvsp[-2].paramlist,yyvsp[0].param); ; break;} case 28: { yyval.param = markYieldParamNode (yyvsp[0].param); ; break;} case 29: { yyval.param = yyvsp[0].param; ; break;} case 30: { symtable_export (g_symtab, FALSE); ; break;} case 31: { yyval.iface = yyvsp[0].iface; symtable_export (g_symtab, TRUE); ; break;} case 32: { declarePrivConstant (yyvsp[0].constdeclaration); yyval.iface = interfaceNode_makePrivConst (yyvsp[0].constdeclaration); ; break;} case 33: { declarePrivVar (yyvsp[0].vardeclaration); yyval.iface = interfaceNode_makePrivVar (yyvsp[0].vardeclaration); ; break;} case 34: { declarePrivType (yyvsp[0].type); yyval.iface = interfaceNode_makePrivType (yyvsp[0].type); ; break;} case 35: { declarePrivFcn (yyvsp[0].fcn, typeId_invalid); yyval.iface = interfaceNode_makePrivFcn (yyvsp[0].fcn); ; break;} case 36: { yyval.constdeclaration = makeConstDeclarationNode (yyvsp[-2].lcltypespec, yyvsp[-1].initdecls); ; break;} case 37: { yyval.vardeclaration = makeVarDeclarationNode (yyvsp[-2].lcltypespec, yyvsp[-1].initdecls, FALSE, FALSE); yyval.vardeclaration->qualifier = QLF_NONE; ; break;} case 38: { yyval.vardeclaration = makeVarDeclarationNode (yyvsp[-2].lcltypespec, yyvsp[-1].initdecls, FALSE, FALSE); yyval.vardeclaration->qualifier = QLF_CONST; ; break;} case 39: { yyval.vardeclaration = makeVarDeclarationNode (yyvsp[-2].lcltypespec, yyvsp[-1].initdecls, FALSE, FALSE); yyval.vardeclaration->qualifier = QLF_VOLATILE; ; break;} case 40: { yyval.type = makeAbstractTypeNode (yyvsp[0].abstract); ; break;} case 41: { yyval.type = makeExposedTypeNode (yyvsp[0].exposed); ; break;} case 42: { yyval.typequal = qual_createPrintfLike (); ; break;} case 43: { yyval.typequal = qual_createScanfLike (); ; break;} case 44: { yyval.typequal = qual_createMessageLike (); ; break;} case 45: { enteringFcnScope (yyvsp[-2].lcltypespec, yyvsp[-1].declare, yyvsp[0].globals); ; break;} case 46: { yyval.fcn = makeFcnNode (qual_createUnknown (), yyvsp[-12].lcltypespec, yyvsp[-11].declare, yyvsp[-10].globals, yyvsp[-7].vardeclarationlist, yyvsp[-6].letdecls, yyvsp[-5].lclpredicate, yyvsp[-4].lclpredicate, yyvsp[-3].modify, yyvsp[-2].lclpredicate, yyvsp[-1].lclpredicate); /* type, declarator, glovbls, privateinits, lets, checks, requires, modifies, ensures, claims */ symtable_exitScope (g_symtab); ; break;} case 47: { enteringFcnScope (yyvsp[-2].lcltypespec, yyvsp[-1].declare, yyvsp[0].globals); ; break;} case 48: { yyval.fcn = makeFcnNode (yyvsp[-13].typequal, yyvsp[-12].lcltypespec, yyvsp[-11].declare, yyvsp[-10].globals, yyvsp[-7].vardeclarationlist, yyvsp[-6].letdecls, yyvsp[-5].lclpredicate, yyvsp[-4].lclpredicate, yyvsp[-3].modify, yyvsp[-2].lclpredicate, yyvsp[-1].lclpredicate); /* type, declarator, glovbls, privateinits, lets, checks, requires, modifies, ensures, claims */ symtable_exitScope (g_symtab); ; break;} case 49: { enteringClaimScope (yyvsp[-2].paramlist, yyvsp[0].globals); ; break;} case 50: { yyval.claim = makeClaimNode (yyvsp[-11].ltok, yyvsp[-9].paramlist, yyvsp[-7].globals, yyvsp[-4].letdecls, yyvsp[-3].lclpredicate, yyvsp[-2].program, yyvsp[-1].lclpredicate); symtable_exitScope (g_symtab); ; break;} case 51: { yyval.claim = (claimNode) 0; ; break;} case 52: {g_inTypeDef = TRUE; ; break;} case 53: {g_inTypeDef = FALSE; ; break;} case 54: { yyval.abstract = makeAbstractNode (yyvsp[-5].ltok, yyvsp[-2].ltok, TRUE, FALSE, yyvsp[0].abstbody); ; break;} case 55: {g_inTypeDef = TRUE; ; break;} case 56: {g_inTypeDef = FALSE; ; break;} case 57: { yyval.abstract = makeAbstractNode (yyvsp[-6].ltok, yyvsp[-2].ltok, TRUE, TRUE, yyvsp[0].abstbody); ; break;} case 58: {g_inTypeDef = TRUE; ; break;} case 59: {g_inTypeDef = FALSE; ; break;} case 60: { yyval.abstract = makeAbstractNode (yyvsp[-5].ltok, yyvsp[-2].ltok, TRUE, TRUE, yyvsp[0].abstbody); ; break;} case 61: {g_inTypeDef = TRUE; ; break;} case 62: {g_inTypeDef = FALSE; ; break;} case 63: { yyval.abstract = makeAbstractNode (yyvsp[-5].ltok, yyvsp[-2].ltok, FALSE, FALSE, yyvsp[0].abstbody); ; break;} case 64: { g_inTypeDef = TRUE; setExposedType (yyvsp[0].lcltypespec); ; break;} case 65: { g_inTypeDef = FALSE; ; break;} case 66: { yyval.exposed = makeExposedNode (yyvsp[-5].ltok, yyvsp[-4].lcltypespec, yyvsp[-2].declaratorinvs); /* to support mutually recursive types */ ; break;} case 67: { yyval.exposed = makeExposedNode (yyvsp[0].ltok, makeLclTypeSpecNodeSU (yyvsp[-1].structorunion), declaratorInvNodeList_new ()); ; break;} case 68: { yyval.exposed = makeExposedNode (yyvsp[0].ltok, makeLclTypeSpecNodeEnum (yyvsp[-1].enumspec), declaratorInvNodeList_new ()); ; break;} case 69: { yyval.importlist = importNodeList_add (importNodeList_new (), yyvsp[0].import); ; break;} case 70: { yyval.importlist = importNodeList_add (yyvsp[-2].importlist, yyvsp[0].import); ; break;} case 71: { yyval.import = importNode_makePlain (yyvsp[0].ltok); ; break;} case 72: { checkBrackets (yyvsp[-2].ltok, yyvsp[0].ltok); yyval.import = importNode_makeBracketed (yyvsp[-1].ltok); ; break;} case 73: { yyval.import = importNode_makeQuoted (yyvsp[0].ltok); ; break;} case 74: { yyval.ltokenList = ltokenList_singleton (yyvsp[0].ltok); ; break;} case 75: { yyval.ltokenList = ltokenList_push (yyvsp[-2].ltokenList, yyvsp[0].ltok); ; break;} case 77: { yyval.traitreflist = traitRefNodeList_add (traitRefNodeList_new (), yyvsp[0].traitref); ; break;} case 78: { yyval.traitreflist = traitRefNodeList_add (yyvsp[-2].traitreflist, yyvsp[0].traitref); ; break;} case 79: { yyval.traitref = makeTraitRefNode (ltokenList_singleton (yyvsp[0].ltok), (renamingNode)0); ; break;} case 80: { yyval.traitref = makeTraitRefNode (ltokenList_singleton (yyvsp[-3].ltok), yyvsp[-1].renaming); ; break;} case 81: { yyval.traitref = makeTraitRefNode (yyvsp[-1].ltokenList, (renamingNode)0); ; break;} case 82: { yyval.traitref = makeTraitRefNode (yyvsp[-4].ltokenList, yyvsp[-1].renaming); ; break;} case 83: { yyval.ltokenList = ltokenList_singleton (yyvsp[0].ltok); ; break;} case 84: { yyval.ltokenList = ltokenList_push (yyvsp[-2].ltokenList, yyvsp[0].ltok); ; break;} case 85: { yyval.renaming = makeRenamingNode (typeNameNodeList_new (), yyvsp[0].replacelist); ; break;} case 86: { yyval.renaming = makeRenamingNode (yyvsp[0].namelist, replaceNodeList_new ()); ; break;} case 87: { yyval.renaming = makeRenamingNode (yyvsp[-2].namelist, yyvsp[0].replacelist); ; break;} case 88: { yyval.namelist = typeNameNodeList_add (typeNameNodeList_new (), yyvsp[0].typname); ; break;} case 89: { yyval.namelist = typeNameNodeList_add (yyvsp[-2].namelist, yyvsp[0].typname); ; break;} case 90: { yyval.replacelist = replaceNodeList_add (replaceNodeList_new (), yyvsp[0].replace); ; break;} case 91: { yyval.replacelist = replaceNodeList_add (yyvsp[-2].replacelist, yyvsp[0].replace); ; break;} case 92: { yyval.replace = makeReplaceNode (yyvsp[-1].ltok, yyvsp[-2].typname, TRUE, yyvsp[0].ltok, NULL, NULL); ; break;} case 93: { yyval.replace = makeReplaceNameNode (yyvsp[-1].ltok, yyvsp[-2].typname, yyvsp[0].name); ; break;} case 94: { yyval.replace = makeReplaceNode (yyvsp[-2].ltok, yyvsp[-3].typname, FALSE, ltoken_undefined, yyvsp[-1].name, yyvsp[0].signature); ; break;} case 95: { yyval.name = makeNameNodeId (yyvsp[0].ltok); ; break;} case 96: { yyval.name = makeNameNodeForm (yyvsp[0].opform); ; break;} case 99: { yyval.initdecls = initDeclNodeList_add (initDeclNodeList_new (), yyvsp[0].initdecl); ; break;} case 100: { yyval.initdecls = initDeclNodeList_add (yyvsp[-2].initdecls, yyvsp[0].initdecl); ; break;} case 101: { yyval.initdecl = makeInitDeclNode (yyvsp[0].declare, (termNode)0); ; break;} case 102: { yyval.initdecl = makeInitDeclNode (yyvsp[-2].declare, yyvsp[0].term); ; break;} case 103: { yyval.globals = varDeclarationNodeList_new (); ; break;} case 104: { varDeclarationNodeList_addh (yyvsp[-1].globals, yyvsp[0].vardeclaration); yyval.globals = yyvsp[-1].globals; ; break;} case 105: { yyval.vardeclaration = makeVarDeclarationNode (yyvsp[-2].lcltypespec, yyvsp[-1].initdecls, TRUE, FALSE); ; break;} case 106: { yyval.vardeclaration = makeInternalStateNode (); ; break;} case 107: { yyval.vardeclaration = makeFileSystemNode (); ; break;} case 108: { yyval.vardeclarationlist = varDeclarationNodeList_new (); ; break;} case 109: { varDeclarationNodeList_addh (yyvsp[-1].vardeclarationlist, yyvsp[0].vardeclaration); yyval.vardeclarationlist = yyvsp[-1].vardeclarationlist; ; break;} case 110: { yyval.vardeclaration = makeVarDeclarationNode (yyvsp[-2].lcltypespec, yyvsp[-1].initdecls, FALSE, TRUE); ; break;} case 111: { yyval.letdecls = letDeclNodeList_new (); ; break;} case 112: { yyval.letdecls = yyvsp[-1].letdecls; ; break;} case 113: { yyval.letdecls = letDeclNodeList_add (letDeclNodeList_new (), yyvsp[0].letdecl); ; break;} case 114: { yyval.letdecls = letDeclNodeList_add (yyvsp[-2].letdecls, yyvsp[0].letdecl); ; break;} case 115: { yyval.letdecl = makeLetDeclNode (yyvsp[-4].ltok, yyvsp[-2].lcltypespec, yyvsp[0].term); ; break;} case 116: { yyval.letdecl = makeLetDeclNode (yyvsp[-2].ltok, (lclTypeSpecNode)0, yyvsp[0].term); ; break;} case 118: { yyval.lclpredicate = (lclPredicateNode)0; ; break;} case 119: { checkLclPredicate (yyvsp[-2].ltok, yyvsp[-1].lclpredicate); yyval.lclpredicate = makeChecksNode (yyvsp[-2].ltok, yyvsp[-1].lclpredicate); ; break;} case 120: { yyval.lclpredicate = (lclPredicateNode)0; ; break;} case 121: { checkLclPredicate (yyvsp[-2].ltok, yyvsp[-1].lclpredicate); yyval.lclpredicate = makeRequiresNode (yyvsp[-2].ltok, yyvsp[-1].lclpredicate);; break;} case 122: { yyval.modify = (modifyNode)0; ; break;} case 123: { yyval.modify = makeModifyNodeSpecial (yyvsp[-2].ltok, TRUE); ; break;} case 124: { yyval.modify = makeModifyNodeSpecial (yyvsp[-2].ltok, FALSE); ; break;} case 125: { yyval.modify = makeModifyNodeRef (yyvsp[-2].ltok, yyvsp[-1].storereflist); ; break;} case 126: { yyval.storereflist = storeRefNodeList_add (storeRefNodeList_new (), yyvsp[0].storeref); ; break;} case 127: { yyval.storereflist = storeRefNodeList_add (yyvsp[-2].storereflist, yyvsp[0].storeref); ; break;} case 128: { yyval.storeref = makeStoreRefNodeTerm (yyvsp[0].term); ; break;} case 129: { yyval.storeref = makeStoreRefNodeType (yyvsp[0].lcltypespec, FALSE); ; break;} case 130: { yyval.storeref = makeStoreRefNodeType (yyvsp[0].lcltypespec, TRUE); ; break;} case 131: { yyval.storeref = makeStoreRefNodeInternal (); ; break;} case 132: { yyval.storeref = makeStoreRefNodeSystem (); ; break;} case 133: { yyval.lclpredicate = (lclPredicateNode)0; ; break;} case 134: { checkLclPredicate (yyvsp[-2].ltok, yyvsp[-1].lclpredicate); yyval.lclpredicate = makeEnsuresNode (yyvsp[-2].ltok, yyvsp[-1].lclpredicate);; break;} case 135: { yyval.lclpredicate = (lclPredicateNode)0; ; break;} case 136: { checkLclPredicate (yyvsp[-2].ltok, yyvsp[-1].lclpredicate); yyval.lclpredicate = makeIntraClaimNode (yyvsp[-2].ltok, yyvsp[-1].lclpredicate);; break;} case 137: { yyval.paramlist = paramNodeList_new (); ; break;} case 138: { yyval.paramlist = yyvsp[0].paramlist; ; break;} case 140: { yyval.paramlist = paramNodeList_add (paramNodeList_new (), paramNode_elipsis ()); ; break;} case 141: { yyval.paramlist = paramNodeList_add (yyvsp[-2].paramlist, paramNode_elipsis ()); ; break;} case 142: { yyval.paramlist = paramNodeList_single (yyvsp[0].param); ; break;} case 143: { yyval.paramlist = paramNodeList_add (yyvsp[-2].paramlist, yyvsp[0].param); ; break;} case 144: { yyval.program = (programNode)0; ; break;} case 145: { yyval.program = yyvsp[-1].program; ; break;} case 146: { yyval.program = yyvsp[-2].program; ; break;} case 147: { yyval.program = makeProgramNode (yyvsp[0].stmt); ; break;} case 148: { yyval.program = yyvsp[-1].program; yyval.program->wrapped = yyval.program->wrapped + 1; ; break;} case 149: { programNodeList x = programNodeList_new (); programNodeList_addh (x, yyvsp[-1].program); yyval.program = makeProgramNodeAction (x, ACT_ITER); ; break;} case 150: { programNodeList x = programNodeList_new (); programNodeList_addh (x, yyvsp[-2].program); programNodeList_addh (x, yyvsp[0].program); yyval.program = makeProgramNodeAction (x, ACT_ALTERNATE); ; break;} case 151: { programNodeList x = programNodeList_new (); programNodeList_addh (x, yyvsp[-2].program); programNodeList_addh (x, yyvsp[0].program); yyval.program = makeProgramNodeAction (x, ACT_SEQUENCE); ; break;} case 152: { yyval.stmt = makeStmtNode (ltoken_undefined, yyvsp[-3].ltok, yyvsp[-1].termlist); ; break;} case 153: { yyval.stmt = makeStmtNode (ltoken_undefined, yyvsp[-2].ltok, termNodeList_new ()); ; break;} case 154: { yyval.stmt = makeStmtNode (yyvsp[-4].ltok, yyvsp[-2].ltok, termNodeList_new ()); ; break;} case 155: { yyval.stmt = makeStmtNode (yyvsp[-5].ltok, yyvsp[-3].ltok, yyvsp[-1].termlist); ; break;} case 156: { yyval.termlist = termNodeList_push (termNodeList_new (), yyvsp[0].term); ; break;} case 157: { yyval.termlist = termNodeList_push (yyvsp[-2].termlist, yyvsp[0].term); ; break;} case 159: { yyval.term = makeSimpleTermNode (yyvsp[0].ltok); ; break;} case 160: { yyval.term = makePrefixTermNode (yyvsp[-1].ltok, yyvsp[0].term); ; break;} case 161: { yyval.term = makePostfixTermNode2 (yyvsp[-1].term, yyvsp[0].ltok); ; break;} case 162: { yyval.term = makeInfixTermNode (yyvsp[-2].term, yyvsp[-1].ltok, yyvsp[0].term); ; break;} case 163: { yyval.term = yyvsp[-1].term; yyval.term->wrapped = yyval.term->wrapped + 1; ; break;} case 164: { yyval.term = makeOpCallTermNode (yyvsp[-2].ltok, yyvsp[-1].ltok, termNodeList_new (), yyvsp[0].ltok); ; break;} case 165: { yyval.term = makeOpCallTermNode (yyvsp[-3].ltok, yyvsp[-2].ltok, yyvsp[-1].termlist, yyvsp[0].ltok); ; break;} case 166: { yyval.abstbody = (abstBodyNode)0; ; break;} case 167: { yyval.abstbody = makeAbstBodyNode (yyvsp[-2].ltok, yyvsp[-1].fcns); ; break;} case 168: { yyval.abstbody = makeAbstBodyNode2 (yyvsp[-3].ltok, yyvsp[-2].ltokenList); ; break;} case 169: { yyval.abstbody = (abstBodyNode)0; ; break;} case 170: { yyval.fcns = fcnNodeList_new (); ; break;} case 171: { yyval.fcns = fcnNodeList_add (yyvsp[-1].fcns, yyvsp[0].fcn); ; break;} case 172: { yyval.lclpredicate = (lclPredicateNode)0; ; break;} case 174: { g_inTypeDef = FALSE; ; break;} case 175: { yyvsp[-1].lclpredicate->tok = yyvsp[-5].ltok; yyvsp[-1].lclpredicate->kind = LPD_CONSTRAINT; checkLclPredicate (yyvsp[-5].ltok, yyvsp[-1].lclpredicate); yyval.lclpredicate = yyvsp[-1].lclpredicate; symtable_exitScope (g_symtab); g_inTypeDef = TRUE; ; break;} case 176: { yyval.declaratorinvs = declaratorInvNodeList_add (declaratorInvNodeList_new (), yyvsp[0].declaratorinv); ; break;} case 177: { yyval.declaratorinvs = declaratorInvNodeList_add (yyvsp[-2].declaratorinvs, yyvsp[0].declaratorinv); ; break;} case 178: { declareForwardType (yyvsp[0].declare); ; break;} case 179: { yyval.declaratorinv = makeDeclaratorInvNode (yyvsp[-2].declare, yyvsp[0].abstbody); ; break;} case 180: { yyval.abstbody = (abstBodyNode)0; ; break;} case 181: { yyval.abstbody = makeExposedBodyNode (yyvsp[-2].ltok, yyvsp[-1].lclpredicate); ; break;} case 182: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_VOID, 0)); ; break;} case 183: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_CHAR, 0)); ; break;} case 184: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_DOUBLE, 0)); ; break;} case 185: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_FLOAT, 0)); ; break;} case 186: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_INT, 0)); ; break;} case 187: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_LONG, 0)); ; break;} case 188: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_SHORT, 0)); ; break;} case 189: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_SIGNED, 0)); ; break;} case 190: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_UNSIGNED, 0)); ; break;} case 191: { yyval.ltok = yyvsp[0].ltok; ltoken_setIntField (yyval.ltok, fixBits (TS_UNKNOWN, 0)); ; break;} case 192: { yyval.ctypes = makeCTypesNode ((CTypesNode)0, yyvsp[0].ltok); ; break;} case 193: { yyval.ctypes = makeCTypesNode (yyvsp[-1].ctypes, yyvsp[0].ltok); ; break;} case 194: { yyval.ctypes = makeTypeSpecifier (yyvsp[0].ltok); ; break;} case 195: { yyval.ctypes = yyvsp[0].ctypes; yyval.ctypes->sort = sort_lookupName (lclctype_toSort (yyvsp[0].ctypes->intfield)); ; break;} case 196: { yyval.typequal = qual_createOut (); ; break;} case 197: { yyval.typequal = qual_createUnused (); ; break;} case 198: { yyval.typequal = qual_createSef (); ; break;} case 199: { yyval.typequal = qual_createOnly (); ; break;} case 200: { yyval.typequal = qual_createOwned (); ; break;} case 201: { yyval.typequal = qual_createDependent (); ; break;} case 202: { yyval.typequal = qual_createKeep (); ; break;} case 203: { yyval.typequal = qual_createKept (); ; break;} case 204: { yyval.typequal = qual_createObserver (); ; break;} case 205: { yyval.typequal = qual_createExits (); ; break;} case 206: { yyval.typequal = qual_createMayExit (); ; break;} case 207: { yyval.typequal = qual_createTrueExit (); ; break;} case 208: { yyval.typequal = qual_createFalseExit (); ; break;} case 209: { yyval.typequal = qual_createNeverExit (); ; break;} case 210: { yyval.typequal = qual_createOnly (); ; break;} case 211: { yyval.typequal = qual_createShared (); ; break;} case 212: { yyval.typequal = qual_createUnique (); ; break;} case 213: { yyval.typequal = qual_createChecked (); ; break;} case 214: { yyval.typequal = qual_createUnchecked (); ; break;} case 215: { yyval.typequal = qual_createCheckedStrict (); ; break;} case 216: { yyval.typequal = qual_createTrueNull (); ; break;} case 217: { yyval.typequal = qual_createFalseNull (); ; break;} case 218: { yyval.typequal = qual_createRelNull (); ; break;} case 219: { yyval.typequal = qual_createRelDef (); ; break;} case 220: { yyval.typequal = qual_createRefCounted (); ; break;} case 221: { yyval.typequal = qual_createRefs (); ; break;} case 222: { yyval.typequal = qual_createNewRef (); ; break;} case 223: { yyval.typequal = qual_createKillRef (); ; break;} case 224: { yyval.typequal = qual_createNull (); ; break;} case 225: { yyval.typequal = qual_createNotNull (); ; break;} case 226: { yyval.typequal = qual_createReturned (); ; break;} case 227: { yyval.typequal = qual_createExposed (); ; break;} case 228: { yyval.typequal = qual_createPartial (); ; break;} case 229: { yyval.typequal = qual_createNullTerminated () ; ; break;} case 230: { yyval.typequal = qual_createUndef (); ; break;} case 231: { yyval.typequal = qual_createKilled (); ; break;} case 232: { yyval.lcltypespec = makeLclTypeSpecNodeType (yyvsp[0].ctypes); ; break;} case 233: { yyval.lcltypespec = makeLclTypeSpecNodeSU (yyvsp[0].structorunion); ; break;} case 234: { yyval.lcltypespec = makeLclTypeSpecNodeEnum (yyvsp[0].enumspec); ; break;} case 235: { yyval.lcltypespec = lclTypeSpecNode_addQual (yyvsp[0].lcltypespec, yyvsp[-1].typequal); ; break;} case 236: { yyval.lcltypespec = makeLclTypeSpecNodeConj (yyvsp[-3].lcltypespec, yyvsp[-1].lcltypespec); ; break;} case 238: { llassert (lclTypeSpecNode_isDefined (yyvsp[-1].lcltypespec)); yyvsp[-1].lcltypespec->pointers = yyvsp[0].pointers; yyval.lcltypespec = yyvsp[-1].lcltypespec; ; break;} case 239: { yyval.pointers = pointers_createLt (yyvsp[0].ltok); ; break;} case 240: { yyval.pointers = pointers_extend (yyvsp[-1].pointers, pointers_createLt (yyvsp[0].ltok)); ; break;} case 241: { (void) checkAndEnterTag (TAG_FWDSTRUCT, ltoken_copy (yyvsp[0].ltok)); ; break;} case 242: { yyval.structorunion = makestrOrUnionNode (yyvsp[-5].ltok, SU_STRUCT, yyvsp[-4].ltok, yyvsp[-1].structdecls); ; break;} case 243: { (void) checkAndEnterTag (TAG_FWDUNION, ltoken_copy (yyvsp[0].ltok)); ; break;} case 244: { yyval.structorunion = makestrOrUnionNode (yyvsp[-5].ltok, SU_UNION, yyvsp[-4].ltok, yyvsp[-1].structdecls); ; break;} case 245: { yyval.structorunion = makeForwardstrOrUnionNode (yyvsp[-1].ltok, SU_STRUCT, yyvsp[0].ltok); ; break;} case 246: { yyval.structorunion = makeForwardstrOrUnionNode (yyvsp[-1].ltok, SU_UNION, yyvsp[0].ltok); ; break;} case 247: { yyval.ltok = ltoken_undefined; ; break;} case 249: { yyval.structdecls = stDeclNodeList_add (stDeclNodeList_new (), yyvsp[0].structdecl); ; break;} case 250: { yyval.structdecls = stDeclNodeList_add (yyvsp[-1].structdecls, yyvsp[0].structdecl); ; break;} case 251: { yyval.structdecl = makestDeclNode (yyvsp[-2].lcltypespec, yyvsp[-1].declarelist); ; break;} case 252: { yyval.declarelist = declaratorNodeList_add (declaratorNodeList_new (), yyvsp[0].declare); ; break;} case 253: { yyval.declarelist = declaratorNodeList_add (yyvsp[-2].declarelist, yyvsp[0].declare); ; break;} case 254: { ; ; break;} case 255: { ; ; break;} case 256: { yyval.enumspec = makeEnumSpecNode (yyvsp[-5].ltok, yyvsp[-4].ltok, yyvsp[-2].ltokenList); ; break;} case 257: { yyval.enumspec = makeEnumSpecNode2 (yyvsp[-1].ltok, yyvsp[0].ltok); ; break;} case 258: { yyval.ltokenList = ltokenList_singleton (yyvsp[0].ltok); ; break;} case 259: { yyval.ltokenList = ltokenList_push (yyvsp[-2].ltokenList, yyvsp[0].ltok); ; break;} case 260: { yyval.declare = makeDeclaratorNode (yyvsp[0].typeexpr); ; break;} case 261: { yyval.declare = makeDeclaratorNode (yyvsp[0].typeexpr); ; break;} case 262: { yyval.typeexpr = makeTypeExpr (yyvsp[0].ltok); ; break;} case 263: { yyval.typeexpr = yyvsp[-1].typeexpr; yyval.typeexpr->wrapped = yyval.typeexpr->wrapped + 1; ; break;} case 264: { yyval.typeexpr = makePointerNode (yyvsp[-1].ltok, yyvsp[0].typeexpr); ; break;} case 265: { yyval.typeexpr = makeArrayNode (yyvsp[-1].typeexpr, yyvsp[0].array); ; break;} case 266: { yyval.typeexpr = makeFunctionNode (yyvsp[-2].typeexpr, paramNodeList_new ()); ; break;} case 267: { yyval.typeexpr = makeFunctionNode (yyvsp[-3].typeexpr, yyvsp[-1].paramlist); ; break;} case 268: { yyval.typeexpr = makeTypeExpr (yyvsp[0].ltok); ; break;} case 269: { yyval.typeexpr = yyvsp[-1].typeexpr; yyval.typeexpr->wrapped = yyval.typeexpr->wrapped + 1; ; break;} case 270: { yyval.typeexpr = makePointerNode (yyvsp[-1].ltok, yyvsp[0].typeexpr); ; break;} case 271: { yyval.typeexpr = makeArrayNode (yyvsp[-1].typeexpr, yyvsp[0].array); ; break;} case 272: { yyval.typeexpr = makeFunctionNode (yyvsp[-2].typeexpr, paramNodeList_new ()); ; break;} case 273: { yyval.typeexpr = makeFunctionNode (yyvsp[-3].typeexpr, yyvsp[-1].paramlist); ; break;} case 274: { yyval.typeexpr = makeTypeExpr (yyvsp[0].ltok); ; break;} case 275: { yyval.typeexpr = makePointerNode (yyvsp[-1].ltok, yyvsp[0].typeexpr); ; break;} case 276: { yyval.typeexpr = makeArrayNode (yyvsp[-1].typeexpr, yyvsp[0].array); ; break;} case 277: { yyval.typeexpr = makeFunctionNode (yyvsp[-2].typeexpr, paramNodeList_new ()); ; break;} case 278: { yyval.typeexpr = makeFunctionNode (yyvsp[-3].typeexpr, yyvsp[-1].paramlist); ; break;} case 279: { yyval.param = makeParamNode (yyvsp[-1].lcltypespec, yyvsp[0].typeexpr); ; break;} case 280: { yyval.param = makeParamNode (yyvsp[-1].lcltypespec, yyvsp[0].typeexpr); ; break;} case 281: { yyval.param = makeParamNode (yyvsp[-1].lcltypespec, yyvsp[0].abstDecl); ; break;} case 282: { yyval.typname = makeTypeNameNode (FALSE, yyvsp[-1].lcltypespec, yyvsp[0].abstDecl); ; break;} case 283: { yyval.typname = makeTypeNameNode (TRUE, yyvsp[-1].lcltypespec, yyvsp[0].abstDecl); ; break;} case 284: { yyval.typname = makeTypeNameNodeOp (yyvsp[0].opform); ; break;} case 285: { yyval.abstDecl = (abstDeclaratorNode)0; ; break;} case 286: { yyval.abstDecl = (abstDeclaratorNode)yyvsp[0].typeexpr; ; break;} case 287: { yyval.typeexpr = yyvsp[-1].typeexpr; yyval.typeexpr->wrapped = yyval.typeexpr->wrapped + 1; ; break;} case 288: { yyval.typeexpr = makePointerNode (yyvsp[-1].ltok, yyvsp[0].typeexpr); ; break;} case 289: { yyval.typeexpr = makePointerNode (yyvsp[0].ltok, (typeExpr)0); ; break;} case 290: { yyval.typeexpr = makeArrayNode ((typeExpr)0, yyvsp[0].array); ; break;} case 291: { yyval.typeexpr = makeArrayNode (yyvsp[-1].typeexpr, yyvsp[0].array); ; break;} case 292: { yyval.typeexpr = makeFunctionNode (yyvsp[-2].typeexpr, paramNodeList_new ()); ; break;} case 293: { yyval.typeexpr = makeFunctionNode ((typeExpr)0, yyvsp[-1].paramlist); ; break;} case 294: { yyval.typeexpr = makeFunctionNode (yyvsp[-3].typeexpr, yyvsp[-1].paramlist); ; break;} case 295: { yyval.array = makeArrayQualNode (yyvsp[-1].ltok, (termNode)0); ; break;} case 296: { yyval.array = makeArrayQualNode (yyvsp[-2].ltok, yyvsp[-1].term); ; break;} case 297: { yyval.opform = makeOpFormNode (yyvsp[-5].ltok, OPF_IF, opFormUnion_createMiddle (0), ltoken_undefined); ; break;} case 298: { yyval.opform = makeOpFormNode (yyvsp[0].ltok, OPF_ANYOP, opFormUnion_createAnyOp (yyvsp[0].ltok), ltoken_undefined); ; break;} case 299: { yyval.opform = makeOpFormNode (yyvsp[-1].ltok, OPF_MANYOP, opFormUnion_createAnyOp (yyvsp[0].ltok), ltoken_undefined); ; break;} case 300: { yyval.opform = makeOpFormNode (yyvsp[-1].ltok, OPF_ANYOPM, opFormUnion_createAnyOp (yyvsp[-1].ltok), ltoken_undefined); ; break;} case 301: { yyval.opform = makeOpFormNode (yyvsp[-2].ltok, OPF_MANYOPM, opFormUnion_createAnyOp (yyvsp[-1].ltok), ltoken_undefined); ; break;} case 302: { yyval.opform = makeOpFormNode (yyvsp[-2].ltok, OPF_MIDDLE, opFormUnion_createMiddle (yyvsp[-1].count), yyvsp[0].ltok); ; break;} case 303: { yyval.opform = makeOpFormNode (yyvsp[-3].ltok, OPF_MMIDDLE, opFormUnion_createMiddle (yyvsp[-1].count), yyvsp[0].ltok); ; break;} case 304: { yyval.opform = makeOpFormNode (yyvsp[-3].ltok, OPF_MIDDLEM, opFormUnion_createMiddle (yyvsp[-2].count), yyvsp[-1].ltok); ; break;} case 305: { yyval.opform = makeOpFormNode (yyvsp[-3].ltok, OPF_MMIDDLEM, opFormUnion_createMiddle (yyvsp[-2].count), yyvsp[-1].ltok); ; break;} case 306: { yyval.opform = makeOpFormNode (yyvsp[-2].ltok, OPF_BMIDDLE, opFormUnion_createMiddle (yyvsp[-1].count), yyvsp[0].ltok); ; break;} case 307: { yyval.opform = makeOpFormNode (yyvsp[-3].ltok, OPF_BMIDDLEM, opFormUnion_createMiddle (yyvsp[-2].count), yyvsp[-1].ltok); ; break;} case 308: { yyval.opform = makeOpFormNode (yyvsp[-2].ltok, OPF_BMMIDDLE, opFormUnion_createMiddle (yyvsp[-1].count), yyvsp[0].ltok); ; break;} case 309: { yyval.opform = makeOpFormNode (yyvsp[-3].ltok, OPF_BMMIDDLEM, opFormUnion_createMiddle (yyvsp[-2].count), yyvsp[-1].ltok); ; break;} case 310: { yyval.opform = makeOpFormNode (yyvsp[-1].ltok, OPF_SELECT, opFormUnion_createAnyOp (yyvsp[0].ltok), ltoken_undefined); ; break;} case 311: { yyval.opform = makeOpFormNode (yyvsp[-1].ltok, OPF_MAP, opFormUnion_createAnyOp (yyvsp[0].ltok), ltoken_undefined); ; break;} case 312: { yyval.opform = makeOpFormNode (yyvsp[-2].ltok, OPF_MSELECT, opFormUnion_createAnyOp (yyvsp[0].ltok), ltoken_undefined); ; break;} case 313: { yyval.opform = makeOpFormNode (yyvsp[-2].ltok, OPF_MMAP, opFormUnion_createAnyOp (yyvsp[0].ltok), ltoken_undefined); ; break;} case 321: { yyval.count = 0; ; break;} case 323: { yyval.count = 1; ; break;} case 324: { yyval.count = yyvsp[-2].count + 1; ; break;} case 327: { yyval.signature = makesigNode (yyvsp[-3].ltok, yyvsp[-2].ltokenList, yyvsp[0].ltok); ; break;} case 328: { yyval.ltokenList = ltokenList_new (); ; break;} case 330: { yyval.ltokenList = ltokenList_singleton (yyvsp[0].ltok); ; break;} case 331: { yyval.ltokenList = ltokenList_push (yyvsp[-2].ltokenList, yyvsp[0].ltok); ; break;} case 332: { yyval.lclpredicate = makeLclPredicateNode (ltoken_undefined, yyvsp[0].term, LPD_PLAIN);; break;} case 333: { yyval.term = checkSort (yyvsp[0].term); ; break;} case 334: { yyval.term = makeIfTermNode (yyvsp[-5].ltok,yyvsp[-4].term,yyvsp[-3].ltok,yyvsp[-2].term,yyvsp[-1].ltok,yyvsp[0].term); ; break;} case 336: { yyval.term = makeInfixTermNode (yyvsp[-2].term, yyvsp[-1].ltok, yyvsp[0].term); ; break;} case 338: { checkLclPredicate (yyvsp[-2].ltok, yyvsp[-1].lclpredicate); yyval.term = makeQuantifiedTermNode (yyvsp[-3].quantifiers, yyvsp[-2].ltok, yyvsp[-1].lclpredicate->predicate, yyvsp[0].ltok); symtable_exitScope (g_symtab); ; break;} case 339: { yyval.term = makeInfixTermNode (yyvsp[-2].term, yyvsp[-1].ltok, yyvsp[0].term);; break;} case 340: { yyval.term = makeInfixTermNode (yyvsp[-2].term, yyvsp[-1].ltok, yyvsp[0].term);; break;} case 342: { yyval.term = makePostfixTermNode (yyvsp[-1].term, yyvsp[0].ltokenList); ; break;} case 343: { yyval.term = CollapseInfixTermNode (yyvsp[-1].term, yyvsp[0].termlist); ; break;} case 347: { yyval.term = makePrefixTermNode (yyvsp[-1].ltok, yyvsp[0].term); ; break;} case 348: { yyval.ltokenList = ltokenList_singleton (yyvsp[0].ltok); ; break;} case 349: { yyval.ltokenList = ltokenList_push (yyvsp[-1].ltokenList, yyvsp[0].ltok); ; break;} case 350: { yyval.termlist = pushInfixOpPartNode (termNodeList_new (), yyvsp[-1].ltok, yyvsp[0].term); ; break;} case 351: { yyval.termlist = pushInfixOpPartNode (yyvsp[-2].termlist, yyvsp[-1].ltok, yyvsp[0].term); ; break;} case 353: { yyval.term = computePossibleSorts (yyvsp[0].term); ; break;} case 354: { yyval.term = updateMatchedNode ((termNode)0, yyvsp[-1].term, yyvsp[0].term); ; break;} case 355: { yyval.term = updateMatchedNode (yyvsp[-1].term, yyvsp[0].term, (termNode)0); ; break;} case 356: { yyval.term = updateMatchedNode (yyvsp[-2].term, yyvsp[-1].term, yyvsp[0].term); ; break;} case 357: { yyval.term = computePossibleSorts (yyvsp[0].term); ; break;} case 358: { yyval.term = updateSqBracketedNode ((termNode)0, yyvsp[-1].term, yyvsp[0].term); ; break;} case 359: { yyval.term = yyvsp[-2].term; yyval.term->sort = sort_lookupName (ltoken_getText (yyvsp[0].ltok)); ; break;} case 361: { yyval.term = makeSqBracketedNode (yyvsp[-4].ltok, yyvsp[-3].termlist, yyvsp[-2].ltok); yyval.term->given = sort_lookupName (ltoken_getText (yyvsp[0].ltok)); ; break;} case 362: { yyval.term = makeSqBracketedNode (yyvsp[-2].ltok, yyvsp[-1].termlist, yyvsp[0].ltok); ; break;} case 363: { yyval.term = makeSqBracketedNode (yyvsp[-3].ltok, termNodeList_new (), yyvsp[-2].ltok); yyval.term->given = sort_lookupName (ltoken_getText (yyvsp[0].ltok)); ; break;} case 364: { yyval.term = makeSqBracketedNode (yyvsp[-1].ltok, termNodeList_new (), yyvsp[0].ltok); ; break;} case 365: { yyval.term = makeMatchedNode (yyvsp[-2].ltok, yyvsp[-1].termlist, yyvsp[0].ltok); ; break;} case 366: { yyval.term = makeMatchedNode (yyvsp[-1].ltok, termNodeList_new (), yyvsp[0].ltok); ; break;} case 367: { yyval.termlist = termNodeList_push (termNodeList_new (), yyvsp[0].term); ; break;} case 368: { yyval.termlist = termNodeList_push (yyvsp[-2].termlist, yyvsp[0].term); ; break;} case 369: { yyval.term = yyvsp[-1].term; yyval.term->wrapped = yyval.term->wrapped + 1; ; break;} case 370: { yyval.term = makeSimpleTermNode (yyvsp[0].ltok); ; break;} case 371: { yyval.term = makeOpCallTermNode (yyvsp[-3].ltok, yyvsp[-2].ltok, yyvsp[-1].termlist, yyvsp[0].ltok); ; break;} case 373: { yyval.term = makePostfixTermNode2 (yyvsp[-1].term, yyvsp[0].ltok); ; break;} case 374: { ltoken_markOwned (yyvsp[0].ltok); yyval.term = makeSelectTermNode (yyvsp[-2].term, yyvsp[-1].ltok, yyvsp[0].ltok); ; break;} case 375: { ltoken_markOwned (yyvsp[0].ltok); yyval.term = makeMapTermNode (yyvsp[-2].term, yyvsp[-1].ltok, yyvsp[0].ltok); ; break;} case 376: { yyval.term = updateSqBracketedNode (yyvsp[-2].term, makeSqBracketedNode (yyvsp[-1].ltok, termNodeList_new (), yyvsp[0].ltok), (termNode)0); ; break;} case 377: { yyval.term = updateSqBracketedNode (yyvsp[-3].term, makeSqBracketedNode (yyvsp[-2].ltok, yyvsp[-1].termlist, yyvsp[0].ltok), (termNode)0); ; break;} case 378: { yyval.term = yyvsp[-2].term; yyval.term->given = sort_lookupName (ltoken_getText (yyvsp[0].ltok)); ; break;} case 379: { yyval.termlist = termNodeList_push (termNodeList_new (), yyvsp[0].term); ; break;} case 380: { yyval.termlist = termNodeList_push (yyvsp[-2].termlist, yyvsp[0].term); ; break;} case 386: { yyval.term = makeSimpleTermNode (yyvsp[0].ltok); ; break;} case 387: { yyval.term = makeOpCallTermNode (yyvsp[-3].ltok, yyvsp[-2].ltok, yyvsp[-1].termlist, yyvsp[0].ltok); ; break;} case 388: { yyval.term = makeUnchangedTermNode1 (yyvsp[-3].ltok, yyvsp[-1].ltok); ; break;} case 389: { yyval.term = makeUnchangedTermNode2 (yyvsp[-3].ltok, yyvsp[-1].storereflist); ; break;} case 390: { termNodeList x = termNodeList_new (); termNodeList_addh (x, yyvsp[-1].term); yyval.term = makeOpCallTermNode (yyvsp[-3].ltok, yyvsp[-2].ltok, x, yyvsp[0].ltok); ; break;} case 391: { termNodeList x = termNodeList_new (); termNodeList_addh (x, yyvsp[-3].term); termNodeList_addh (x, yyvsp[-1].term); yyval.term = makeOpCallTermNode (yyvsp[-5].ltok, yyvsp[-4].ltok, x, yyvsp[0].ltok); ; break;} case 392: { yyval.term = makeSizeofTermNode (yyvsp[-3].ltok, yyvsp[-1].lcltypespec); ; break;} case 393: { yyval.term = makeLiteralTermNode (yyvsp[0].ltok, g_sortInt); ; break;} case 394: { yyval.term = makeLiteralTermNode (yyvsp[0].ltok, g_sortCstring); ; break;} case 395: { yyval.term = makeLiteralTermNode (yyvsp[0].ltok, g_sortChar); ; break;} case 396: { yyval.term = makeLiteralTermNode (yyvsp[0].ltok, g_sortDouble); ; break;} case 397: { yyval.quantifiers = quantifierNodeList_add (quantifierNodeList_new (), yyvsp[0].quantifier); ; break;} case 398: { yyval.quantifiers = quantifierNodeList_add (yyvsp[-1].quantifiers, yyvsp[0].quantifier); ; break;} case 399: { scopeInfo si = (scopeInfo) dmalloc (sizeof (*si)); si->kind = SPE_QUANT; symtable_enterScope (g_symtab, si); ; break;} case 400: { yyval.quantifier = makeQuantifierNode (yyvsp[0].vars, yyvsp[-2].ltok); ; break;} case 401: { yyval.vars = varNodeList_add (varNodeList_new (), yyvsp[0].var); ; break;} case 402: { yyval.vars = varNodeList_add (yyvsp[-2].vars, yyvsp[0].var); ; break;} case 403: { yyval.var = makeVarNode (yyvsp[-2].ltok, FALSE, yyvsp[0].lcltypespec); ; break;} case 404: { yyval.var = makeVarNode (yyvsp[-3].ltok, TRUE, yyvsp[0].lcltypespec); ; break;} } yyvsp -= yylen; yyssp -= yylen; #if YYLSP_NEEDED yylsp -= yylen; #endif #if YYDEBUG if (yydebug) { short *yyssp1 = yyss - 1; YYFPRINTF (stderr, "state stack now"); while (yyssp1 != yyssp) YYFPRINTF (stderr, " %d", *++yyssp1); YYFPRINTF (stderr, "\n"); } #endif *++yyvsp = yyval; #if YYLSP_NEEDED *++yylsp = yyloc; #endif /* 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 - YYNTBASE] + *yyssp; if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - YYNTBASE]; goto yynewstate; /*------------------------------------. | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { ++yynerrs; #ifdef YYERROR_VERBOSE yyn = yypact[yystate]; if (yyn > YYFLAG && yyn < YYLAST) { YYSIZE_T yysize = 0; 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) yysize += yystrlen (yytname[yyx]) + 15, yycount++; yysize += yystrlen ("parse error, unexpected ") + 1; yysize += yystrlen (yytname[YYTRANSLATE (yychar)]); yymsg = (char *) YYSTACK_ALLOC (yysize); if (yymsg != 0) { char *yyp = yystpcpy (yymsg, "parse error, unexpected "); yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]); if (yycount < 5) { yycount = 0; for (yyx = yyn < 0 ? -yyn : 0; yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) if (yycheck[yyx + yyn] == yyx) { const char *yyq = ! yycount ? ", expecting " : " or "; yyp = yystpcpy (yyp, yyq); yyp = yystpcpy (yyp, yytname[yyx]); yycount++; } } yyerror (yymsg); YYSTACK_FREE (yymsg); } else yyerror ("parse error; also virtual memory exhausted"); } else #endif /* defined (YYERROR_VERBOSE) */ yyerror ("parse error"); } goto yyerrlab1; /*--------------------------------------------------. | yyerrlab1 -- error raised explicitly by an action | `--------------------------------------------------*/ yyerrlab1: 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) YYABORT; YYDPRINTF ((stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1])); yychar = YYEMPTY; } /* Else will try to reuse lookahead token after shifting the error token. */ yyerrstatus = 3; /* Each real token shifted decrements this */ goto yyerrhandle; /*-------------------------------------------------------------------. | yyerrdefault -- current state does not do anything special for the | | error token. | `-------------------------------------------------------------------*/ yyerrdefault: #if 0 /* This is wrong; only states that explicitly want error tokens should shift them. */ /* If its default is to accept any token, ok. Otherwise pop it. */ yyn = yydefact[yystate]; if (yyn) goto yydefault; #endif /*---------------------------------------------------------------. | yyerrpop -- pop the current state because it cannot handle the | | error token | `---------------------------------------------------------------*/ yyerrpop: if (yyssp == yyss) YYABORT; yyvsp--; yystate = *--yyssp; #if YYLSP_NEEDED yylsp--; #endif #if YYDEBUG if (yydebug) { short *yyssp1 = yyss - 1; YYFPRINTF (stderr, "Error: state stack now"); while (yyssp1 != yyssp) YYFPRINTF (stderr, " %d", *++yyssp1); YYFPRINTF (stderr, "\n"); } #endif /*--------------. | yyerrhandle. | `--------------*/ yyerrhandle: yyn = yypact[yystate]; if (yyn == YYFLAG) goto yyerrdefault; yyn += YYTERROR; if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) goto yyerrdefault; yyn = yytable[yyn]; if (yyn < 0) { if (yyn == YYFLAG) goto yyerrpop; yyn = -yyn; goto yyreduce; } else if (yyn == 0) goto yyerrpop; if (yyn == YYFINAL) YYACCEPT; YYDPRINTF ((stderr, "Shifting error token, ")); *++yyvsp = yylval; #if YYLSP_NEEDED *++yylsp = yylloc; #endif yystate = yyn; goto yynewstate; /*-------------------------------------. | yyacceptlab -- YYACCEPT comes here. | `-------------------------------------*/ yyacceptlab: yyresult = 0; goto yyreturn; /*-----------------------------------. | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ yyabortlab: yyresult = 1; goto yyreturn; /*---------------------------------------------. | yyoverflowab -- parser overflow comes here. | `---------------------------------------------*/ yyoverflowlab: yyerror ("parser stack overflow"); yyresult = 2; /* Fall through. */ yyreturn: #ifndef yyoverflow if (yyss != yyssa) YYSTACK_FREE (yyss); #endif return yyresult; } # include "bison.reset" /* ** yytext is set in lex scanner ** extern YYSTYPE yylval; ** yylval is defined by code generated by bison */ void ylerror (char *s) { /* ** This resetting of the left context is very important when multiple ** files are to be parsed. We do not want failures to propagate. ** Lex/Yacc does not reset the flags when the parsing goes bad. ** BEGIN 0; **/ /*@-mustfree@*/ lclfatalerror (yllval.ltok, message ("%s: Token code: %s, Token String: %s", cstring_fromChars (s), ltoken_unparseCodeName (yllval.ltok), ltoken_getRawString (yllval.ltok))); /*@=mustfree@*/ } static void yyprint (FILE *f, int t, YYSTYPE value) { fprintf (f, " type: %d (%s)", t, cstring_toCharsSafe (ltoken_getRawString (value.ltok))); } /* ** Resets all flags in bison.head */ /*@=allmacros@*/ /*@=boolint@*/ /*@=charint@*/ /*@=macroparams@*/ /*@=macroundef@*/ /*@=unreachable@*/ /*@=macrospec@*/ /*@=varuse@*/ /*@=ignorequals@*/ /*@=macrostmt@*/ /*@=noeffect@*/ /*@=shadow@*/ /*@=exitarg@*/ /*@=macroredef@*/ /*@=uniondef@*/ /*@=compdef@*/ /*@=matchfields@*/ /*@=exportlocal@*/ /*@=evalorderuncon@*/ /*@=exportheader@*/ /*@=typeuse@*/ /*@=redecl@*/ /*@=redef@*/ /*@=noparams@*/ /*@=ansireserved@*/ /*@=fielduse@*/ /*@=ifblock@*/ /*@=elseifcomplete@*/ /*@=whileblock@*/ /*@=forblock@*/ /*@=branchstate@*/ /*@=readonlytrans@*/ /*@=namechecks@*/ /*@=usedef@*/ /*@=systemunrecog@*/ /*@=dependenttrans@*/ /*@=unqualifiedtrans@*/ /*@=declundef@*/ /*drl added 11/27/2001*/ /*@=bounds@*/ /*drl added 12/11/2002*/ /*@=type@*/