package provide DS9 1.0 ###### # Begin autogenerated taccle (version 1.3) routines. # Although taccle itself is protected by the GNU Public License (GPL) # all user-supplied functions are protected by their respective # author's license. See http://mini.net/tcl/taccle for other details. ###### namespace eval pan { variable yylval {} variable table variable rules variable token {} variable yycnt 0 variable yyerr 0 variable save_state 0 namespace export yylex } proc pan::YYABORT {} { return -code return 1 } proc pan::YYACCEPT {} { return -code return 0 } proc pan::YYERROR {} { variable yyerr set yyerr 1 } proc pan::yyclearin {} { variable token variable yycnt set token {} incr yycnt -1 } proc pan::yyerror {s} { puts stderr $s } proc pan::setupvalues {stack pointer numsyms} { upvar 1 1 y set y {} for {set i 1} {$i <= $numsyms} {incr i} { upvar 1 $i y set y [lindex $stack $pointer] incr pointer } } proc pan::unsetupvalues {numsyms} { for {set i 1} {$i <= $numsyms} {incr i} { upvar 1 $i y unset y } } array set pan::table { 21:289 reduce 21:290 reduce 21:300 reduce 31:294,target 20 51:296 shift 51:306 goto 21:291 reduce 21:292 reduce 21:293 reduce 21:294 reduce 43:296,target 32 2:284,target 40 21:295 reduce 48:0 reduce 9:300 reduce 21:296 reduce 14:274,target 29 25:293,target 14 1:258,target 39 64:0,target 55 37:295,target 26 9:309 goto 53:290,target 45 53:289,target 44 53:300,target 68 54:273,target 28 33:0,target 22 19:292,target 8 20:292,target 9 32:294,target 21 21:0 reduce 44:296,target 33 14:291,target 46 60:291,target 46 56:300 reduce 0:302,target 5 63:0 reduce 26:293,target 15 1:275,target 39 26:288 reduce 26:289 reduce 26:290 reduce 26:300 reduce 2:258,target 40 26:291 reduce 26:292 reduce 38:295,target 27 26:293 reduce 54:290,target 45 54:289,target 44 54:300,target 63 26:294 reduce 10:273,target 28 26:295 reduce 26:296 reduce 21:292,target 10 53:264,target 19 33:294,target 22 61:0,target 50 45:296,target 34 29:0,target 18 30:0,target 19 35:0 reduce 1:292,target 39 12:298,target 2 27:293,target 16 2:275,target 40 14:265,target 20 77:0 reduce 40:295,target 29 39:295,target 28 10:300,target 52 10:289,target 44 10:290,target 45 55:300,target 1 9:0 reduce 22:292,target 11 67:292,target 47 53:281,target 36 32:288 reduce 54:264,target 19 32:300 reduce 32:289 reduce 32:290 reduce 34:294,target 23 32:291 reduce 32:292 reduce 32:293 reduce 32:294 reduce 32:295 reduce 46:296,target 35 32:296 reduce 16:291,target 5 2:292,target 40 28:293,target 17 14:282,target 37 50:0 reduce 49:0 reduce 57:0,target 3 41:295,target 30 56:300,target 2 1:266,target 39 26:0,target 15 23:292,target 12 54:281,target 36 10:264,target 19 35:294,target 24 51:288,target 43 67:288 shift 47:296,target 36 17:291,target 6 67:290 shift 67:289 shift 67:300 reduce 67:291 shift 67:292 shift 67:293 shift 67:294 shift 37:288 reduce 22:0 reduce 29:293,target 18 30:293,target 19 37:300 reduce 37:290 reduce 37:289 reduce 67:296 shift 67:306 goto 37:291 reduce 37:292 reduce 0:310,target 9 0:299,target 3 37:293 reduce 42:295,target 31 37:294 reduce 1:283,target 39 64:0 reduce 57:300,target 3 37:295 reduce 37:296 reduce 2:266,target 40 24:292,target 13 70:292,target 47 10:281,target 36 36:294,target 25 54:0,target 63 53:272,target 27 6:311,target 13 48:296,target 37 2:257 reduce 18:291,target 7 23:0,target 12 2:258 reduce 2:260 reduce 2:259 reduce 2:261 reduce 2:262 reduce 2:263 reduce 31:293,target 20 2:264 reduce 2:265 reduce 2:266 reduce 36:0 reduce 2:267 reduce 43:295,target 32 2:283,target 40 2:268 reduce 13:300,target 46 58:300,target 4 2:270 reduce 2:269 reduce 2:271 reduce 14:273,target 28 73:300 reduce 2:272 reduce 2:273 reduce 78:0 reduce 2:274 reduce 25:292,target 14 2:275 reduce 2:276 reduce 73:295 shift 43:300 reduce 2:277 reduce 1:257,target 39 2:278 reduce 37:294,target 26 2:280 reduce 2:279 reduce 53:288,target 43 2:281 reduce 2:282 reduce 54:272,target 27 43:295 reduce 2:283 reduce 13:300 reduce 43:296 reduce 2:284 reduce 49:296,target 38 2:285 reduce 19:291,target 8 20:291,target 9 2:286 reduce 2:287 reduce 8:0,target 0 2:288 reduce 82:0,target 58 2:300 reduce 2:290 reduce 2:289 reduce 2:291 reduce 32:293,target 21 2:292 reduce 2:293 reduce 51:0,target 53 2:294 reduce 44:295,target 33 14:300,target 47 14:289,target 44 14:290,target 45 60:290,target 45 60:289,target 44 60:300,target 49 59:300,target 48 2:297 reduce 2:298 reduce 19:0,target 8 20:0,target 9 51:0 reduce 0:301,target 4 26:292,target 15 1:274,target 39 2:257,target 40 38:294,target 27 54:288,target 43 10:272,target 27 78:300 reduce 51:296,target 63 51:306,target 64 21:291,target 10 53:263,target 18 48:300 reduce 33:293,target 22 3:299,target 10 18:288 reduce 48:295 reduce 45:295,target 34 15:300,target 62 18:289 reduce 18:290 reduce 18:300 reduce 61:300,target 50 48:296 reduce 18:291 reduce 23:0 reduce 18:292 reduce 54:257 shift 18:293 reduce 54:258 shift 1:291,target 39 5:0,target 44 12:307,target 54 12:297,target 1 18:294 reduce 54:260 shift 54:259 shift 18:295 reduce 27:292,target 16 78:0,target 77 54:261 shift 2:274,target 40 18:296 reduce 65:0 reduce 54:262 shift 54:263 shift 14:264,target 19 54:264 shift 54:265 shift 47:0,target 36 40:294,target 29 39:294,target 28 10:288,target 43 54:266 shift 54:267 shift 54:268 shift 7:307 goto 7:297 shift 54:270 shift 54:269 shift 7:298 shift 16:0,target 5 54:271 shift 52:296,target 65 22:291,target 11 67:291,target 46 54:272 shift 54:273 shift 53:280,target 35 53:279,target 34 54:274 shift 54:275 shift 54:263,target 18 54:276 shift 34:293,target 23 54:277 shift 54:278 shift 54:280 shift 54:279 shift 54:281 shift 54:282 shift 46:295,target 35 16:289,target 5 16:290,target 5 16:300,target 5 54:283 shift 84:300 reduce 54:284 shift 54:285 shift 54:286 shift 2:291,target 40 54:287 shift 37:0 reduce 28:292,target 17 54:288 shift 14:281,target 36 54:290 shift 54:289 shift 54:300 reduce 54:291 shift 54:292 shift 54:293 shift 41:294,target 30 80:0 reduce 79:0 reduce 54:294 shift 54:304 goto 24:288 reduce 54:305 goto 1:265,target 39 24:289 reduce 24:290 reduce 24:300 reduce 54:306 goto 24:291 reduce 24:292 reduce 53:296,target 66 53:306,target 68 23:291,target 12 24:293 reduce 2:0,target 40 24:294 reduce 54:280,target 35 54:279,target 34 24:295 reduce 75:0,target 62 10:263,target 18 24:296 reduce 35:293,target 24 44:0,target 33 47:295,target 36 17:289,target 6 17:290,target 6 17:300,target 6 63:300,target 60 13:0,target 46 10:0 reduce 29:292,target 18 30:292,target 19 0:308,target 8 0:298,target 2 52:0 reduce 42:294,target 31 1:282,target 39 2:265,target 40 54:306,target 71 24:291,target 13 70:291,target 46 10:279,target 34 10:280,target 35 60:288 shift 60:290 shift 60:289 shift 60:300 reduce 59:300 reduce 60:291 shift 36:293,target 25 60:292 shift 60:293 shift 60:294 shift 53:271,target 26 6:299,target 11 29:288 reduce 30:288 reduce 60:295 shift 29:289 reduce 29:290 reduce 29:300 reduce 30:289 reduce 30:290 reduce 30:300 reduce 60:306 goto 48:295,target 37 18:289,target 7 18:290,target 7 18:300,target 7 29:291 reduce 30:291 reduce 64:300,target 55 29:292 reduce 30:292 reduce 29:293 reduce 30:293 reduce 29:294 reduce 30:294 reduce 29:295 reduce 30:295 reduce 72:0,target 56 29:296 reduce 30:296 reduce 31:292,target 20 24:0 reduce 1:298,target 39 41:0,target 30 2:282,target 40 14:272,target 27 66:0 reduce 10:0,target 52 10:306,target 52 10:296,target 50 25:291,target 14 37:293,target 26 53:287,target 42 54:271,target 26 49:295,target 38 19:289,target 8 19:290,target 8 19:300,target 8 20:289,target 9 20:290,target 9 20:300,target 9 65:300,target 61 32:292,target 21 65:300 reduce 2:298,target 40 35:288 reduce 14:288,target 43 60:288,target 43 38:0 reduce 35:300 reduce 35:290 reduce 35:289 reduce 35:291 reduce 35:292 reduce 35:293 reduce 35:294 reduce 26:291,target 15 35:295 reduce 1:273,target 39 81:0 reduce 68:0,target 70 35:296 reduce 38:293,target 27 54:287,target 42 37:0,target 26 10:271,target 26 21:289,target 10 21:290,target 10 21:300,target 10 66:300,target 75 53:262,target 17 33:292,target 22 1:300,target 39 1:290,target 39 1:289,target 39 53:0 reduce 27:291,target 16 2:273,target 40 71:300 reduce 14:263,target 18 40:293,target 29 39:293,target 28 10:287,target 42 41:288 reduce 71:295 shift 41:300 reduce 41:290 reduce 41:289 reduce 9:309,target 15 41:291 reduce 41:292 reduce 22:289,target 11 22:290,target 11 22:300,target 11 67:290,target 45 67:289,target 44 67:300,target 69 41:293 reduce 53:278,target 33 41:294 reduce 41:295 reduce 65:0,target 61 54:262,target 17 41:296 reduce 34:292,target 23 34:0,target 23 0:301 shift 16:288,target 5 0:302 shift 0:303 shift 11:299 shift 25:0 reduce 2:300,target 40 2:290,target 40 2:289,target 40 28:291,target 17 0:307 goto 0:297 shift 14:279,target 34 14:280,target 35 0:308 goto 0:298 shift 0:310 goto 0:299 shift 67:0 reduce 41:293,target 30 1:264,target 39 53:305,target 67 23:289,target 12 23:290,target 12 23:300,target 12 68:300,target 70 54:278,target 33 10:262,target 17 76:300 reduce 35:292,target 24 46:300 reduce 17:288,target 6 14:306,target 61 16:288 reduce 60:306,target 73 46:295 reduce 16:289 reduce 16:290 reduce 16:300 reduce 29:291,target 18 30:291,target 19 62:0,target 43 46:296 reduce 16:291 reduce 40:0 reduce 39:0 reduce 16:292 reduce 0:307,target 7 0:297,target 1 16:293 reduce 16:294 reduce 42:293,target 31 1:281,target 39 16:295 reduce 31:0,target 20 5:300 reduce 16:296 reduce 2:264,target 40 82:0 reduce 54:305,target 70 24:289,target 13 24:290,target 13 24:300,target 13 70:290,target 45 70:289,target 44 70:300,target 65 69:300,target 64 10:278,target 33 36:292,target 25 53:270,target 25 53:269,target 24 6:298,target 2 18:288,target 7 4:300,target 45 31:291,target 20 82:300 reduce 1:297,target 39 2:281,target 40 54:0 reduce 52:300 reduce 14:271,target 26 10:305,target 51 25:289,target 14 25:290,target 14 25:300,target 14 71:300,target 66 22:288 reduce 22:289 reduce 22:290 reduce 22:300 reduce 58:0,target 4 52:296 shift 22:291 reduce 22:292 reduce 37:292,target 26 22:293 reduce 53:286,target 41 22:294 reduce 22:295 reduce 27:0,target 16 54:270,target 25 54:269,target 24 7:298,target 2 22:296 reduce 19:288,target 8 20:288,target 9 5:300,target 44 16:296,target 5 32:291,target 21 2:297,target 40 26:0 reduce 14:287,target 42 68:0 reduce 26:289,target 15 26:290,target 15 26:300,target 15 72:300,target 56 1:272,target 39 1:0 reduce 38:292,target 27 54:286,target 41 10:269,target 24 10:270,target 25 57:300 reduce 51:294,target 49 21:288,target 10 27:288 reduce 53:261,target 16 17:296,target 6 27:289 reduce 27:290 reduce 27:300 reduce 55:0,target 1 33:291,target 22 27:291 reduce 27:292 reduce 27:293 reduce 27:294 reduce 24:0,target 13 27:295 reduce 27:296 reduce 41:0 reduce 1:288,target 39 27:289,target 16 27:290,target 16 27:300,target 16 73:300,target 51 2:272,target 40 14:262,target 17 83:0 reduce 40:292,target 29 39:292,target 28 10:286,target 41 22:288,target 11 67:288,target 43 53:277,target 32 54:261,target 16 18:296,target 7 64:296,target 75 34:291,target 23 63:300 reduce 9:0,target 41 13:0 reduce 83:0,target 78 2:288,target 40 33:288 reduce 28:289,target 17 28:290,target 17 28:300,target 17 74:300,target 57 33:300 reduce 33:290 reduce 33:289 reduce 14:278,target 33 55:0 reduce 52:0,target 54 33:291 reduce 33:292 reduce 33:293 reduce 41:292,target 30 33:294 reduce 33:295 reduce 21:0,target 10 33:296 reduce 1:263,target 39 53:294,target 49 23:288,target 12 54:277,target 32 10:261,target 16 19:296,target 8 20:296,target 9 35:291,target 24 14:305,target 60 60:295,target 72 27:0 reduce 29:289,target 18 29:290,target 18 29:300,target 18 30:289,target 19 30:290,target 19 30:300,target 19 75:300,target 62 42:292,target 31 1:280,target 39 1:279,target 39 70:0 reduce 69:0 reduce 2:263,target 40 68:300 reduce 2:0 reduce 80:0,target 67 79:0,target 72 54:294,target 49 54:304,target 69 24:288,target 13 70:288,target 43 10:277,target 32 38:288 reduce 38:300 reduce 38:290 reduce 38:289 reduce 68:296 shift 48:0,target 37 38:291 reduce 9:300,target 42 21:296,target 10 38:292 reduce 36:291,target 25 38:293 reduce 38:294 reduce 53:268,target 23 38:295 reduce 6:307,target 12 6:297,target 1 17:0,target 6 38:296 reduce 61:295,target 74 31:289,target 20 31:290,target 20 31:300,target 20 76:300,target 76 14:257 shift 14:258 shift 14:259 shift 14:260 shift 42:0 reduce 14:261 shift 2:280,target 40 2:279,target 40 14:262 shift 14:263 shift 14:264 shift 14:269,target 24 14:270,target 25 14:265 shift 10:294,target 49 14:266 shift 84:0 reduce 14:267 shift 25:288,target 14 14:268 shift 14:269 shift 14:270 shift 14:271 shift 14:272 shift 22:296,target 11 67:296,target 76 67:306,target 77 37:291,target 26 14:273 shift 53:285,target 40 14:274 shift 14:275 shift 54:268,target 23 7:307,target 14 7:297,target 1 14:276 shift 14:277 shift 74:300 reduce 14:278 shift 14:279 shift 14:280 shift 76:0,target 76 14:281 shift 14:282 shift 14:283 shift 16:295,target 5 44:300 reduce 32:300,target 21 14:284 shift 32:289,target 21 32:290,target 21 77:300,target 71 45:0,target 34 14:285 shift 14:0 reduce 14:286 shift 14:287 shift 14:288 shift 44:295 reduce 14:0,target 47 14:300 reduce 14:286,target 41 14:289 shift 14:290 shift 44:296 reduce 14:291 shift 14:292 shift 56:0 reduce 14:293 shift 14:304 goto 14:294 shift 14:305 goto 26:288,target 15 1:271,target 39 14:306 goto 23:296,target 12 68:296,target 78 38:291,target 27 54:285,target 40 10:268,target 23 51:293,target 48 3:299 shift 17:295,target 6 33:300,target 22 33:290,target 22 33:289,target 22 78:300,target 77 28:0 reduce 80:300 reduce 79:300 reduce 73:0,target 51 1:287,target 39 27:288,target 16 2:271,target 40 80:295 shift 71:0 reduce 50:300 reduce 49:300 reduce 42:0,target 31 14:261,target 16 24:296,target 13 70:306,target 80 40:291,target 29 39:291,target 28 10:285,target 40 19:288 reduce 20:288 reduce 49:295 reduce 19:289 reduce 19:290 reduce 19:300 reduce 20:289 reduce 20:290 reduce 20:300 reduce 49:296 reduce 19:291 reduce 20:291 reduce 19:292 reduce 20:292 reduce 19:293 reduce 20:293 reduce 19:294 reduce 20:294 reduce 53:276,target 31 19:295 reduce 20:295 reduce 19:296 reduce 20:296 reduce 54:260,target 58 54:259,target 57 18:295,target 7 34:300,target 23 34:290,target 23 34:289,target 23 80:300,target 67 79:300,target 72 2:287,target 40 43:0 reduce 28:288,target 17 14:277,target 32 25:296,target 14 41:291,target 30 1:262,target 39 53:293,target 48 70:0,target 65 69:0,target 64 54:276,target 31 55:300 reduce 19:295,target 8 20:295,target 9 38:0,target 27 35:300,target 24 35:290,target 24 35:289,target 24 81:300,target 73 25:288 reduce 25:289 reduce 25:290 reduce 25:300 reduce 25:291 reduce 25:292 reduce 25:293 reduce 25:294 reduce 14:304,target 59 14:294,target 49 25:295 reduce 60:294,target 49 25:296 reduce 29:288,target 18 30:288,target 19 57:0 reduce 26:296,target 15 42:291,target 31 1:278,target 39 2:262,target 40 54:293,target 48 10:276,target 31 21:295,target 10 36:300,target 25 36:290,target 25 36:289,target 25 82:300,target 58 53:267,target 22 66:0,target 75 31:288,target 20 61:300 reduce 35:0,target 24 29:0 reduce 30:0 reduce 27:296,target 16 2:278,target 40 31:288 reduce 61:295 shift 31:289 reduce 31:290 reduce 31:300 reduce 14:268,target 23 31:291 reduce 72:0 reduce 31:292 reduce 10:293,target 48 31:293 reduce 31:294 reduce 4:0 reduce 31:295 reduce 31:296 reduce 22:295,target 11 37:300,target 26 37:290,target 26 37:289,target 26 83:300,target 78 53:284,target 39 54:267,target 22 16:294,target 5 32:288,target 21 28:296,target 17 14:285,target 40 44:0 reduce 63:0,target 60 1:270,target 39 1:269,target 39 66:300 reduce 23:295,target 12 32:0,target 21 38:300,target 27 38:290,target 27 38:289,target 27 84:300,target 74 54:284,target 39 36:288 reduce 10:267,target 22 36:300 reduce 36:290 reduce 36:289 reduce 36:291 reduce 51:292,target 47 36:292 reduce 36:293 reduce 36:294 reduce 36:295 reduce 36:296 reduce 17:294,target 6 33:288,target 22 16:0 reduce 29:296,target 18 30:296,target 19 1:286,target 39 58:0 reduce 2:270,target 40 2:269,target 40 1:257 reduce 1:258 reduce 14:259,target 57 14:260,target 58 1:259 reduce 1:260 reduce 24:295,target 13 70:295,target 79 40:300,target 29 40:290,target 29 40:289,target 29 39:300,target 28 39:290,target 28 39:289,target 28 1:261 reduce 10:284,target 39 1:262 reduce 1:263 reduce 1:264 reduce 1:265 reduce 1:266 reduce 1:267 reduce 60:0,target 49 59:0,target 48 53:275,target 30 1:268 reduce 1:269 reduce 1:270 reduce 54:258,target 56 1:271 reduce 18:294,target 7 72:300 reduce 34:288,target 23 1:272 reduce 1:273 reduce 28:0,target 17 1:274 reduce 1:275 reduce 42:288 reduce 1:276 reduce 31:296,target 20 42:300 reduce 42:290 reduce 42:289 reduce 1:277 reduce 42:291 reduce 1:278 reduce 42:292 reduce 1:280 reduce 1:279 reduce 42:293 reduce 1:281 reduce 31:0 reduce 42:294 reduce 2:286,target 40 1:282 reduce 42:295 reduce 1:283 reduce 42:296 reduce 1:284 reduce 14:276,target 31 1:285 reduce 1:286 reduce 73:0 reduce 1:287 reduce 25:295,target 14 71:295,target 81 41:300,target 30 41:290,target 30 41:289,target 30 1:288 reduce 1:300 reduce 1:290 reduce 1:289 reduce 1:291 reduce 1:261,target 39 5:0 reduce 12:307 goto 12:297 shift 1:292 reduce 12:298 shift 1:293 reduce 53:292,target 47 1:294 reduce 54:275,target 30 1:297 reduce 1:298 reduce 19:294,target 8 20:294,target 9 35:288,target 24 32:296,target 21 77:296,target 83 56:0,target 2 14:293,target 48 60:293,target 48 77:300 reduce 45:0 reduce 25:0,target 14 26:295,target 15 42:300,target 31 42:290,target 31 42:289,target 31 1:277,target 39 47:300 reduce 2:261,target 40 77:296 shift 54:292,target 47 10:275,target 30 17:288 reduce 47:295 reduce 17:289 reduce 17:290 reduce 17:300 reduce 47:296 reduce 17:291 reduce 17:292 reduce 21:294,target 10 36:288,target 25 17:293 reduce 17:294 reduce 17:295 reduce 53:266,target 21 53:261 shift 17:296 reduce 53:262 shift 33:296,target 22 53:263 shift 53:264 shift 53:265 shift 53:266 shift 53:267 shift 53:268 shift 6:307 goto 6:297 shift 17:0 reduce 53:270 shift 53:269 shift 6:298 shift 53:271 shift 6:299 shift 53:272 shift 1:294,target 39 6:311 goto 53:273 shift 27:295,target 16 73:295,target 82 53:274 shift 43:300,target 32 2:277,target 40 60:0 reduce 59:0 reduce 53:275 shift 84:0,target 74 53:276 shift 14:267,target 22 53:277 shift 53:278 shift 10:292,target 47 53:280 shift 53:279 shift 53:281 shift 53:0,target 68 53:282 shift 53:283 shift 83:300 reduce 53:284 shift 22:294,target 11 67:294,target 49 53:285 shift 37:288,target 26 22:0,target 11 53:286 shift 53:283,target 38 53:287 shift 54:266,target 21 53:288 shift 53:290 shift 53:289 shift 53:300 reduce 34:296,target 23 53:291 shift 53:292 shift 53:293 shift 53:294 shift 23:288 reduce 53:305 goto 16:293,target 5 23:289 reduce 23:290 reduce 23:300 reduce 53:296 shift 53:306 goto 23:291 reduce 23:292 reduce 23:293 reduce 2:294,target 40 23:294 reduce 23:295 reduce 28:295,target 17 32:0 reduce 44:300,target 33 14:284,target 39 23:296 reduce 74:0 reduce 1:268,target 39 23:294,target 12 38:288,target 27 54:283,target 38 10:266,target 21 81:0,target 73 35:296,target 24 51:291,target 46 50:0,target 59 49:0,target 38 17:293,target 6 18:0,target 7 29:295,target 18 30:295,target 19 45:300,target 34 58:300 reduce 46:0 reduce 1:285,target 39 28:288 reduce 2:268,target 40 28:289 reduce 28:290 reduce 28:300 reduce 28:291 reduce 14:258,target 56 28:292 reduce 24:294,target 13 28:293 reduce 70:294,target 49 40:288,target 29 39:288,target 28 10:283,target 38 28:294 reduce 28:295 reduce 28:296 reduce 36:296,target 25 53:274,target 29 54:257,target 55 18:293,target 7 4:0,target 45 31:295,target 20 46:300,target 35 77:0,target 71 18:0 reduce 2:285,target 40 46:0,target 35 14:275,target 30 61:0 reduce 25:294,target 14 41:288,target 30 1:259,target 39 1:260,target 39 64:300 reduce 37:296,target 26 53:291,target 46 54:274,target 29 34:288 reduce 34:300 reduce 34:290 reduce 34:289 reduce 64:296 shift 34:291 reduce 19:293,target 8 20:293,target 9 34:292 reduce 34:293 reduce 34:294 reduce 34:295 reduce 34:296 reduce 32:295,target 21 47:300,target 36 14:292,target 47 60:292,target 47 33:0 reduce 0:303,target 6 11:299,target 53 10:261 shift 26:294,target 15 42:288,target 31 1:276,target 39 10:262 shift 75:0 reduce 1:0,target 39 10:263 shift 2:260,target 40 2:259,target 40 10:264 shift 74:0,target 57 10:265 shift 38:296,target 27 10:266 shift 54:291,target 46 10:267 shift 10:268 shift 10:274,target 29 43:0,target 32 10:269 shift 10:270 shift 10:271 shift 10:272 shift 21:293,target 10 10:273 shift 10:274 shift 10:275 shift 53:265,target 20 10:276 shift 70:288 shift 33:295,target 22 10:277 shift 70:290 shift 70:289 shift 70:300 reduce 69:300 reduce 48:300,target 37 10:278 shift 70:291 shift 10:279 shift 10:280 shift 70:292 shift 10:281 shift 70:293 shift 10:282 shift 70:294 shift 40:288 reduce 39:288 reduce 10:283 shift 70:295 shift 40:300 reduce 40:290 reduce 40:289 reduce 39:300 reduce 39:290 reduce 39:289 reduce 10:284 shift 70:306 goto 40:291 reduce 39:291 reduce 10:285 shift 40:292 reduce 39:292 reduce 10:286 shift 40:293 reduce 39:293 reduce 1:293,target 39 10:287 shift 47:0 reduce 40:294 reduce 39:294 reduce 10:288 shift 27:294,target 16 40:295 reduce 39:295 reduce 2:276,target 40 10:300 reduce 10:289 shift 10:290 shift 40:296 reduce 39:296 reduce 10:291 shift 10:292 shift 14:266,target 21 10:293 shift 40:296,target 29 39:296,target 28 10:291,target 46 10:294 shift 10:305 goto 10:306 goto 10:296 shift 22:293,target 11 67:293,target 48 53:282,target 37 54:265,target 20 34:295,target 23 80:295,target 84 71:0,target 66 50:300,target 59 49:300,target 38 40:0,target 29 39:0,target 28 16:292,target 5 19:0 reduce 20:0 reduce 2:293,target 40 28:294,target 17 14:283,target 38 75:300 reduce 62:0 reduce 41:296,target 30 1:267,target 39 45:300 reduce 23:293,target 12 54:282,target 37 45:295 reduce 10:265,target 20 15:300 shift 45:296 reduce 35:295,target 24 51:290,target 45 51:289,target 44 51:300,target 53 4:300 reduce 17:292,target 6 29:294,target 18 30:294,target 19 34:0 reduce 67:0,target 69 42:296,target 31 1:284,target 39 36:0,target 25 2:267,target 40 76:0 reduce 14:257,target 55 24:293,target 13 70:293,target 48 8:0 accept 10:282,target 37 81:300 reduce 36:295,target 25 52:300,target 54 53:273,target 28 51:288 shift 51:290 shift 51:289 shift 51:300 reduce 18:292,target 7 51:291 shift 51:292 shift 51:293 shift 51:294 shift 21:288 reduce } array set pan::rules { 9,l 305 11,l 305 32,l 306 53,l 310 74,l 311 6,l 305 28,l 305 50,l 310 49,l 310 71,l 311 3,l 304 25,l 305 46,l 310 67,l 311 0,l 312 22,l 305 43,l 308 64,l 311 18,l 305 40,l 307 39,l 307 61,l 310 15,l 305 36,l 306 57,l 310 78,l 311 12,l 305 33,l 306 54,l 310 75,l 311 7,l 305 29,l 305 30,l 305 51,l 310 72,l 311 4,l 304 26,l 305 47,l 310 68,l 311 1,l 304 23,l 305 44,l 310 65,l 311 19,l 305 20,l 305 41,l 308 62,l 310 16,l 305 37,l 306 58,l 310 13,l 305 34,l 306 55,l 310 76,l 311 8,l 305 10,l 305 31,l 305 52,l 310 73,l 311 5,l 305 27,l 305 48,l 310 70,l 311 69,l 311 2,l 304 24,l 305 45,l 310 66,l 311 21,l 305 42,l 309 63,l 311 17,l 305 38,l 306 60,l 310 59,l 310 14,l 305 35,l 306 56,l 310 77,l 311 } array set pan::rules { 63,dc 2 12,dc 1 77,dc 4 26,dc 1 3,dc 1 41,dc 1 55,dc 4 70,dc 3 69,dc 3 18,dc 1 33,dc 1 9,dc 1 47,dc 2 62,dc 5 11,dc 1 76,dc 4 25,dc 1 2,dc 1 40,dc 1 39,dc 1 54,dc 3 68,dc 2 17,dc 1 32,dc 1 8,dc 1 46,dc 2 61,dc 4 10,dc 1 75,dc 3 24,dc 1 1,dc 1 38,dc 1 53,dc 3 67,dc 4 16,dc 1 31,dc 1 7,dc 1 45,dc 1 60,dc 4 59,dc 3 74,dc 5 23,dc 1 0,dc 1 37,dc 1 52,dc 2 66,dc 3 15,dc 1 29,dc 1 30,dc 1 6,dc 1 44,dc 1 58,dc 5 73,dc 4 22,dc 1 36,dc 1 51,dc 4 65,dc 3 14,dc 1 28,dc 1 5,dc 1 43,dc 3 57,dc 4 72,dc 4 21,dc 1 35,dc 1 50,dc 3 49,dc 3 64,dc 3 13,dc 1 78,dc 5 27,dc 1 4,dc 1 42,dc 0 56,dc 4 71,dc 4 19,dc 1 20,dc 1 34,dc 1 48,dc 3 } array set pan::rules { 41,line 156 7,line 118 37,line 149 4,line 114 34,line 146 1,line 111 31,line 142 27,line 138 24,line 135 21,line 132 76,line 196 17,line 128 73,line 193 14,line 125 70,line 189 69,line 188 11,line 122 66,line 185 63,line 182 60,line 177 59,line 176 56,line 173 53,line 169 50,line 166 49,line 165 46,line 162 43,line 157 9,line 120 40,line 153 39,line 152 6,line 117 36,line 148 3,line 113 33,line 145 29,line 140 30,line 141 26,line 137 23,line 134 78,line 198 19,line 130 20,line 131 75,line 195 16,line 127 72,line 192 13,line 124 68,line 187 10,line 121 65,line 184 62,line 179 58,line 175 55,line 172 52,line 168 48,line 164 45,line 161 42,line 156 8,line 119 38,line 150 5,line 116 35,line 147 2,line 112 32,line 144 28,line 139 25,line 136 22,line 133 77,line 197 18,line 129 74,line 194 15,line 126 71,line 191 42,e 1 12,line 123 67,line 186 64,line 183 61,line 178 57,line 174 54,line 170 51,line 167 47,line 163 44,line 160 } array set pan::lr1_table { 35 {{22 {0 288 289 290 291 292 293 294 296 300} 1}} 66,trans {} 85,trans {} 36 {{23 {0 288 289 290 291 292 293 294 296 300} 1}} 37 {{24 {0 288 289 290 291 292 293 294 296 300} 1}} 38 {{25 {0 288 289 290 291 292 293 294 296 300} 1}} 39 {{26 {0 288 289 290 291 292 293 294 296 300} 1}} 40 {{27 {0 288 289 290 291 292 293 294 296 300} 1}} 117,trans {} 41 {{28 {0 288 289 290 291 292 293 294 296 300} 1}} 42 {{29 {0 288 289 290 291 292 293 294 296 300} 1}} 43 {{30 {0 288 289 290 291 292 293 294 296 300} 1}} 44 {{31 {0 288 289 290 291 292 293 294 296 300} 1}} 45 {{32 {0 296 300} 1}} 46 {{33 {0 296 300} 1}} 47 {{34 {0 296 300} 1}} 48 {{35 {0 296 300} 1}} 49 {{36 {0 296 300} 1}} 50 {{37 {0 296 300} 1}} 27,trans {} 51 {{38 {0 296 300} 1}} 46,trans {} 52 {{59 {0 300} 3}} 65,trans {} 84,trans {} 53 {{53 {0 300} 3} {55 {0 300} 3} {60 {0 300} 3} {62 {0 300} 3} {32 {0 296 300} 0} {33 {0 296 300} 0} {34 {0 296 300} 0} {35 {0 296 300} 0} {36 {0 296 300} 0} {37 {0 296 300} 0} {38 {0 296 300} 0}} 54 {{54 {0 300} 3} {61 {0 300} 3}} 55 {{68 {0 300} 2} {69 {0 300} 2} {70 {0 300} 2} {71 {0 300} 2} {75 {0 300} 2} {76 {0 300} 2} {77 {0 300} 2} {78 {0 300} 2} {5 {0 288 289 290 291 292 293 294 296 300} 0} {6 {0 288 289 290 291 292 293 294 296 300} 0} {7 {0 288 289 290 291 292 293 294 296 300} 0} {8 {0 288 289 290 291 292 293 294 296 300} 0} {9 {0 288 289 290 291 292 293 294 296 300} 0} {10 {0 288 289 290 291 292 293 294 296 300} 0} {11 {0 288 289 290 291 292 293 294 296 300} 0} {12 {0 288 289 290 291 292 293 294 296 300} 0} {13 {0 288 289 290 291 292 293 294 296 300} 0} {14 {0 288 289 290 291 292 293 294 296 300} 0} {15 {0 288 289 290 291 292 293 294 296 300} 0} {16 {0 288 289 290 291 292 293 294 296 300} 0} {17 {0 288 289 290 291 292 293 294 296 300} 0} {18 {0 288 289 290 291 292 293 294 296 300} 0} {19 {0 288 289 290 291 292 293 294 296 300} 0} {20 {0 288 289 290 291 292 293 294 296 300} 0} {21 {0 288 289 290 291 292 293 294 296 300} 0} {22 {0 288 289 290 291 292 293 294 296 300} 0} {23 {0 288 289 290 291 292 293 294 296 300} 0} {24 {0 288 289 290 291 292 293 294 296 300} 0} {25 {0 288 289 290 291 292 293 294 296 300} 0} {26 {0 288 289 290 291 292 293 294 296 300} 0} {27 {0 288 289 290 291 292 293 294 296 300} 0} {28 {0 288 289 290 291 292 293 294 296 300} 0} {29 {0 288 289 290 291 292 293 294 296 300} 0} {30 {0 288 289 290 291 292 293 294 296 300} 0} {31 {0 288 289 290 291 292 293 294 296 300} 0} {32 {0 296 300} 0} {33 {0 296 300} 0} {34 {0 296 300} 0} {35 {0 296 300} 0} {36 {0 296 300} 0} {37 {0 296 300} 0} {38 {0 296 300} 0}} 56 {{63 {0 300} 2} {64 {0 300} 2} {65 {0 300} 2} {66 {0 300} 2} {67 {0 300} 2} {72 {0 300} 2} {73 {0 300} 2} {74 {0 300} 2} {1 {0 300} 0} {2 {0 300} 0} {3 {0 300} 0} {4 {0 300} 0} {5 {0 288 289 290 291 292 293 294 295 300} 0} {6 {0 288 289 290 291 292 293 294 295 300} 0} {7 {0 288 289 290 291 292 293 294 295 300} 0} {8 {0 288 289 290 291 292 293 294 295 300} 0} {9 {0 288 289 290 291 292 293 294 295 300} 0} {10 {0 288 289 290 291 292 293 294 295 300} 0} {11 {0 288 289 290 291 292 293 294 295 300} 0} {12 {0 288 289 290 291 292 293 294 295 300} 0} {13 {0 288 289 290 291 292 293 294 295 300} 0} {14 {0 288 289 290 291 292 293 294 295 300} 0} {15 {0 288 289 290 291 292 293 294 295 300} 0} {16 {0 288 289 290 291 292 293 294 295 300} 0} {17 {0 288 289 290 291 292 293 294 295 300} 0} {18 {0 288 289 290 291 292 293 294 295 300} 0} {19 {0 288 289 290 291 292 293 294 295 300} 0} {20 {0 288 289 290 291 292 293 294 295 300} 0} {21 {0 288 289 290 291 292 293 294 295 300} 0} {22 {0 288 289 290 291 292 293 294 295 300} 0} {23 {0 288 289 290 291 292 293 294 295 300} 0} {24 {0 288 289 290 291 292 293 294 295 300} 0} {25 {0 288 289 290 291 292 293 294 295 300} 0} {26 {0 288 289 290 291 292 293 294 295 300} 0} {27 {0 288 289 290 291 292 293 294 295 300} 0} {28 {0 288 289 290 291 292 293 294 295 300} 0} {29 {0 288 289 290 291 292 293 294 295 300} 0} {30 {0 288 289 290 291 292 293 294 295 300} 0} {31 {0 288 289 290 291 292 293 294 295 300} 0} {32 {0 295 300} 0} {33 {0 295 300} 0} {34 {0 295 300} 0} {35 {0 295 300} 0} {36 {0 295 300} 0} {37 {0 295 300} 0} {38 {0 295 300} 0}} 116,trans {{295 120}} 57 {{1 {0 300} 1}} 58 {{2 {0 300} 1}} 59 {{3 {0 300} 1}} 60 {{4 {0 300} 1}} 61 {{5 {0 288 289 290 291 292 293 294 295 300} 1}} 62 {{6 {0 288 289 290 291 292 293 294 295 300} 1}} 63 {{7 {0 288 289 290 291 292 293 294 295 300} 1}} 64 {{8 {0 288 289 290 291 292 293 294 295 300} 1}} 65 {{9 {0 288 289 290 291 292 293 294 295 300} 1}} 66 {{10 {0 288 289 290 291 292 293 294 295 300} 1}} 26,trans {} 67 {{11 {0 288 289 290 291 292 293 294 295 300} 1}} 45,trans {} 68 {{12 {0 288 289 290 291 292 293 294 295 300} 1}} 64,trans {} 69 {{13 {0 288 289 290 291 292 293 294 295 300} 1}} 70 {{14 {0 288 289 290 291 292 293 294 295 300} 1}} 83,trans {} 71 {{15 {0 288 289 290 291 292 293 294 295 300} 1}} 72 {{16 {0 288 289 290 291 292 293 294 295 300} 1}} 73 {{17 {0 288 289 290 291 292 293 294 295 300} 1}} 115,trans {} 74 {{18 {0 288 289 290 291 292 293 294 295 300} 1}} 75 {{19 {0 288 289 290 291 292 293 294 295 300} 1}} 76 {{20 {0 288 289 290 291 292 293 294 295 300} 1}} 77 {{21 {0 288 289 290 291 292 293 294 295 300} 1}} 78 {{22 {0 288 289 290 291 292 293 294 295 300} 1}} 79 {{23 {0 288 289 290 291 292 293 294 295 300} 1}} 80 {{24 {0 288 289 290 291 292 293 294 295 300} 1}} 81 {{25 {0 288 289 290 291 292 293 294 295 300} 1}} 82 {{26 {0 288 289 290 291 292 293 294 295 300} 1}} 83 {{27 {0 288 289 290 291 292 293 294 295 300} 1}} 25,trans {} 84 {{28 {0 288 289 290 291 292 293 294 295 300} 1}} 44,trans {} 85 {{29 {0 288 289 290 291 292 293 294 295 300} 1}} 63,trans {} 86 {{30 {0 288 289 290 291 292 293 294 295 300} 1}} 82,trans {} 87 {{31 {0 288 289 290 291 292 293 294 295 300} 1}} 0 {{0 0 0} {41 0 0} {43 0 0} {44 {0 300} 0} {45 {0 300} 0} {46 {0 300} 0} {47 {0 300} 0} {48 {0 300} 0} {49 {0 300} 0} {50 {0 300} 0} {51 {0 300} 0} {52 {0 300} 0} {53 {0 300} 0} {54 {0 300} 0} {55 {0 300} 0} {56 {0 300} 0} {57 {0 300} 0} {58 {0 300} 0} {59 {0 300} 0} {60 {0 300} 0} {61 {0 300} 0} {62 {0 300} 0} {39 {297 298} 0} {40 {297 298} 0}} 88 {{32 {0 295 300} 1}} 1 {{39 {297 298} 1}} 89 {{33 {0 295 300} 1}} 90 {{34 {0 295 300} 1}} 114,trans {} 2 {{40 {297 298} 1}} 91 {{35 {0 295 300} 1}} 3 {{52 {0 300} 1} {53 {0 300} 1} {54 {0 300} 1} {55 {0 300} 1} {59 {0 300} 1} {60 {0 300} 1} {61 {0 300} 1} {62 {0 300} 1}} 92 {{36 {0 295 300} 1}} 4 {{45 {0 300} 1}} 93 {{37 {0 295 300} 1}} 5 {{44 {0 300} 1}} 94 {{38 {0 295 300} 1}} 6 {{46 {0 300} 1} {63 {0 300} 0} {64 {0 300} 0} {65 {0 300} 0} {66 {0 300} 0} {67 {0 300} 0} {68 {0 300} 0} {69 {0 300} 0} {70 {0 300} 0} {71 {0 300} 0} {72 {0 300} 0} {73 {0 300} 0} {74 {0 300} 0} {75 {0 300} 0} {76 {0 300} 0} {77 {0 300} 0} {78 {0 300} 0} {39 {297 298} 0} {40 {297 298} 0}} 95 {{48 {0 300} 3}} 7 {{47 {0 300} 1} {48 {0 300} 1} {49 {0 300} 1} {50 {0 300} 1} {51 {0 300} 1} {56 {0 300} 1} {57 {0 300} 1} {58 {0 300} 1} {39 {0 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 300} 0} {40 {0 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 300} 0}} 96 {{49 {0 300} 3} {51 {0 300} 3} {56 {0 300} 3} {58 {0 300} 3} {32 {0 295 300} 0} {33 {0 295 300} 0} {34 {0 295 300} 0} {35 {0 295 300} 0} {36 {0 295 300} 0} {37 {0 295 300} 0} {38 {0 295 300} 0}} 8 {{0 0 1}} 97 {{50 {0 300} 3} {57 {0 300} 3}} 9 {{41 0 1} {43 0 1} {42 300 0}} 98 {{43 0 3}} 24,trans {} 99 {{60 {0 300} 4}} 43,trans {} 62,trans {} 81,trans {} 99,trans {} 113,trans {{296 119}} 23,trans {} 42,trans {} 61,trans {} 79,trans {} 80,trans {} 98,trans {} 9,trans {{309 17}} 112,trans {} 22,trans {} 41,trans {} 59,trans {} 60,trans {} 78,trans {} 97,trans {{295 110}} 8,trans {} 111,trans {} 100 {{55 {0 300} 4} {62 {0 300} 4}} 101 {{61 {0 300} 4}} 102 {{75 {0 300} 3}} 103 {{69 {0 300} 3} {71 {0 300} 3} {76 {0 300} 3} {78 {0 300} 3} {32 {0 296 300} 0} {33 {0 296 300} 0} {34 {0 296 300} 0} {35 {0 296 300} 0} {36 {0 296 300} 0} {37 {0 296 300} 0} {38 {0 296 300} 0}} 104 {{70 {0 300} 3} {77 {0 300} 3}} 105 {{64 {0 300} 3}} 21,trans {} 106 {{65 {0 300} 3} {67 {0 300} 3} {72 {0 300} 3} {74 {0 300} 3} {32 {0 295 300} 0} {33 {0 295 300} 0} {34 {0 295 300} 0} {35 {0 295 300} 0} {36 {0 295 300} 0} {37 {0 295 300} 0} {38 {0 295 300} 0}} 39,trans {} 40,trans {} 107 {{66 {0 300} 3} {73 {0 300} 3}} 108 {{56 {0 300} 4}} 58,trans {} 110 {{57 {0 300} 4}} 109 {{51 {0 300} 4} {58 {0 300} 4}} 77,trans {} 111 {{62 {0 300} 5}} 96,trans {{288 88} {289 89} {290 90} {291 91} {292 92} {293 93} {294 94} {295 108} {306 109}} 7,trans {{297 14} {298 15} {307 16}} 112 {{76 {0 300} 4}} 113 {{71 {0 300} 4} {78 {0 300} 4}} 110,trans {} 109,trans {{295 118}} 114 {{77 {0 300} 4}} 115 {{72 {0 300} 4}} 116 {{67 {0 300} 4} {74 {0 300} 4}} 117 {{73 {0 300} 4}} 118 {{58 {0 300} 5}} 120 {{74 {0 300} 5}} 119 {{78 {0 300} 5}} 19,trans {} 20,trans {} 38,trans {} 57,trans {} 76,trans {} 95,trans {} 6,trans {{297 1} {298 2} {299 11} {307 12} {311 13}} 108,trans {} 18,trans {} 37,trans {} 56,trans {{257 57} {258 58} {259 59} {260 60} {261 61} {262 62} {263 63} {264 64} {265 65} {266 66} {267 67} {268 68} {269 69} {270 70} {271 71} {272 72} {273 73} {274 74} {275 75} {276 76} {277 77} {278 78} {279 79} {280 80} {281 81} {282 82} {283 83} {284 84} {285 85} {286 86} {287 87} {288 88} {289 89} {290 90} {291 91} {292 92} {293 93} {294 94} {304 105} {305 106} {306 107}} 75,trans {} 94,trans {} 5,trans {} 107,trans {{295 117}} 17,trans {{300 98}} 36,trans {} 55,trans {{261 18} {262 19} {263 20} {264 21} {265 22} {266 23} {267 24} {268 25} {269 26} {270 27} {271 28} {272 29} {273 30} {274 31} {275 32} {276 33} {277 34} {278 35} {279 36} {280 37} {281 38} {282 39} {283 40} {284 41} {285 42} {286 43} {287 44} {288 45} {289 46} {290 47} {291 48} {292 49} {293 50} {294 51} {296 102} {305 103} {306 104}} 74,trans {} 93,trans {} 4,trans {} 106,trans {{288 88} {289 89} {290 90} {291 91} {292 92} {293 93} {294 94} {295 115} {306 116}} 16,trans {{257 57} {258 58} {259 59} {260 60} {261 61} {262 62} {263 63} {264 64} {265 65} {266 66} {267 67} {268 68} {269 69} {270 70} {271 71} {272 72} {273 73} {274 74} {275 75} {276 76} {277 77} {278 78} {279 79} {280 80} {281 81} {282 82} {283 83} {284 84} {285 85} {286 86} {287 87} {288 88} {289 89} {290 90} {291 91} {292 92} {293 93} {294 94} {304 95} {305 96} {306 97}} 35,trans {} 54,trans {{296 101}} 73,trans {} 92,trans {} 3,trans {{299 10}} 105,trans {} 15,trans {} 34,trans {} 53,trans {{288 45} {289 46} {290 47} {291 48} {292 49} {293 50} {294 51} {296 99} {306 100}} 72,trans {} 91,trans {} 2,trans {} 104,trans {{296 114}} 14,trans {} 33,trans {} 52,trans {} 71,trans {} 90,trans {} 89,trans {} 1,trans {} 103,trans {{288 45} {289 46} {290 47} {291 48} {292 49} {293 50} {294 51} {296 112} {306 113}} 13,trans {} 32,trans {} 51,trans {} 69,trans {} 70,trans {} 88,trans {} 0,trans {{297 1} {298 2} {299 3} {301 4} {302 5} {303 6} {307 7} {308 8} {310 9}} 102,trans {} 12,trans {{297 14} {298 15} {307 56}} 31,trans {} 49,trans {} 50,trans {} 68,trans {} 87,trans {} 101,trans {} 120,trans {} 119,trans {} 10 {{52 {0 300} 2} {53 {0 300} 2} {54 {0 300} 2} {55 {0 300} 2} {59 {0 300} 2} {60 {0 300} 2} {61 {0 300} 2} {62 {0 300} 2} {5 {0 288 289 290 291 292 293 294 296 300} 0} {6 {0 288 289 290 291 292 293 294 296 300} 0} {7 {0 288 289 290 291 292 293 294 296 300} 0} {8 {0 288 289 290 291 292 293 294 296 300} 0} {9 {0 288 289 290 291 292 293 294 296 300} 0} {10 {0 288 289 290 291 292 293 294 296 300} 0} {11 {0 288 289 290 291 292 293 294 296 300} 0} {12 {0 288 289 290 291 292 293 294 296 300} 0} {13 {0 288 289 290 291 292 293 294 296 300} 0} {14 {0 288 289 290 291 292 293 294 296 300} 0} {15 {0 288 289 290 291 292 293 294 296 300} 0} {16 {0 288 289 290 291 292 293 294 296 300} 0} {17 {0 288 289 290 291 292 293 294 296 300} 0} {18 {0 288 289 290 291 292 293 294 296 300} 0} {19 {0 288 289 290 291 292 293 294 296 300} 0} {20 {0 288 289 290 291 292 293 294 296 300} 0} {21 {0 288 289 290 291 292 293 294 296 300} 0} {22 {0 288 289 290 291 292 293 294 296 300} 0} {23 {0 288 289 290 291 292 293 294 296 300} 0} {24 {0 288 289 290 291 292 293 294 296 300} 0} {25 {0 288 289 290 291 292 293 294 296 300} 0} {26 {0 288 289 290 291 292 293 294 296 300} 0} {27 {0 288 289 290 291 292 293 294 296 300} 0} {28 {0 288 289 290 291 292 293 294 296 300} 0} {29 {0 288 289 290 291 292 293 294 296 300} 0} {30 {0 288 289 290 291 292 293 294 296 300} 0} {31 {0 288 289 290 291 292 293 294 296 300} 0} {32 {0 296 300} 0} {33 {0 296 300} 0} {34 {0 296 300} 0} {35 {0 296 300} 0} {36 {0 296 300} 0} {37 {0 296 300} 0} {38 {0 296 300} 0}} 11 {{68 {0 300} 1} {69 {0 300} 1} {70 {0 300} 1} {71 {0 300} 1} {75 {0 300} 1} {76 {0 300} 1} {77 {0 300} 1} {78 {0 300} 1}} 12 {{63 {0 300} 1} {64 {0 300} 1} {65 {0 300} 1} {66 {0 300} 1} {67 {0 300} 1} {72 {0 300} 1} {73 {0 300} 1} {74 {0 300} 1} {39 {0 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 300} 0} {40 {0 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 300} 0}} 13 {{46 {0 300} 2}} 14 {{39 {0 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 300} 1}} 15 {{40 {0 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 300} 1}} 11,trans {{299 55}} 16 {{47 {0 300} 2} {48 {0 300} 2} {49 {0 300} 2} {50 {0 300} 2} {51 {0 300} 2} {56 {0 300} 2} {57 {0 300} 2} {58 {0 300} 2} {1 {0 300} 0} {2 {0 300} 0} {3 {0 300} 0} {4 {0 300} 0} {5 {0 288 289 290 291 292 293 294 295 300} 0} {6 {0 288 289 290 291 292 293 294 295 300} 0} {7 {0 288 289 290 291 292 293 294 295 300} 0} {8 {0 288 289 290 291 292 293 294 295 300} 0} {9 {0 288 289 290 291 292 293 294 295 300} 0} {10 {0 288 289 290 291 292 293 294 295 300} 0} {11 {0 288 289 290 291 292 293 294 295 300} 0} {12 {0 288 289 290 291 292 293 294 295 300} 0} {13 {0 288 289 290 291 292 293 294 295 300} 0} {14 {0 288 289 290 291 292 293 294 295 300} 0} {15 {0 288 289 290 291 292 293 294 295 300} 0} {16 {0 288 289 290 291 292 293 294 295 300} 0} {17 {0 288 289 290 291 292 293 294 295 300} 0} {18 {0 288 289 290 291 292 293 294 295 300} 0} {19 {0 288 289 290 291 292 293 294 295 300} 0} {20 {0 288 289 290 291 292 293 294 295 300} 0} {21 {0 288 289 290 291 292 293 294 295 300} 0} {22 {0 288 289 290 291 292 293 294 295 300} 0} {23 {0 288 289 290 291 292 293 294 295 300} 0} {24 {0 288 289 290 291 292 293 294 295 300} 0} {25 {0 288 289 290 291 292 293 294 295 300} 0} {26 {0 288 289 290 291 292 293 294 295 300} 0} {27 {0 288 289 290 291 292 293 294 295 300} 0} {28 {0 288 289 290 291 292 293 294 295 300} 0} {29 {0 288 289 290 291 292 293 294 295 300} 0} {30 {0 288 289 290 291 292 293 294 295 300} 0} {31 {0 288 289 290 291 292 293 294 295 300} 0} {32 {0 295 300} 0} {33 {0 295 300} 0} {34 {0 295 300} 0} {35 {0 295 300} 0} {36 {0 295 300} 0} {37 {0 295 300} 0} {38 {0 295 300} 0}} 29,trans {} 30,trans {} 17 {{43 0 2}} 48,trans {} 18 {{5 {0 288 289 290 291 292 293 294 296 300} 1}} 67,trans {} 86,trans {} 20 {{7 {0 288 289 290 291 292 293 294 296 300} 1}} 19 {{6 {0 288 289 290 291 292 293 294 296 300} 1}} 21 {{8 {0 288 289 290 291 292 293 294 296 300} 1}} 22 {{9 {0 288 289 290 291 292 293 294 296 300} 1}} 100,trans {{296 111}} 23 {{10 {0 288 289 290 291 292 293 294 296 300} 1}} 118,trans {} 24 {{11 {0 288 289 290 291 292 293 294 296 300} 1}} 25 {{12 {0 288 289 290 291 292 293 294 296 300} 1}} 26 {{13 {0 288 289 290 291 292 293 294 296 300} 1}} 27 {{14 {0 288 289 290 291 292 293 294 296 300} 1}} 28 {{15 {0 288 289 290 291 292 293 294 296 300} 1}} 30 {{17 {0 288 289 290 291 292 293 294 296 300} 1}} 29 {{16 {0 288 289 290 291 292 293 294 296 300} 1}} 31 {{18 {0 288 289 290 291 292 293 294 296 300} 1}} 32 {{19 {0 288 289 290 291 292 293 294 296 300} 1}} 10,trans {{261 18} {262 19} {263 20} {264 21} {265 22} {266 23} {267 24} {268 25} {269 26} {270 27} {271 28} {272 29} {273 30} {274 31} {275 32} {276 33} {277 34} {278 35} {279 36} {280 37} {281 38} {282 39} {283 40} {284 41} {285 42} {286 43} {287 44} {288 45} {289 46} {290 47} {291 48} {292 49} {293 50} {294 51} {296 52} {305 53} {306 54}} 33 {{20 {0 288 289 290 291 292 293 294 296 300} 1}} 28,trans {} 34 {{21 {0 288 289 290 291 292 293 294 296 300} 1}} 47,trans {} } array set pan::token_id_table { 286 WCSY_ 286,t 0 287 WCSZ_ 292,line 44 302,line 61 288 FK4_ 265,title WCSD 289 B1950_ 290 FK5_ 300 STRING_ 284,title WCSW 291 J2000_ 301 CLOSE_ 292 ICRS_ 302 OPEN_ 288,line 40 293 GALACTIC_ 303 TO_ 304 coordsys 294 ECLIPTIC_ 305 wcssys 295 DEGREES_ 306 skyframe 296 SEXAGESIMAL_ 307 numeric 262,t 0 297 INT_ 308 command 285,line 36 298 REAL_ 310 pan 309 @PSEUDO1 299 SEXSTR_ 311 panto 283,t 0 312 start' 282,line 33 264,title WCSC 283,title WCSV 312,title {} 278,line 29 error,line 109 258,t 0 275,line 26 279,t 0 280,t 0 311,t 1 272,line 23 263,title WCSB 282,title WCSU 311,title {} 268,line 19 276,t 0 265,line 16 307,t 1 297,t 0 262,line 13 262,title WCSA 0 {$} 0,t 0 281,title WCST 310,title {} 309,title {} error,t 0 299,title sexagesimal 258,line 8 273,t 0 304,t 1 294,t 0 261,title WCS 279,title WCSR 280,title WCSS 308,title {} 269,t 0 270,t 0 298,title float 291,t 0 301,t 0 311,line 181 307,line 151 266,t 0 260,title DETECTOR 259,title AMPLIFIER 297,line 51 278,title WCSQ 307,title {} 297,title integer 287,t 0 304,line 110 294,line 46 291,line 43 301,line 60 error,title {} 263,t 0 258,title PHYSICAL 287,line 38 277,title WCSP 284,t 0 306,title {} 296,title SEXAGESIMAL 284,line 35 281,line 32 260,t 0 259,t 0 281,t 0 257,title IMAGE 277,line 28 276,title WCSO 312,t 1 305,title {} 295,title DEGREES 274,line 25 271,line 22 277,t 0 308,t 1 267,line 18 298,t 0 275,title WCSN 304,title {} 294,title ECLIPTIC 264,line 15 261,line 12 274,t 0 305,t 1 295,t 0 257,line 7 274,title WCSM 293,title GALACTIC 303,title TO 271,t 0 error error 292,t 0 302,t 0 273,title WCSL 292,title ICRS 302,title OPEN 267,t 0 310,line 159 309,line 156 299,line 54 288,t 0 306,line 143 296,line 49 272,title WCSK 291,title J2000 293,line 45 301,title CLOSE 303,line 62 264,t 0 285,t 0 289,line 41 290,line 42 300,line 56 286,line 37 271,title WCSJ 261,t 0 283,line 34 289,title B1950 290,title FK5 300,title string 282,t 0 279,line 30 280,line 31 276,line 27 257,t 0 269,title WCSH 270,title WCSI 273,line 24 288,title FK4 278,t 0 310,t 1 309,t 1 299,t 0 269,line 20 270,line 21 266,line 17 268,title WCSG 275,t 0 263,line 14 287,title WCSZ 306,t 1 296,t 0 260,line 10 259,line 9 272,t 0 267,title WCSF 257 IMAGE_ 286,title WCSY 293,t 0 303,t 0 258 PHYSICAL_ 260 DETECTOR_ 259 AMPLIFIER_ 261 WCS_ 262 WCSA_ 263 WCSB_ 264 WCSC_ 265 WCSD_ 266 WCSE_ 267 WCSF_ 268,t 0 268 WCSG_ 269 WCSH_ 270 WCSI_ 312,line 199 271 WCSJ_ 272 WCSK_ 289,t 0 290,t 0 300,t 0 266,title WCSE 273 WCSL_ 274 WCSM_ 285,title WCSX 275 WCSN_ 308,line 155 276 WCSO_ 298,line 52 277 WCSP_ 278 WCSQ_ 279 WCSR_ 280 WCSS_ 281 WCST_ 305,line 115 282 WCSU_ 295,line 48 265,t 0 283 WCSV_ 284 WCSW_ 285 WCSX_ } proc pan::yyparse {} { variable yylval variable table variable rules variable token variable yycnt variable lr1_table variable token_id_table variable yyerr variable save_state set yycnt 0 set state_stack {0} set value_stack {{}} set token "" set accepted 0 set yyerr 0 set save_state 0 while {$accepted == 0} { set state [lindex $state_stack end] if {$token == ""} { set yylval "" set token [yylex] set buflval $yylval if {$token>0} { incr yycnt } } if {![info exists table($state:$token)] || $yyerr} { if {!$yyerr} { set save_state $state } # pop off states until error token accepted while {[llength $state_stack] > 0 && \ ![info exists table($state:error)]} { set state_stack [lrange $state_stack 0 end-1] set value_stack [lrange $value_stack 0 \ [expr {[llength $state_stack] - 1}]] set state [lindex $state_stack end] } if {[llength $state_stack] == 0} { set rr { } if {[info exists lr1_table($save_state,trans)] && [llength $lr1_table($save_state,trans)] >= 1} { foreach trans $lr1_table($save_state,trans) { foreach {tok_id nextstate} $trans { set ss $token_id_table($tok_id,title) if {$ss != {}} { append rr "$ss, " } } } } set rr [string trimleft $rr { }] set rr [string trimright $rr {, }] yyerror "parse error, expecting: $rr" return 1 } lappend state_stack [set state $table($state:error,target)] lappend value_stack {} # consume tokens until it finds an acceptable one while {![info exists table($state:$token)]} { if {$token == 0} { yyerror "end of file while recovering from error" return 1 } set yylval {} set token [yylex] set buflval $yylval } continue } switch -- $table($state:$token) { shift { lappend state_stack $table($state:$token,target) lappend value_stack $buflval set token "" } reduce { set rule $table($state:$token,target) set ll $rules($rule,l) if {[info exists rules($rule,e)]} { set dc $rules($rule,e) } else { set dc $rules($rule,dc) } set stackpointer [expr {[llength $state_stack]-$dc}] setupvalues $value_stack $stackpointer $dc set _ $1 set yylval [lindex $value_stack end] switch -- $rule { 1 { set _ image } 2 { set _ physical } 3 { set _ amplifier } 4 { set _ detector } 5 { set _ wcs } 6 { set _ wcsa } 7 { set _ wcsb } 8 { set _ wcsc } 9 { set _ wcsd } 10 { set _ wcse } 11 { set _ wcsf } 12 { set _ wcsg } 13 { set _ wcsh } 14 { set _ wcsi } 15 { set _ wcsj } 16 { set _ wcsk } 17 { set _ wcsl } 18 { set _ wcsm } 19 { set _ wcsn } 20 { set _ wcso } 21 { set _ wcsp } 22 { set _ wcsq } 23 { set _ wcsr } 24 { set _ wcss } 25 { set _ wcst } 26 { set _ wcsu } 27 { set _ wcsv } 28 { set _ wcsw } 29 { set _ wcsx } 30 { set _ wcsy } 31 { set _ wcsz } 32 { set _ fk4 } 33 { set _ fk4 } 34 { set _ fk5 } 35 { set _ fk5 } 36 { set _ icrs } 37 { set _ galactic } 38 { set _ ecliptic } 39 { set _ $1 } 40 { set _ $1 } 42 { global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT} } 44 { PanZoomDialog } 45 { PanZoomDestroyDialog } 47 { Pan $1 $2 physical fk5 } 48 { Pan $1 $2 $3 fk5 } 49 { Pan $1 $2 $3 fk5 } 50 { Pan $1 $2 wcs $3 } 51 { Pan $1 $2 $3 $4 } 52 { Pan $1 $2 wcs fk5 } 53 { Pan $1 $2 $3 fk5 } 54 { Pan $1 $2 wcs $3 } 55 { Pan $1 $2 $3 $4 } 56 { Pan $1 $2 $3 fk5 } 57 { Pan $1 $2 wcs $3 } 58 { Pan $1 $2 $3 $4 } 59 { Pan $1 $2 wcs fk5 } 60 { Pan $1 $2 $3 fk5 } 61 { Pan $1 $2 wcs $3 } 62 { Pan $1 $2 $3 $4 } 63 { PanTo $1 $2 physical fk5 } 64 { PanTo $1 $2 $3 fk5 } 65 { PanTo $1 $2 $3 fk5 } 66 { PanTo $1 $2 wcs $3 } 67 { PanTo $1 $2 $3 $4 } 68 { PanTo $1 $2 wcs fk5 } 69 { PanTo $1 $2 $3 fk5 } 70 { PanTo $1 $2 wcs $3 } 71 { PanTo $1 $2 $3 $4 } 72 { PanTo $1 $2 $3 fk5 } 73 { PanTo $1 $2 wcs $3 } 74 { PanTo $1 $2 $3 $4 } 75 { PanTo $1 $2 wcs fk5 } 76 { PanTo $1 $2 $3 fk5 } 77 { PanTo $1 $2 wcs $3 } 78 { PanTo $1 $2 $3 $4 } } unsetupvalues $dc # pop off tokens from the stack if normal rule if {![info exists rules($rule,e)]} { incr stackpointer -1 set state_stack [lrange $state_stack 0 $stackpointer] set value_stack [lrange $value_stack 0 $stackpointer] } # now do the goto transition lappend state_stack $table([lindex $state_stack end]:$ll,target) lappend value_stack $_ } accept { set accepted 1 } goto - default { puts stderr "Internal parser error: illegal command $table($state:$token)" return 2 } } } return 0 } ###### # end autogenerated taccle functions ###### proc pan::yyerror {msg} { variable yycnt variable yy_current_buffer variable index_ ParserError $msg $yycnt $yy_current_buffer $index_ }