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 crop { variable yylval {} variable table variable rules variable token {} variable yycnt 0 variable yyerr 0 variable save_state 0 namespace export yylex } proc crop::YYABORT {} { return -code return 1 } proc crop::YYACCEPT {} { return -code return 0 } proc crop::YYERROR {} { variable yyerr set yyerr 1 } proc crop::yyclearin {} { variable token variable yycnt set token {} incr yycnt -1 } proc crop::yyerror {s} { puts stderr $s } proc crop::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 crop::unsetupvalues {numsyms} { for {set i 1} {$i <= $numsyms} {incr i} { upvar 1 $i y unset y } } array set crop::table { 21:289 reduce 21:290 reduce 31:294,target 16 46:288,target 31 21:291 reduce 21:301 reduce 21:292 reduce 6:259,target 18 6:260,target 19 21:293 reduce 63:266,target 25 21:294 reduce 43:296,target 28 2:284,target 43 21:295 reduce 48:0 reduce 21:296 reduce 9:301 reduce 21:297 reduce 60:274,target 33 10:298,target 1 25:293,target 10 71:293,target 69 1:258,target 42 57:265,target 24 64:0,target 32 37:295,target 22 33:0,target 18 20:292,target 5 32:294,target 17 6:276,target 35 63:283,target 42 86:301 reduce 7:259,target 18 7:260,target 19 21:0 reduce 74:312,target 83 44:296,target 29 60:291,target 67 60:301,target 61 0:302,target 4 63:0 reduce 56:298,target 1 26:293,target 11 1:275,target 42 26:288 reduce 57:282,target 41 26:289 reduce 26:290 reduce 2:258,target 43 26:291 reduce 26:301 reduce 26:292 reduce 56:298 shift 38:295,target 23 26:293 reduce 56:299 shift 26:294 reduce 26:295 reduce 26:296 reduce 56:313 goto 26:297 reduce 21:292,target 6 63:310,target 74 63:309,target 73 33:294,target 18 7:276,target 35 61:0,target 69 75:312,target 84 45:296,target 30 15:301,target 52 61:301,target 69 29:0,target 14 30:0,target 15 35:0 reduce 1:292,target 42 63:257,target 16 27:293,target 12 2:275,target 43 77:0 reduce 60:265,target 24 40:295,target 25 39:295,target 24 9:0 reduce 62:301 reduce 22:292,target 7 32:288 reduce 32:289 reduce 32:290 reduce 32:291 reduce 32:301 reduce 34:294,target 19 32:292 reduce 32:293 reduce 32:294 reduce 32:295 reduce 46:296,target 31 16:301,target 1 32:296 reduce 62:301,target 70 32:297 reduce 6:267,target 26 63:274,target 33 2:292,target 43 13:298,target 1 58:298,target 1 28:293,target 13 74:293,target 69 60:282,target 41 50:0 reduce 49:0 reduce 57:0,target 68 71:311,target 79 41:295,target 26 1:266,target 42 57:273,target 32 26:0,target 11 23:292,target 8 7:319,target 53 35:294,target 20 6:284,target 43 17:301,target 2 63:291,target 67 63:301,target 53 67:301 reduce 7:267,target 26 14:298,target 1 37:288 reduce 22:0 reduce 29:293,target 14 30:293,target 15 67:295 reduce 37:290 reduce 37:289 reduce 67:296 reduce 37:301 reduce 37:291 reduce 67:297 reduce 37:292 reduce 0:299,target 2 37:293 reduce 42:295,target 27 37:294 reduce 1:283,target 42 64:0 reduce 37:295 reduce 37:296 reduce 2:266,target 43 37:297 reduce 24:292,target 9 85:0,target 67 36:294,target 21 2:257 reduce 7:284,target 43 18:301,target 3 23:0,target 8 64:301,target 32 2:258 reduce 2:260 reduce 2:259 reduce 2:261 reduce 2:262 reduce 2:263 reduce 31:293,target 16 2:264 reduce 2:265 reduce 2:266 reduce 1:299,target 42 6:258,target 17 63:265,target 24 36:0 reduce 2:267 reduce 43:295,target 28 2:283,target 43 2:268 reduce 2:270 reduce 2:269 reduce 2:271 reduce 60:273,target 32 2:272 reduce 73:301 reduce 2:273 reduce 78:0 reduce 2:274 reduce 25:292,target 10 71:292,target 68 2:275 reduce 43:288 reduce 2:276 reduce 43:290 reduce 43:289 reduce 2:277 reduce 1:257,target 42 57:264,target 23 43:301 reduce 43:291 reduce 2:278 reduce 43:292 reduce 37:294,target 22 2:280 reduce 2:279 reduce 43:293 reduce 2:281 reduce 43:294 reduce 2:282 reduce 43:295 reduce 2:283 reduce 43:296 reduce 2:284 reduce 79:312,target 85 43:297 reduce 2:285 reduce 19:301,target 4 20:291,target 5 20:301,target 5 65:301,target 33 2:286 reduce 2:287 reduce 8:0,target 47 2:288 reduce 82:0,target 59 2:290 reduce 2:289 reduce 2:301 reduce 2:291 reduce 32:293,target 17 2:292 reduce 6:275,target 34 13:298 shift 63:282,target 41 2:293 reduce 13:299 shift 51:0,target 74 2:299,target 43 2:294 reduce 7:258,target 17 74:311,target 82 44:295,target 29 13:313 goto 60:290,target 66 60:289,target 65 2:298 reduce 7:257 shift 19:0,target 4 20:0,target 5 51:0 reduce 2:299 reduce 7:258 shift 7:259 shift 7:260 shift 7:261 shift 26:292,target 11 1:274,target 42 7:262 shift 57:281,target 40 7:263 shift 2:257,target 43 7:264 shift 7:265 shift 38:294,target 23 7:266 shift 7:267 shift 7:268 shift 7:269 shift 7:270 shift 7:271 shift 7:272 shift 21:291,target 6 21:301,target 6 78:301 reduce 66:301,target 34 7:273 shift 7:274 shift 7:275 shift 7:276 shift 7:277 shift 33:293,target 18 48:301 reduce 7:275,target 34 7:278 shift 7:279 shift 7:280 shift 7:281 shift 7:282 shift 45:295,target 30 7:283 shift 7:284 shift 18:301 reduce 23:0 reduce 7:285 shift 7:286 shift 1:301,target 42 1:291,target 42 5:0,target 48 7:287 shift 27:292,target 12 78:0,target 41 2:274,target 43 65:0 reduce 60:264,target 23 47:0,target 73 40:294,target 25 39:294,target 24 16:0,target 1 82:312,target 86 7:309 goto 7:310 goto 22:291,target 7 22:301,target 7 67:301,target 35 6:318,target 50 34:293,target 19 4:299,target 2 7:319 goto 46:295,target 31 6:266,target 25 84:301 reduce 63:273,target 32 2:291,target 43 2:301,target 43 37:0 reduce 28:292,target 13 74:292,target 68 60:281,target 40 41:294,target 26 80:0 reduce 79:0 reduce 24:288 reduce 1:265,target 42 24:289 reduce 24:290 reduce 57:272,target 31 24:291 reduce 24:301 reduce 24:292 reduce 54:298 shift 23:291,target 8 23:301,target 8 24:293 reduce 68:301,target 36 54:299 shift 2:0,target 43 24:294 reduce 24:295 reduce 75:0,target 57 60:261 shift 24:296 reduce 60:262 shift 54:313 goto 24:297 reduce 60:263 shift 35:293,target 20 60:264 shift 60:265 shift 44:0,target 29 60:266 shift 60:267 shift 60:268 shift 6:283,target 42 63:290,target 66 63:289,target 65 60:270 shift 60:269 shift 60:271 shift 7:266,target 25 60:272 shift 60:273 shift 60:274 shift 29:292,target 14 30:292,target 15 60:275 shift 60:276 shift 60:277 shift 0:308,target 9 0:298,target 1 60:278 shift 52:0 reduce 60:280 shift 60:279 shift 42:294,target 27 1:282,target 42 60:281 shift 60:282 shift 2:265,target 43 60:283 shift 60:284 shift 60:285 shift 24:291,target 9 24:301,target 9 70:301,target 38 69:301,target 37 60:286 shift 60:287 shift 60:288 shift 60:290 shift 60:289 shift 60:291 shift 60:301 reduce 36:293,target 21 60:292 shift 60:293 shift 60:294 shift 6:309,target 48 6:310,target 49 29:288 reduce 30:288 reduce 29:289 reduce 29:290 reduce 30:289 reduce 30:290 reduce 7:283,target 42 29:291 reduce 29:301 reduce 30:291 reduce 30:301 reduce 29:292 reduce 30:292 reduce 29:293 reduce 30:293 reduce 60:310 goto 29:294 reduce 30:294 reduce 60:311 goto 29:295 reduce 30:295 reduce 72:0,target 64 29:296 reduce 30:296 reduce 31:292,target 16 29:297 reduce 30:297 reduce 24:0 reduce 1:298,target 42 6:257,target 16 12:315,target 55 63:264,target 23 41:0,target 26 43:294,target 28 2:282,target 43 66:0 reduce 60:272,target 31 25:291,target 10 25:301,target 10 71:291,target 67 71:301,target 62 57:263,target 22 37:293,target 22 7:309,target 51 7:310,target 52 20:289,target 5 20:290,target 5 4:317,target 15 5:301,target 48 32:292,target 17 6:274,target 33 65:301 reduce 63:281,target 40 2:298,target 43 7:257,target 16 44:294,target 29 35:288 reduce 65:295 reduce 60:288,target 64 38:0 reduce 35:289 reduce 35:290 reduce 65:296 reduce 35:301 reduce 35:291 reduce 65:297 reduce 35:292 reduce 35:293 reduce 0:300,target 3 35:294 reduce 26:291,target 11 26:301,target 11 72:301,target 64 35:295 reduce 1:273,target 42 81:0 reduce 68:0,target 36 57:280,target 39 57:279,target 38 35:296 reduce 35:297 reduce 38:293,target 23 37:0,target 22 21:289,target 6 21:290,target 6 33:292,target 18 7:274,target 33 11:0 accept 45:294,target 30 0:316,target 12 1:290,target 42 1:289,target 42 53:0 reduce 27:291,target 12 27:301,target 12 73:301,target 54 2:273,target 43 71:288 shift 71:290 shift 71:289 shift 71:291 shift 71:301 reduce 60:263,target 22 71:292 shift 40:293,target 25 39:293,target 24 71:293 shift 71:294 shift 41:288 reduce 71:295 shift 41:290 reduce 41:289 reduce 71:296 shift 41:301 reduce 41:291 reduce 71:297 shift 41:292 reduce 22:289,target 7 22:290,target 7 41:293 reduce 41:294 reduce 71:311 goto 41:295 reduce 71:312 goto 65:0,target 33 41:296 reduce 64:297,target 32 41:297 reduce 34:292,target 19 4:298,target 1 34:0,target 19 0:300 shift 46:294,target 31 0:302 shift 0:303 shift 6:265,target 24 63:272,target 31 0:304 shift 25:0 reduce 2:290,target 43 2:289,target 43 0:305 shift 28:291,target 13 28:301,target 13 74:291,target 67 74:301,target 55 0:307 shift 60:280,target 39 60:279,target 38 0:308 shift 0:298 shift 0:299 shift 67:0 reduce 41:293,target 26 0:313 goto 0:314 goto 1:264,target 42 57:271,target 30 0:316 goto 23:289,target 8 23:290,target 8 8:301,target 47 20:297,target 5 65:297,target 33 35:292,target 20 76:301 reduce 46:288 reduce 46:290 reduce 46:289 reduce 6:282,target 41 63:288,target 64 46:301 reduce 46:291 reduce 46:292 reduce 7:265,target 24 46:293 reduce 46:294 reduce 3:300,target 13 46:295 reduce 29:291,target 14 29:301,target 14 30:291,target 15 30:301,target 15 75:301,target 57 62:0,target 70 46:296 reduce 16:301 reduce 46:297 reduce 40:0 reduce 39:0 reduce 0:307,target 8 42:293,target 27 1:281,target 42 31:0,target 16 57:287,target 46 2:264,target 43 5:301 reduce 82:0 reduce 24:289,target 9 24:290,target 9 9:301,target 51 21:297,target 6 66:297,target 34 36:292,target 21 7:282,target 41 12:0 reduce 31:291,target 16 31:301,target 16 76:301,target 39 82:301 reduce 63:263,target 22 43:293,target 28 2:281,target 43 82:295 shift 82:296 shift 60:271,target 30 52:301 reduce 82:297 shift 25:289,target 10 25:290,target 10 71:290,target 66 71:289,target 65 22:288 reduce 22:289 reduce 22:290 reduce 82:312 goto 22:291 reduce 22:301 reduce 57:262,target 21 22:292 reduce 22:297,target 7 67:297,target 35 57:257 shift 37:292,target 22 22:293 reduce 57:258 shift 22:294 reduce 57:260 shift 57:259 shift 22:295 reduce 27:0,target 12 57:261 shift 22:296 reduce 57:262 shift 22:297 reduce 57:263 shift 20:288,target 5 57:264 shift 57:265 shift 57:266 shift 57:267 shift 57:268 shift 32:291,target 17 32:301,target 17 77:301,target 40 57:270 shift 57:269 shift 6:273,target 32 63:280,target 39 63:279,target 38 57:271 shift 57:272 shift 57:273 shift 26:0 reduce 57:274 shift 44:293,target 29 60:287,target 46 57:275 shift 57:276 shift 57:277 shift 57:278 shift 68:0 reduce 57:280 shift 57:279 shift 26:289,target 11 26:290,target 11 57:281 shift 1:272,target 42 57:282 shift 57:278,target 37 57:283 shift 1:0 reduce 57:284 shift 23:297,target 8 68:297,target 36 57:285 shift 38:292,target 23 57:286 shift 57:287 shift 57:301 reduce 21:288,target 6 86:0,target 60 27:288 reduce 27:289 reduce 27:290 reduce 27:291 reduce 27:301 reduce 33:291,target 18 33:301,target 18 78:301,target 41 7:273,target 32 27:292 reduce 63:257 shift 27:293 reduce 63:258 shift 57:310 goto 57:309 goto 27:294 reduce 63:260 shift 63:259 shift 24:0,target 9 27:295 reduce 63:261 shift 45:293,target 30 27:296 reduce 63:262 shift 27:297 reduce 63:263 shift 63:264 shift 41:0 reduce 63:265 shift 1:288,target 42 63:266 shift 27:289,target 12 27:290,target 12 63:267 shift 2:272,target 43 63:268 shift 63:270 shift 63:269 shift 83:0 reduce 63:271 shift 60:262,target 21 54:313,target 58 24:297,target 9 70:297,target 38 69:297,target 37 63:272 shift 40:292,target 25 39:292,target 24 63:273 shift 63:274 shift 63:275 shift 63:276 shift 63:277 shift 22:288,target 7 63:278 shift 63:280 shift 63:279 shift 63:281 shift 63:282 shift 64:296,target 32 63:283 shift 34:291,target 19 34:301,target 19 80:301,target 63 79:301,target 66 63:284 shift 63:285 shift 63:286 shift 63:287 shift 63:288 shift 46:293,target 31 63:290 shift 63:289 shift 9:0,target 51 63:291 shift 63:301 reduce 6:264,target 23 83:0,target 56 63:292 shift 63:271,target 30 63:293 shift 2:288,target 43 63:294 shift 28:289,target 13 28:290,target 13 33:288 reduce 74:290,target 66 74:289,target 65 33:289 reduce 33:290 reduce 60:278,target 37 52:0,target 75 33:291 reduce 33:301 reduce 10:313,target 54 33:292 reduce 25:297,target 10 33:293 reduce 71:297,target 78 63:310 goto 63:309 goto 41:292,target 26 33:294 reduce 63:311 goto 21:0,target 6 33:295 reduce 1:263,target 42 33:296 reduce 57:270,target 29 57:269,target 28 33:297 reduce 23:288,target 8 20:296,target 5 65:296,target 33 35:301,target 20 35:291,target 20 81:301,target 65 6:281,target 40 63:287,target 46 7:264,target 23 27:0 reduce 29:289,target 14 29:290,target 14 30:289,target 15 30:290,target 15 56:313,target 60 26:297,target 11 72:297,target 78 42:292,target 27 1:280,target 42 1:279,target 42 70:0 reduce 69:0 reduce 57:286,target 45 2:263,target 43 68:301 reduce 2:0 reduce 80:0,target 63 79:0,target 66 24:288,target 9 38:288 reduce 68:295 reduce 38:290 reduce 38:289 reduce 68:296 reduce 48:0,target 71 38:301 reduce 38:291 reduce 21:296,target 6 68:297 reduce 66:296,target 34 38:292 reduce 36:301,target 21 36:291,target 21 82:301,target 59 38:293 reduce 38:294 reduce 38:295 reduce 17:0,target 2 38:296 reduce 38:297 reduce 7:281,target 40 31:289,target 16 31:290,target 16 63:262,target 21 42:0 reduce 27:297,target 12 43:292,target 28 2:280,target 43 2:279,target 43 60:270,target 29 60:269,target 28 84:0 reduce 25:288,target 10 71:288,target 64 57:261,target 20 22:296,target 7 67:296,target 35 37:301,target 22 37:291,target 22 83:301,target 56 74:288 shift 74:290 shift 74:289 shift 74:291 shift 74:301 reduce 76:0,target 39 74:292 shift 74:293 shift 74:294 shift 44:288 reduce 74:295 shift 44:290 reduce 44:289 reduce 32:289,target 17 32:290,target 17 74:296 shift 45:0,target 30 44:301 reduce 44:291 reduce 6:272,target 31 74:297 shift 63:278,target 37 44:292 reduce 44:293 reduce 13:313,target 56 58:313,target 63 44:294 reduce 28:297,target 13 74:297,target 78 74:311 goto 44:295 reduce 44:292,target 29 74:312 goto 60:286,target 45 44:296 reduce 44:297 reduce 26:288,target 11 1:271,target 42 3:300 shift 57:277,target 36 14:298 shift 14:299 shift 23:296,target 8 68:296,target 36 38:301,target 23 38:291,target 23 84:301,target 58 14:313 goto 33:289,target 18 33:290,target 18 7:272,target 31 14:313,target 57 29:297,target 14 30:297,target 15 75:297,target 78 45:292,target 30 28:0 reduce 0:314,target 11 80:301 reduce 79:301 reduce 73:0,target 54 1:287,target 42 27:288,target 12 2:271,target 43 79:295 shift 71:0 reduce 79:296 shift 50:301 reduce 49:301 reduce 42:0,target 27 79:297 shift 60:261,target 20 24:296,target 9 70:296,target 38 69:296,target 37 40:301,target 25 40:291,target 25 39:301,target 24 39:291,target 24 85:301,target 67 20:288 reduce 11:0,target 0 20:289 reduce 20:290 reduce 79:312 goto 19:301 reduce 20:291 reduce 20:301 reduce 20:292 reduce 20:293 reduce 20:294 reduce 20:295 reduce 20:296 reduce 8:301 reduce 20:297 reduce 64:295,target 32 34:289,target 19 34:290,target 19 31:297,target 16 46:292,target 31 6:263,target 22 63:270,target 29 63:269,target 28 2:287,target 43 43:0 reduce 28:288,target 13 74:288,target 64 60:277,target 36 25:296,target 10 71:296,target 77 41:301,target 26 41:291,target 26 86:301,target 60 85:0 reduce 1:262,target 42 57:268,target 27 85:301 reduce 70:0,target 38 69:0,target 37 20:295,target 5 65:295,target 33 55:301 shift 38:0,target 23 35:289,target 20 35:290,target 20 25:288 reduce 25:289 reduce 25:290 reduce 32:297,target 17 6:279,target 38 6:280,target 39 25:291 reduce 25:301 reduce 63:286,target 45 25:292 reduce 7:263,target 22 25:293 reduce 15:0 reduce 25:294 reduce 25:295 reduce 60:294,target 70 25:296 reduce 29:288,target 14 30:288,target 15 25:297 reduce 0:305,target 7 57:0 reduce 26:296,target 11 72:296,target 77 42:301,target 27 42:291,target 27 1:278,target 42 57:285,target 44 2:262,target 43 21:295,target 6 66:295,target 34 36:290,target 21 36:289,target 21 6:306,target 47 33:297,target 18 7:279,target 38 7:280,target 39 66:0,target 34 31:288,target 16 61:301 reduce 29:0 reduce 30:0 reduce 35:0,target 20 63:261,target 20 27:296,target 12 43:301,target 28 43:291,target 28 2:278,target 43 31:288 reduce 31:289 reduce 31:290 reduce 31:291 reduce 31:301 reduce 72:0 reduce 60:268,target 27 31:292 reduce 31:293 reduce 31:294 reduce 31:295 reduce 31:296 reduce 31:297 reduce 57:260,target 19 57:259,target 18 22:295,target 7 67:295,target 35 37:290,target 22 37:289,target 22 34:297,target 19 79:297,target 78 32:288,target 17 6:271,target 30 63:277,target 36 28:296,target 13 74:296,target 77 44:301,target 29 44:291,target 29 60:285,target 44 44:0 reduce 63:0,target 53 1:270,target 42 1:269,target 42 86:0 reduce 57:276,target 35 66:301 reduce 23:295,target 8 32:0,target 17 68:295,target 36 38:290,target 23 38:289,target 23 36:288 reduce 66:295 reduce 36:290 reduce 36:289 reduce 66:296 reduce 36:301 reduce 36:291 reduce 35:297,target 20 66:297 reduce 36:292 reduce 36:293 reduce 36:294 reduce 36:295 reduce 36:296 reduce 6:287,target 46 63:294,target 70 36:297 reduce 33:288,target 18 7:271,target 30 16:0 reduce 29:296,target 14 30:296,target 15 75:296,target 77 45:301,target 30 45:291,target 30 0:313,target 10 1:286,target 42 2:270,target 43 2:269,target 43 1:257 reduce 1:258 reduce 1:259 reduce 1:260 reduce 24:295,target 9 70:295,target 38 69:295,target 37 40:290,target 25 40:289,target 25 39:290,target 24 39:289,target 24 1:261 reduce 1:262 reduce 1:263 reduce 1:264 reduce 36:297,target 21 1:265 reduce 82:297,target 78 1:266 reduce 1:267 reduce 60:0,target 61 59:0,target 46 1:268 reduce 1:270 reduce 1:269 reduce 1:271 reduce 7:287,target 46 1:272 reduce 34:288,target 19 72:301 reduce 1:273 reduce 28:0,target 13 1:274 reduce 1:275 reduce 42:288 reduce 1:276 reduce 31:296,target 16 72:295 shift 46:301,target 31 46:291,target 31 42:290 reduce 42:289 reduce 1:277 reduce 72:296 shift 42:301 reduce 42:291 reduce 1:278 reduce 72:297 shift 42:292 reduce 1:280 reduce 1:279 reduce 6:262,target 21 63:268,target 27 42:293 reduce 1:281 reduce 31:0 reduce 42:294 reduce 2:286,target 43 1:282 reduce 42:295 reduce 1:283 reduce 72:312 goto 42:296 reduce 1:284 reduce 12:301 reduce 60:276,target 35 42:297 reduce 1:285 reduce 1:286 reduce 73:0 reduce 1:287 reduce 25:295,target 10 71:295,target 76 41:290,target 26 41:289,target 26 1:288 reduce 1:290 reduce 1:289 reduce 1:301 reduce 1:291 reduce 1:261,target 42 5:0 reduce 57:267,target 26 1:292 reduce 37:297,target 22 1:293 reduce 1:294 reduce 1:298 reduce 6:257 shift 12:315 goto 20:294,target 5 1:299 reduce 6:258 shift 35:288,target 20 6:259 shift 6:260 shift 6:261 shift 6:262 shift 6:263 shift 32:296,target 17 47:301,target 73 6:264 shift 6:278,target 37 63:285,target 44 6:265 shift 6:266 shift 7:262,target 21 6:267 shift 6:268 shift 60:293,target 69 6:269 shift 6:270 shift 6:271 shift 45:0 reduce 6:272 shift 77:301 reduce 0:304,target 6 6:273 shift 25:0,target 10 6:274 shift 26:295,target 11 72:295,target 76 42:290,target 27 42:289,target 27 1:277,target 42 6:275 shift 57:284,target 43 6:276 shift 2:261,target 43 6:277 shift 47:301 reduce 6:278 shift 38:297,target 23 6:279 shift 6:280 shift 6:281 shift 6:282 shift 6:283 shift 6:284 shift 17:301 reduce 6:285 shift 21:294,target 6 36:288,target 21 6:286 shift 6:287 shift 33:296,target 18 48:301,target 71 7:278,target 37 6:306 shift 17:0 reduce 6:309 goto 6:310 goto 1:294,target 42 63:260,target 19 63:259,target 18 27:295,target 12 43:290,target 28 43:289,target 28 2:277,target 43 60:0 reduce 59:0 reduce 84:0,target 58 60:267,target 26 40:297,target 25 39:297,target 24 6:318 goto 53:0,target 49 57:258,target 17 22:294,target 7 83:301 reduce 37:288,target 22 22:0,target 7 34:296,target 19 79:296,target 77 53:301 reduce 50:301,target 50 49:301,target 72 4:313,target 14 23:288 reduce 23:289 reduce 23:290 reduce 23:291 reduce 23:301 reduce 6:269,target 28 6:270,target 29 23:292 reduce 63:276,target 35 23:293 reduce 2:294,target 43 23:294 reduce 23:295 reduce 28:295,target 13 32:0 reduce 74:295,target 76 44:290,target 29 44:289,target 29 23:296 reduce 60:284,target 43 23:297 reduce 41:297,target 26 74:0 reduce 1:268,target 42 57:275,target 34 23:294,target 8 38:288,target 23 81:0,target 65 35:296,target 20 51:301,target 74 50:0,target 50 49:0,target 72 6:286,target 45 63:293,target 69 7:269,target 28 7:270,target 29 18:0,target 3 60:311,target 72 29:295,target 14 30:295,target 15 75:295,target 76 45:290,target 30 45:289,target 30 46:0 reduce 42:297,target 27 1:285,target 42 28:288 reduce 2:268,target 43 28:289 reduce 28:290 reduce 28:291 reduce 28:301 reduce 28:292 reduce 58:298 shift 54:299,target 2 24:294,target 9 28:293 reduce 58:299 shift 40:288,target 25 39:288,target 24 28:294 reduce 28:295 reduce 28:296 reduce 58:313 goto 28:297 reduce 36:296,target 21 82:296,target 77 52:301,target 75 7:286,target 45 31:295,target 16 46:290,target 31 46:289,target 31 77:0,target 40 18:0 reduce 6:261,target 20 63:267,target 26 43:297,target 28 2:285,target 43 46:0,target 31 61:0 reduce 60:275,target 34 10:299,target 2 15:0,target 52 25:294,target 10 71:294,target 70 41:288,target 26 1:259,target 42 1:260,target 42 57:266,target 25 64:301 reduce 37:296,target 22 53:301,target 49 34:288 reduce 64:295 reduce 34:289 reduce 34:290 reduce 64:296 reduce 20:293,target 5 34:291 reduce 34:301 reduce 64:297 reduce 34:292 reduce 34:293 reduce 34:294 reduce 34:295 reduce 32:295,target 17 34:296 reduce 6:277,target 36 34:297 reduce 63:284,target 43 7:261,target 20 44:297,target 29 60:292,target 68 33:0 reduce 0:303,target 5 56:299,target 2 26:294,target 11 42:288,target 27 1:276,target 42 75:0 reduce 57:283,target 42 1:0,target 42 2:260,target 43 2:259,target 43 74:0,target 55 38:296,target 23 43:0,target 28 21:293,target 6 12:0,target 44 63:311,target 75 33:295,target 18 7:277,target 36 70:301 reduce 69:301 reduce 45:297,target 30 40:288 reduce 39:288 reduce 70:295 reduce 69:295 reduce 40:290 reduce 40:289 reduce 39:290 reduce 39:289 reduce 70:296 reduce 69:296 reduce 40:301 reduce 40:291 reduce 39:301 reduce 39:291 reduce 70:297 reduce 69:297 reduce 40:292 reduce 39:292 reduce 40:293 reduce 39:293 reduce 1:293,target 42 63:258,target 17 57:310,target 62 57:309,target 61 47:0 reduce 40:294 reduce 39:294 reduce 27:294,target 12 43:288,target 28 40:295 reduce 39:295 reduce 2:276,target 43 40:296 reduce 39:296 reduce 40:297 reduce 39:297 reduce 60:266,target 25 40:296,target 25 39:296,target 24 55:301,target 59 10:298 shift 57:257,target 16 10:299 shift 22:293,target 7 10:313 goto 34:295,target 19 79:295,target 76 71:0,target 62 46:297,target 31 40:0,target 25 39:0,target 24 6:268,target 27 63:275,target 34 19:0 reduce 20:0 reduce 2:293,target 43 13:299,target 2 58:299,target 2 28:294,target 13 74:294,target 70 44:288,target 29 60:283,target 42 75:301 reduce 62:0 reduce 71:312,target 80 41:296,target 26 45:288 reduce 1:267,target 42 75:295 shift 57:274,target 33 45:290 reduce 45:289 reduce 75:296 shift 45:301 reduce 45:291 reduce 75:297 shift 45:292 reduce 23:293,target 8 45:293 reduce 45:294 reduce 45:295 reduce 75:312 goto 45:296 reduce 15:301 reduce 45:297 reduce 35:295,target 20 6:285,target 44 63:292,target 68 7:268,target 27 14:299,target 2 60:310,target 71 29:294,target 14 30:294,target 15 45:288,target 30 4:298 shift 34:0 reduce 67:0,target 35 4:299 shift 72:312,target 81 42:296,target 27 1:284,target 42 12:301,target 45 57:301,target 68 4:313 goto 36:0,target 21 2:267,target 43 76:0 reduce 54:298,target 1 4:317 goto 24:293,target 9 8:0 reduce 36:295,target 21 82:295,target 76 81:301 reduce 7:285,target 44 51:301 reduce 21:288 reduce } array set crop::rules { 9,l 310 11,l 310 32,l 311 53,l 316 74,l 319 6,l 310 28,l 310 50,l 316 49,l 316 71,l 318 3,l 309 25,l 310 46,l 314 67,l 316 0,l 320 22,l 310 43,l 313 64,l 316 18,l 310 40,l 312 39,l 312 61,l 316 15,l 310 36,l 311 57,l 316 12,l 310 33,l 311 54,l 316 75,l 319 7,l 310 29,l 310 30,l 310 51,l 316 72,l 318 4,l 309 26,l 310 47,l 316 68,l 317 1,l 309 23,l 310 44,l 314 65,l 316 19,l 310 20,l 310 41,l 312 62,l 316 16,l 310 37,l 311 58,l 316 13,l 310 34,l 311 55,l 316 8,l 310 10,l 310 31,l 310 52,l 316 73,l 318 5,l 310 27,l 310 48,l 316 70,l 317 69,l 317 2,l 309 24,l 310 45,l 315 66,l 316 21,l 310 42,l 313 63,l 316 17,l 310 38,l 311 60,l 316 59,l 316 14,l 310 35,l 311 56,l 316 } array set crop::rules { 63,dc 6 12,dc 1 26,dc 1 3,dc 1 41,dc 1 55,dc 5 70,dc 3 69,dc 3 18,dc 1 33,dc 1 9,dc 1 47,dc 1 62,dc 5 11,dc 1 25,dc 1 2,dc 1 40,dc 1 39,dc 1 54,dc 5 68,dc 2 17,dc 1 32,dc 1 8,dc 1 46,dc 3 61,dc 4 10,dc 1 75,dc 1 24,dc 1 1,dc 1 38,dc 1 53,dc 4 67,dc 7 16,dc 1 31,dc 1 7,dc 1 45,dc 0 60,dc 7 59,dc 6 74,dc 1 23,dc 1 0,dc 1 37,dc 1 52,dc 2 66,dc 6 15,dc 1 29,dc 1 30,dc 1 6,dc 1 44,dc 1 58,dc 6 73,dc 1 22,dc 1 36,dc 1 51,dc 1 65,dc 6 14,dc 1 28,dc 1 5,dc 1 43,dc 1 57,dc 5 72,dc 1 21,dc 1 35,dc 1 50,dc 2 49,dc 2 64,dc 5 13,dc 1 27,dc 1 4,dc 1 42,dc 1 56,dc 6 71,dc 1 19,dc 1 20,dc 1 34,dc 1 48,dc 1 } array set crop::rules { 41,line 164 7,line 128 37,line 159 4,line 124 34,line 156 1,line 121 31,line 152 27,line 148 24,line 145 21,line 142 17,line 138 73,line 208 14,line 135 70,line 203 69,line 202 11,line 132 66,line 197 63,line 194 60,line 191 59,line 189 56,line 186 53,line 182 50,line 178 49,line 177 46,line 172 43,line 168 9,line 130 40,line 163 39,line 162 6,line 127 36,line 158 3,line 123 33,line 155 29,line 150 30,line 151 26,line 147 23,line 144 19,line 140 20,line 141 75,line 212 16,line 137 72,line 207 13,line 134 68,line 201 10,line 131 65,line 196 62,line 193 58,line 188 55,line 185 52,line 181 48,line 176 45,line 171 42,line 167 8,line 129 38,line 160 5,line 126 35,line 157 2,line 122 32,line 154 28,line 149 25,line 146 22,line 143 45,e 1 18,line 139 74,line 211 15,line 136 71,line 206 12,line 133 67,line 198 64,line 195 61,line 192 57,line 187 54,line 184 51,line 179 47,line 175 44,line 171 } array set crop::lr1_table { 35 {{20 {0 301} 1}} 66,trans {} 85,trans {} 36 {{21 {0 301} 1}} 37 {{22 {0 301} 1}} 38 {{23 {0 301} 1}} 40 {{25 {0 301} 1}} 39 {{24 {0 301} 1}} 117,trans {} 41 {{26 {0 301} 1}} 42 {{27 {0 301} 1}} 43 {{28 {0 301} 1}} 44 {{29 {0 301} 1}} 45 {{30 {0 301} 1}} 46 {{31 {0 301} 1}} 47 {{73 {0 301} 1}} 48 {{71 {0 301} 1}} 49 {{72 {0 301} 1}} 50 {{50 {0 301} 2}} 27,trans {} 51 {{74 {0 301} 1}} 46,trans {} 52 {{75 {0 301} 1}} 65,trans {} 84,trans {} 53 {{49 {0 301} 2}} 54 {{53 {0 301} 2} {54 {0 301} 2} {55 {0 301} 2} {56 {0 301} 2} {57 {0 301} 2} {58 {0 301} 2} {59 {0 301} 2} {60 {0 301} 2} {42 {298 299} 0} {43 {298 299} 0}} 55 {{46 0 2}} 56 {{61 {0 301} 3} {62 {0 301} 3} {63 {0 301} 3} {64 {0 301} 3} {65 {0 301} 3} {66 {0 301} 3} {67 {0 301} 3} {42 {0 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 301} 0} {43 {0 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 301} 0}} 116,trans {} 57 {{42 {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 301} 1}} 58 {{43 {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 301} 1}} 59 {{68 {0 301} 2} {69 {0 301} 2} {70 {0 301} 2} {1 {0 301} 0} {2 {0 301} 0} {3 {0 301} 0} {4 {0 301} 0} {5 {0 301} 0} {6 {0 301} 0} {7 {0 301} 0} {8 {0 301} 0} {9 {0 301} 0} {10 {0 301} 0} {11 {0 301} 0} {12 {0 301} 0} {13 {0 301} 0} {14 {0 301} 0} {15 {0 301} 0} {16 {0 301} 0} {17 {0 301} 0} {18 {0 301} 0} {19 {0 301} 0} {20 {0 301} 0} {21 {0 301} 0} {22 {0 301} 0} {23 {0 301} 0} {24 {0 301} 0} {25 {0 301} 0} {26 {0 301} 0} {27 {0 301} 0} {28 {0 301} 0} {29 {0 301} 0} {30 {0 301} 0} {31 {0 301} 0}} 60 {{53 {0 301} 3} {54 {0 301} 3} {55 {0 301} 3} {56 {0 301} 3} {57 {0 301} 3} {58 {0 301} 3} {59 {0 301} 3} {60 {0 301} 3} {42 {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 301} 0} {43 {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 301} 0}} 61 {{46 0 3}} 62 {{42 {0 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 301} 1}} 63 {{43 {0 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 301} 1}} 64 {{61 {0 301} 4} {62 {0 301} 4} {63 {0 301} 4} {64 {0 301} 4} {65 {0 301} 4} {66 {0 301} 4} {67 {0 301} 4} {5 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {6 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {7 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {8 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {9 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {10 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {11 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {12 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {13 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {14 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {15 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {16 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {17 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {18 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {19 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {20 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {21 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {22 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {23 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {24 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {25 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {26 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {27 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {28 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {29 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {30 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {31 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {32 {0 295 296 297 301} 0} {33 {0 295 296 297 301} 0} {34 {0 295 296 297 301} 0} {35 {0 295 296 297 301} 0} {36 {0 295 296 297 301} 0} {37 {0 295 296 297 301} 0} {38 {0 295 296 297 301} 0}} 65 {{69 {0 301} 3}} 26,trans {} 66 {{70 {0 301} 3}} 45,trans {} 67 {{42 {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 301} 1}} 68 {{43 {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 301} 1}} 64,trans {{261 70} {262 71} {263 72} {264 73} {265 74} {266 75} {267 76} {268 77} {269 78} {270 79} {271 80} {272 81} {273 82} {274 83} {275 84} {276 85} {277 86} {278 87} {279 88} {280 89} {281 90} {282 91} {283 92} {284 93} {285 94} {286 95} {287 96} {288 97} {289 98} {290 99} {291 100} {292 101} {293 102} {294 103} {310 104} {311 105}} 83,trans {} 69 {{53 {0 301} 4} {54 {0 301} 4} {55 {0 301} 4} {56 {0 301} 4} {57 {0 301} 4} {58 {0 301} 4} {59 {0 301} 4} {60 {0 301} 4} {1 {0 301} 0} {2 {0 301} 0} {3 {0 301} 0} {4 {0 301} 0} {5 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {6 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {7 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {8 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {9 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {10 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {11 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {12 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {13 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {14 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {15 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {16 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {17 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {18 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {19 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {20 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {21 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {22 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {23 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {24 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {25 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {26 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {27 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {28 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {29 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {30 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {31 {0 288 289 290 291 292 293 294 295 296 297 301} 0} {32 {0 295 296 297 301} 0} {33 {0 295 296 297 301} 0} {34 {0 295 296 297 301} 0} {35 {0 295 296 297 301} 0} {36 {0 295 296 297 301} 0} {37 {0 295 296 297 301} 0} {38 {0 295 296 297 301} 0}} 70 {{5 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 71 {{6 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 72 {{7 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 73 {{8 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 115,trans {{295 109} {296 110} {297 111} {312 119}} 74 {{9 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 75 {{10 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 76 {{11 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 77 {{12 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 78 {{13 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 79 {{14 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 80 {{15 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 81 {{16 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 82 {{17 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 25,trans {} 83 {{18 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 44,trans {} 84 {{19 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 63,trans {} 85 {{20 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 86 {{21 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 82,trans {} 87 {{22 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 0 {{0 0 0} {44 0 0} {46 0 0} {47 {0 301} 0} {48 {0 301} 0} {49 {0 301} 0} {50 {0 301} 0} {51 {0 301} 0} {52 {0 301} 0} {53 {0 301} 0} {54 {0 301} 0} {55 {0 301} 0} {56 {0 301} 0} {57 {0 301} 0} {58 {0 301} 0} {59 {0 301} 0} {60 {0 301} 0} {61 {0 301} 0} {62 {0 301} 0} {63 {0 301} 0} {64 {0 301} 0} {65 {0 301} 0} {66 {0 301} 0} {67 {0 301} 0} {42 {298 299} 0} {43 {298 299} 0}} 88 {{23 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 1 {{42 {298 299} 1}} 89 {{24 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 90 {{25 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 114,trans {} 2 {{43 {298 299} 1}} 91 {{26 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 3 {{61 {0 301} 1} {62 {0 301} 1} {63 {0 301} 1} {64 {0 301} 1} {65 {0 301} 1} {66 {0 301} 1} {67 {0 301} 1}} 92 {{27 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 4 {{52 {0 301} 1} {68 {0 301} 0} {69 {0 301} 0} {70 {0 301} 0} {42 {298 299} 0} {43 {298 299} 0}} 93 {{28 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 5 {{48 {0 301} 1}} 94 {{29 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 6 {{50 {0 301} 1} {71 {0 301} 0} {72 {0 301} 0} {73 {0 301} 0} {1 {0 301} 0} {2 {0 301} 0} {3 {0 301} 0} {4 {0 301} 0} {5 {0 301} 0} {6 {0 301} 0} {7 {0 301} 0} {8 {0 301} 0} {9 {0 301} 0} {10 {0 301} 0} {11 {0 301} 0} {12 {0 301} 0} {13 {0 301} 0} {14 {0 301} 0} {15 {0 301} 0} {16 {0 301} 0} {17 {0 301} 0} {18 {0 301} 0} {19 {0 301} 0} {20 {0 301} 0} {21 {0 301} 0} {22 {0 301} 0} {23 {0 301} 0} {24 {0 301} 0} {25 {0 301} 0} {26 {0 301} 0} {27 {0 301} 0} {28 {0 301} 0} {29 {0 301} 0} {30 {0 301} 0} {31 {0 301} 0}} 95 {{30 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 7 {{49 {0 301} 1} {74 {0 301} 0} {75 {0 301} 0} {1 {0 301} 0} {2 {0 301} 0} {3 {0 301} 0} {4 {0 301} 0} {5 {0 301} 0} {6 {0 301} 0} {7 {0 301} 0} {8 {0 301} 0} {9 {0 301} 0} {10 {0 301} 0} {11 {0 301} 0} {12 {0 301} 0} {13 {0 301} 0} {14 {0 301} 0} {15 {0 301} 0} {16 {0 301} 0} {17 {0 301} 0} {18 {0 301} 0} {19 {0 301} 0} {20 {0 301} 0} {21 {0 301} 0} {22 {0 301} 0} {23 {0 301} 0} {24 {0 301} 0} {25 {0 301} 0} {26 {0 301} 0} {27 {0 301} 0} {28 {0 301} 0} {29 {0 301} 0} {30 {0 301} 0} {31 {0 301} 0}} 96 {{31 {0 288 289 290 291 292 293 294 295 296 297 301} 1}} 8 {{47 {0 301} 1}} 97 {{32 {0 295 296 297 301} 1}} 9 {{51 {0 301} 1}} 98 {{33 {0 295 296 297 301} 1}} 24,trans {} 99 {{34 {0 295 296 297 301} 1}} 43,trans {} 62,trans {} 81,trans {} 99,trans {} 113,trans {} 23,trans {} 42,trans {} 61,trans {} 79,trans {} 80,trans {} 98,trans {} 9,trans {} 112,trans {{295 109} {296 110} {297 111} {312 118}} 22,trans {} 41,trans {} 59,trans {{257 16} {258 17} {259 18} {260 19} {261 20} {262 21} {263 22} {264 23} {265 24} {266 25} {267 26} {268 27} {269 28} {270 29} {271 30} {272 31} {273 32} {274 33} {275 34} {276 35} {277 36} {278 37} {279 38} {280 39} {281 40} {282 41} {283 42} {284 43} {285 44} {286 45} {287 46} {309 65} {310 66}} 60,trans {{298 67} {299 68} {313 69}} 78,trans {} 97,trans {} 8,trans {} 111,trans {} 100 {{35 {0 295 296 297 301} 1}} 101 {{36 {0 295 296 297 301} 1}} 102 {{37 {0 295 296 297 301} 1}} 103 {{38 {0 295 296 297 301} 1}} 104 {{62 {0 301} 5} {63 {0 301} 5} {66 {0 301} 5} {67 {0 301} 5} {39 {0 301} 0} {40 {0 301} 0} {41 {0 301} 0} {32 {0 295 296 297 301} 0} {33 {0 295 296 297 301} 0} {34 {0 295 296 297 301} 0} {35 {0 295 296 297 301} 0} {36 {0 295 296 297 301} 0} {37 {0 295 296 297 301} 0} {38 {0 295 296 297 301} 0}} 105 {{64 {0 301} 5} {65 {0 301} 5} {39 {0 301} 0} {40 {0 301} 0} {41 {0 301} 0}} 21,trans {} 106 {{54 {0 301} 5}} 39,trans {} 40,trans {} 107 {{55 {0 301} 5} {56 {0 301} 5} {59 {0 301} 5} {60 {0 301} 5} {39 {0 301} 0} {40 {0 301} 0} {41 {0 301} 0} {32 {0 295 296 297 301} 0} {33 {0 295 296 297 301} 0} {34 {0 295 296 297 301} 0} {35 {0 295 296 297 301} 0} {36 {0 295 296 297 301} 0} {37 {0 295 296 297 301} 0} {38 {0 295 296 297 301} 0}} 58,trans {} 108 {{57 {0 301} 5} {58 {0 301} 5} {39 {0 301} 0} {40 {0 301} 0} {41 {0 301} 0}} 110 {{40 {0 301} 1}} 109 {{39 {0 301} 1}} 77,trans {} 111 {{41 {0 301} 1}} 96,trans {} 7,trans {{257 16} {258 17} {259 18} {260 19} {261 20} {262 21} {263 22} {264 23} {265 24} {266 25} {267 26} {268 27} {269 28} {270 29} {271 30} {272 31} {273 32} {274 33} {275 34} {276 35} {277 36} {278 37} {279 38} {280 39} {281 40} {282 41} {283 42} {284 43} {285 44} {286 45} {287 46} {309 51} {310 52} {319 53}} 112 {{66 {0 301} 6} {67 {0 301} 6} {39 {0 301} 0} {40 {0 301} 0} {41 {0 301} 0}} 113 {{63 {0 301} 6}} 110,trans {} 109,trans {} 114 {{65 {0 301} 6}} 115 {{59 {0 301} 6} {60 {0 301} 6} {39 {0 301} 0} {40 {0 301} 0} {41 {0 301} 0}} 116 {{56 {0 301} 6}} 117 {{58 {0 301} 6}} 118 {{67 {0 301} 7}} 119 {{60 {0 301} 7}} 19,trans {} 20,trans {} 38,trans {} 57,trans {} 76,trans {} 95,trans {} 6,trans {{257 16} {258 17} {259 18} {260 19} {261 20} {262 21} {263 22} {264 23} {265 24} {266 25} {267 26} {268 27} {269 28} {270 29} {271 30} {272 31} {273 32} {274 33} {275 34} {276 35} {277 36} {278 37} {279 38} {280 39} {281 40} {282 41} {283 42} {284 43} {285 44} {286 45} {287 46} {306 47} {309 48} {310 49} {318 50}} 108,trans {{295 109} {296 110} {297 111} {312 117}} 18,trans {} 37,trans {} 56,trans {{298 62} {299 63} {313 64}} 75,trans {} 94,trans {} 5,trans {} 107,trans {{288 97} {289 98} {290 99} {291 100} {292 101} {293 102} {294 103} {295 109} {296 110} {297 111} {311 115} {312 116}} 17,trans {} 36,trans {} 55,trans {{301 61}} 74,trans {} 93,trans {} 4,trans {{298 1} {299 2} {313 14} {317 15}} 106,trans {} 16,trans {} 35,trans {} 54,trans {{298 1} {299 2} {313 60}} 73,trans {} 92,trans {} 3,trans {{300 13}} 105,trans {{295 109} {296 110} {297 111} {312 114}} 15,trans {} 34,trans {} 53,trans {} 72,trans {} 91,trans {} 2,trans {} 104,trans {{288 97} {289 98} {290 99} {291 100} {292 101} {293 102} {294 103} {295 109} {296 110} {297 111} {311 112} {312 113}} 14,trans {{298 57} {299 58} {313 59}} 33,trans {} 52,trans {} 71,trans {} 90,trans {} 89,trans {} 1,trans {} 103,trans {} 13,trans {{298 1} {299 2} {313 56}} 32,trans {} 51,trans {} 69,trans {{257 16} {258 17} {259 18} {260 19} {261 70} {262 71} {263 72} {264 73} {265 74} {266 75} {267 76} {268 77} {269 78} {270 79} {271 80} {272 81} {273 82} {274 83} {275 84} {276 85} {277 86} {278 87} {279 88} {280 89} {281 90} {282 91} {283 92} {284 93} {285 94} {286 95} {287 96} {288 97} {289 98} {290 99} {291 100} {292 101} {293 102} {294 103} {309 106} {310 107} {311 108}} 70,trans {} 88,trans {} 0,trans {{298 1} {299 2} {300 3} {302 4} {303 5} {304 6} {305 7} {307 8} {308 9} {313 10} {314 11} {316 12}} 102,trans {} 12,trans {{315 55}} 31,trans {} 49,trans {} 50,trans {} 68,trans {} 87,trans {} 101,trans {} 119,trans {} 10 {{53 {0 301} 1} {54 {0 301} 1} {55 {0 301} 1} {56 {0 301} 1} {57 {0 301} 1} {58 {0 301} 1} {59 {0 301} 1} {60 {0 301} 1} {42 {298 299} 0} {43 {298 299} 0}} 11 {{0 0 1}} 12 {{44 0 1} {46 0 1} {45 301 0}} 13 {{61 {0 301} 2} {62 {0 301} 2} {63 {0 301} 2} {64 {0 301} 2} {65 {0 301} 2} {66 {0 301} 2} {67 {0 301} 2} {42 {298 299} 0} {43 {298 299} 0}} 14 {{68 {0 301} 1} {69 {0 301} 1} {70 {0 301} 1} {42 {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 301} 0} {43 {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 301} 0}} 15 {{52 {0 301} 2}} 11,trans {} 16 {{1 {0 301} 1}} 29,trans {} 30,trans {} 17 {{2 {0 301} 1}} 48,trans {} 18 {{3 {0 301} 1}} 67,trans {} 86,trans {} 20 {{5 {0 301} 1}} 19 {{4 {0 301} 1}} 21 {{6 {0 301} 1}} 22 {{7 {0 301} 1}} 100,trans {} 23 {{8 {0 301} 1}} 118,trans {} 24 {{9 {0 301} 1}} 25 {{10 {0 301} 1}} 26 {{11 {0 301} 1}} 27 {{12 {0 301} 1}} 28 {{13 {0 301} 1}} 30 {{15 {0 301} 1}} 29 {{14 {0 301} 1}} 31 {{16 {0 301} 1}} 32 {{17 {0 301} 1}} 10,trans {{298 1} {299 2} {313 54}} 33 {{18 {0 301} 1}} 28,trans {} 34 {{19 {0 301} 1}} 47,trans {} } array set crop::token_id_table { 286 WCSY_ 286,t 0 287 WCSZ_ 292,line 44 302,line 61 288 FK4_ 317,t 1 265,title WCSD 289 B1950_ 290 FK5_ 300 SEXSTR_ 284,title WCSW 291 J2000_ 301 STRING_ 313,title {} 292 ICRS_ 302 3D_ 288,line 40 293 GALACTIC_ 303 CLOSE_ 294 ECLIPTIC_ 304 LOCK_ 305 MATCH_ 295 DEGREES_ 306 NONE_ 296 ARCMIN_ 307 OPEN_ 262,t 0 297 ARCSEC_ 308 RESET_ 285,line 36 298 INT_ 310 wcssys 309 coordsys 299 REAL_ 311 skyframe 283,t 0 312 rformat 313 numeric 314,t 1 314 command 282,line 33 315 @PSEUDO1 316 crop 264,title WCSC 317 3d 283,title WCSV 318 lock 312,title {} 320 start' 319 match 278,line 29 error,line 119 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 0 297,t 0 262,line 13 0,t 0 0 {$} 262,title WCSA 281,title WCST 310,title {} 309,title {} error,t 0 299,title float 258,line 8 273,t 0 294,t 0 304,t 0 317,line 200 261,title WCS 279,title WCSR 280,title WCSS 308,title RESET 269,t 0 270,t 0 298,title integer 314,line 170 291,t 0 301,t 0 311,line 153 307,line 66 266,t 0 260,title DETECTOR 259,title AMPLIFIER 297,line 50 278,title WCSQ 307,title OPEN 297,title ARCSEC 287,t 0 294,line 46 304,line 63 318,t 1 error,title {} 291,line 43 301,line 57 263,t 0 258,title PHYSICAL 287,line 38 277,title WCSP 284,t 0 306,title NONE 296,title ARCMIN 315,t 1 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 MATCH 295,title DEGREES 274,line 25 271,line 22 277,t 0 308,t 0 267,line 18 298,t 0 275,title WCSN 294,title ECLIPTIC 304,title LOCK 264,line 15 261,line 12 274,t 0 305,t 0 295,t 0 257,line 7 274,title WCSM 293,title GALACTIC 303,title CLOSE 320,line 213 319,line 210 error error 271,t 0 292,t 0 302,t 0 316,line 174 273,title WCSL 313,line 166 292,title ICRS 302,title 3D 267,t 0 310,line 125 309,line 120 299,line 53 288,t 0 320,t 1 319,t 1 306,line 65 296,line 49 272,title WCSK 291,title J2000 293,line 45 301,title string 303,line 62 320,title {} 319,title {} 264,t 0 285,t 0 289,line 41 290,line 42 300,line 55 316,t 1 286,line 37 271,title WCSJ 261,t 0 283,line 34 289,title B1950 290,title FK5 300,title sexagesimal 318,title {} 282,t 0 279,line 30 280,line 31 313,t 1 276,line 27 257,t 0 269,title WCSH 270,title WCSI 273,line 24 288,title FK4 317,title {} 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 316,title {} 306,t 0 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 315,title {} 258 PHYSICAL_ 318,line 205 260 DETECTOR_ 259 AMPLIFIER_ 261 WCS_ 262 WCSA_ 263 WCSB_ 264 WCSC_ 315,line 171 265 WCSD_ 266 WCSE_ 267 WCSF_ 268,t 0 268 WCSG_ 269 WCSH_ 270 WCSI_ 312,line 161 271 WCSJ_ 272 WCSK_ 289,t 0 290,t 0 300,t 0 266,title WCSE 273 WCSL_ 274 WCSM_ 285,title WCSX 314,title {} 275 WCSN_ 308,line 67 276 WCSO_ 298,line 52 277 WCSP_ 278 WCSQ_ 279 WCSR_ 280 WCSS_ 281 WCST_ 305,line 64 282 WCSU_ 295,line 48 265,t 0 283 WCSV_ 284 WCSW_ 285 WCSX_ } proc crop::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 _ degrees } 40 { set _ arcmin } 41 { set _ arcsec } 42 { set _ $1 } 43 { set _ $1 } 45 { global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT} } 47 { CropDialog } 48 { CropDestroyDialog } 49 { MatchCropCurrent $2 } 50 { ProcessCmdSet crop lock $2 LockCropCurrent } 51 { CropReset } 53 { ProcessCmdCurrent frame "crop center $1 $2 physical fk5 $3 $4 physical degrees" } 54 { ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 degrees" } 55 { ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 degrees" } 56 { ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 $6" } 57 { ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs degrees" } 58 { ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs $6" } 59 { ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 degrees" } 60 { ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 $7" } 61 { ProcessCmdCurrent frame "crop center $1 $2 wcs fk5 $3 $4 wcs degrees" } 62 { ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 degrees" } 63 { ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 $6" } 64 { ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs degrees" } 65 { ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs $6" } 66 { ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 degrees" } 67 { ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 $7" } 68 { ProcessCmdCurrent frame "crop 3d $1 $2 image" } 69 { ProcessCmdCurrent frame "crop 3d $1 $2 $3" } 70 { ProcessCmdCurrent frame "crop 3d $1 $2 $3" } 71 { set _ $1 } 72 { set _ $1 } 73 { set _ none } 74 { set _ $1 } 75 { set _ $1 } } 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 crop::yyerror {msg} { variable yycnt variable yy_current_buffer variable index_ ParserError $msg $yycnt $yy_current_buffer $index_ }