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 movie { variable yylval {} variable table variable rules variable token {} variable yycnt 0 variable yyerr 0 variable save_state 0 namespace export yylex } proc movie::YYABORT {} { return -code return 1 } proc movie::YYACCEPT {} { return -code return 0 } proc movie::YYERROR {} { variable yyerr set yyerr 1 } proc movie::yyclearin {} { variable token variable yycnt set token {} incr yycnt -1 } proc movie::yyerror {s} { puts stderr $s } proc movie::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 movie::unsetupvalues {numsyms} { for {set i 1} {$i <= $numsyms} {incr i} { upvar 1 $i y unset y } } array set movie::table { 38:272 reduce 17:257 shift 27:262,target 19 38:273 reduce 17:258 shift 41:268,target 26 11:263,target 19 6:259,target 15 27:0 reduce 33:261,target 21 40:264,target 25 39:264,target 28 31:273,target 1 3:267,target 14 38:259,target 27 6:259 reduce 36:272,target 24 26:259 reduce 28:264,target 20 0:275,target 7 26:261 shift 26:262 shift 26:263 shift 6:266 reduce 26:264 shift 27:259,target 19 34:263,target 22 6:267 reduce 17:274 goto 11:261,target 17 41:0,target 26 35:259 reduce 26:268 shift 40:262,target 25 39:262,target 28 35:261 reduce 33:0,target 21 26:269 shift 26:270 shift 35:262 reduce 16:259,target 8 35:263 reduce 26:272 shift 35:264 reduce 26:273 shift 36:270,target 24 36:269,target 24 43:273,target 25 28:262,target 18 11:280,target 26 35:268 reduce 42:268,target 18 35:270 reduce 35:269 reduce 35:272 reduce 34:261,target 22 26:281 goto 41:264,target 26 35:273 reduce 32:273,target 2 14:259 reduce 42:0 reduce 40:259,target 25 39:259,target 28 31:268,target 1 2:279,target 12 37:272,target 20 28:281,target 27 9:266,target 4 3:259 reduce 23:257 shift 0:271,target 6 28:259,target 11 35:263,target 23 26:272,target 24 3:266 reduce 41:262,target 26 3:267 reduce 38:0 reduce 32:259 reduce 37:270,target 20 37:269,target 20 32:261 reduce 32:262 reduce 32:263 reduce 32:264 reduce 43:268,target 21 8:259,target 4 35:261,target 23 26:269,target 22 26:270,target 23 42:264,target 18 41:259 reduce 37:0,target 20 33:273,target 21 32:268 reduce 14:0 reduce 41:261 reduce 32:270 reduce 32:269 reduce 30:0,target 9 29:0,target 5 41:262 reduce 41:263 reduce 41:259,target 26 35:0 reduce 32:272 reduce 32:268,target 2 14:0,target 7 41:264 reduce 38:272,target 27 32:273 reduce 17:257,target 31 11:259 reduce 31:264,target 1 11:261 shift 11:262 shift 41:268 reduce 11:263 shift 41:270 reduce 41:269 reduce 30:259,target 9 11:264 shift 36:263,target 24 27:272,target 19 41:272 reduce 0:259 shift 0:260 shift 19:257 shift 20:257 shift 41:273 reduce 0:266,target 4 11:273,target 25 19:258 shift 20:258 shift 11:0 reduce 11:268 shift 42:262,target 18 11:269 shift 11:270 shift 32:0 reduce 0:265 shift 11:272 shift 0:266 shift 11:273 shift 38:270,target 27 38:269,target 27 0:267 shift 8:259 reduce 31:262,target 1 0:271 shift 8:276,target 13 28:259 reduce 28:261 shift 28:262 shift 9:259,target 14 11:280 goto 36:261,target 24 28:263 shift 11:281 goto 27:269,target 19 27:270,target 19 43:264,target 20 34:273,target 22 28:264 shift 0:275 goto 19:274 goto 20:274 goto 0:277 goto 6:267,target 15 17:274,target 33 42:259,target 18 33:268,target 21 0:278 goto 40:272,target 25 39:272,target 28 37:259 reduce 28:268 shift 0:279 goto 7:0,target 0 18:257,target 31 28:0 reduce 37:261 reduce 28:270 shift 28:269 shift 37:262 reduce 32:264,target 2 37:263 reduce 28:272 shift 37:264 reduce 28:273 shift 31:259,target 1 8:276 goto 37:263,target 20 28:272,target 24 42:0,target 18 37:268 reduce 34:0,target 22 37:270 reduce 37:269 reduce 26:0,target 12 43:262,target 18 28:280 goto 37:272 reduce 28:281 goto 11:0,target 10 11:268,target 21 37:273 reduce 26:263,target 19 16:259 reduce 40:270,target 25 40:269,target 25 39:270,target 28 39:269,target 28 32:262,target 2 43:281,target 42 5:259 reduce 25:257 shift 37:261,target 20 28:270,target 23 28:269,target 22 35:273,target 23 18:274,target 34 43:259,target 13 34:268,target 22 41:272,target 26 0:260,target 2 0:259,target 1 19:257,target 31 20:257,target 31 26:261,target 17 33:264,target 21 43:0 reduce 34:259 reduce 34:261 reduce 32:259,target 2 38:263,target 27 34:262 reduce 34:263 reduce 34:264 reduce 2:266,target 4 0:278,target 9 43:259 reduce 34:268 reduce 27:263,target 19 43:261 shift 34:270 reduce 34:269 reduce 43:262 shift 41:270,target 26 41:269,target 26 11:264,target 20 43:263 shift 34:272 reduce 43:264 shift 34:273 reduce 33:262,target 21 40:0 reduce 39:0 reduce 10:259,target 16 13:259 shift 38:0,target 27 43:268 shift 38:261,target 27 31:0,target 1 43:270 shift 43:269 shift 36:273,target 24 43:272 shift 2:259 shift 19:274,target 35 20:274,target 36 22:257 shift 43:273 shift 35:268,target 23 42:272,target 18 1:259,target 6 21:257,target 37 27:261,target 19 34:264,target 22 11:262,target 18 2:266 shift 36:0 reduce 33:259,target 21 2:267 shift 43:281 goto 40:263,target 25 39:263,target 28 31:272,target 1 31:259 reduce 3:266,target 14 31:261 reduce 31:262 reduce 31:263 reduce 31:264 reduce 28:263,target 19 11:281,target 27 42:270,target 18 42:269,target 18 40:259 reduce 39:259 reduce 34:262,target 22 31:268 reduce 2:279 goto 40:261 reduce 39:261 reduce 31:270 reduce 31:269 reduce 11:259,target 10 40:262 reduce 39:262 reduce 33:0 reduce 40:263 reduce 39:263 reduce 31:272 reduce 40:264 reduce 40:261,target 25 39:264 reduce 39:261,target 28 31:273 reduce 31:270,target 1 31:269,target 1 37:273,target 20 10:259 shift 8:0,target 3 9:267,target 5 40:268 reduce 39:268 reduce 36:268,target 24 1:0,target 6 43:272,target 24 40:270 reduce 40:269 reduce 39:270 reduce 39:269 reduce 2:259,target 11 22:257,target 38 28:261,target 17 40:272 reduce 39:272 reduce 35:264,target 23 7:0 accept 18:257 shift 26:273,target 25 40:273 reduce 39:273 reduce 18:258 shift 43:0,target 13 34:259,target 22 41:263,target 26 35:0,target 23 32:272,target 2 30:0 reduce 29:0 reduce 27:0,target 19 28:280,target 43 27:259 reduce 27:261 reduce 43:270,target 23 43:269,target 22 27:262 reduce 27:263 reduce 35:262,target 23 27:264 reduce 12:259,target 28 18:274 goto 26:0 reduce 41:261,target 26 36:259 reduce 32:270,target 2 32:269,target 2 27:268 reduce 38:273,target 27 36:261 reduce 17:258,target 32 27:269 reduce 27:270 reduce 36:262 reduce 36:263 reduce 27:272 reduce 37:268,target 20 36:264 reduce 27:273 reduce 3:259,target 14 23:257,target 39 36:264,target 24 27:273,target 19 36:268 reduce 1:0 reduce 36:270 reduce 36:269 reduce 0:267,target 5 35:259,target 23 26:268,target 21 42:263,target 18 36:272 reduce 33:272,target 21 36:273 reduce 15:259 shift 31:263,target 1 4:259 reduce 24:257 shift 36:262,target 24 40:0,target 25 39:0,target 28 13:259,target 29 32:0,target 2 0:265,target 3 11:272,target 24 42:261,target 18 33:270,target 21 33:269,target 21 16:0,target 8 40:273,target 25 39:273,target 28 18:258,target 32 41:0 reduce 38:268,target 27 33:259 reduce 9:279,target 15 33:261 reduce 4:259,target 17 24:257,target 40 33:262 reduce 31:261,target 1 37:264,target 20 33:263 reduce 28:273,target 25 33:264 reduce 36:259,target 24 27:268,target 19 43:263,target 19 34:272,target 22 42:259 reduce 33:268 reduce 11:269,target 22 11:270,target 23 42:261 reduce 33:270 reduce 33:269 reduce 6:266,target 15 16:0 reduce 26:264,target 20 42:262 reduce 42:263 reduce 33:272 reduce 42:264 reduce 37:0 reduce 33:273 reduce 32:263,target 2 12:259 shift 42:268 reduce 42:270 reduce 42:269 reduce 37:262,target 20 14:259,target 7 42:272 reduce 1:259 reduce 21:257 shift 42:273 reduce 43:261,target 17 34:270,target 22 34:269,target 22 41:273,target 26 19:258,target 32 20:258,target 32 26:262,target 18 40:268,target 25 39:268,target 28 34:0 reduce 5:259,target 16 25:257,target 41 32:261,target 2 9:259 shift 38:264,target 27 30:259 reduce 36:0,target 24 2:267,target 5 37:259,target 20 28:268,target 21 0:279,target 10 28:0,target 11 35:272,target 23 26:281,target 42 9:266 shift 8:0 reduce 9:267 shift 27:264,target 19 38:259 reduce 26:259,target 12 38:261 reduce 33:263,target 21 31:0 reduce 38:262 reduce 38:263 reduce 38:264 reduce 38:262,target 27 15:259,target 30 38:268 reduce 0:277,target 8 9:279 goto 38:270 reduce 38:269 reduce 35:270,target 23 35:269,target 23 42:273,target 18 } array set movie::rules { 27,l 281 9,l 277 11,l 277 15,l 278 20,l 281 19,l 280 2,l 274 24,l 281 6,l 277 28,l 281 12,l 277 16,l 279 21,l 281 3,l 275 25,l 281 7,l 277 13,l 277 0,l 282 17,l 279 22,l 281 4,l 276 26,l 281 8,l 277 10,l 277 14,l 278 18,l 280 1,l 274 23,l 281 5,l 275 } array set movie::rules { 23,dc 2 5,dc 3 0,dc 1 17,dc 1 12,dc 3 26,dc 2 8,dc 2 21,dc 2 3,dc 1 15,dc 1 10,dc 2 24,dc 2 6,dc 1 18,dc 2 1,dc 1 13,dc 4 27,dc 2 9,dc 3 22,dc 2 4,dc 0 16,dc 1 11,dc 3 25,dc 2 7,dc 2 20,dc 2 19,dc 1 2,dc 1 14,dc 1 28,dc 2 } array set movie::rules { 13,line 56 25,line 76 7,line 46 10,line 51 22,line 73 4,line 39 18,line 67 1,line 35 15,line 60 27,line 79 9,line 49 12,line 54 24,line 75 6,line 44 21,line 72 3,line 39 17,line 64 4,e 1 14,line 59 26,line 77 8,line 47 11,line 52 23,line 74 5,line 40 20,line 71 19,line 68 2,line 36 16,line 63 28,line 81 } array set movie::lr1_table { 35 {{23 {0 259 261 262 263 264 268 269 270 272 273} 2}} 36 {{24 {0 259 261 262 263 264 268 269 270 272 273} 2}} 14,trans {} 33,trans {} 37 {{20 {0 259 261 262 263 264 268 269 270 272 273} 2}} 38 {{27 {0 259 261 262 263 264 268 269 270 272 273} 2}} 40 {{25 {0 259 261 262 263 264 268 269 270 272 273} 2}} 39 {{28 {0 259 261 262 263 264 268 269 270 272 273} 2}} 41 {{26 {0 259 261 262 263 264 268 269 270 272 273} 2}} 18,trans {{257 31} {258 32} {274 34}} 1,trans {} 37,trans {} 42 {{18 {0 259 261 262 263 264 268 269 270 272 273} 2}} 43 {{13 {0 259} 4} {18 {0 259 261 262 263 264 268 269 270 272 273} 1} {20 {0 259 261 262 263 264 268 269 270 272 273} 0} {21 {0 259 261 262 263 264 268 269 270 272 273} 0} {22 {0 259 261 262 263 264 268 269 270 272 273} 0} {23 {0 259 261 262 263 264 268 269 270 272 273} 0} {24 {0 259 261 262 263 264 268 269 270 272 273} 0} {25 {0 259 261 262 263 264 268 269 270 272 273} 0} {26 {0 259 261 262 263 264 268 269 270 272 273} 0} {27 {0 259 261 262 263 264 268 269 270 272 273} 0} {28 {0 259 261 262 263 264 268 269 270 272 273} 0}} 23,trans {{257 39}} 5,trans {} 42,trans {} 27,trans {} 9,trans {{259 14} {266 4} {267 5} {279 15}} 13,trans {{259 29}} 32,trans {} 17,trans {{257 31} {258 32} {274 33}} 0,trans {{259 1} {260 2} {265 3} {266 4} {267 5} {271 6} {275 7} {277 8} {278 9} {279 10}} 36,trans {} 22,trans {{257 38}} 4,trans {} 41,trans {} 26,trans {{261 17} {262 18} {263 19} {264 20} {268 21} {269 22} {270 23} {272 24} {273 25} {281 42}} 8,trans {{276 13}} 12,trans {{259 28}} 31,trans {} 16,trans {} 35,trans {} 21,trans {{257 37}} 3,trans {} 40,trans {} 39,trans {} 10 {{8 {0 259} 1}} 11 {{10 {0 259} 2} {12 {0 259} 2} {18 {0 259 261 262 263 264 268 269 270 272 273} 0} {19 {0 259 261 262 263 264 268 269 270 272 273} 0} {20 {0 259 261 262 263 264 268 269 270 272 273} 0} {21 {0 259 261 262 263 264 268 269 270 272 273} 0} {22 {0 259 261 262 263 264 268 269 270 272 273} 0} {23 {0 259 261 262 263 264 268 269 270 272 273} 0} {24 {0 259 261 262 263 264 268 269 270 272 273} 0} {25 {0 259 261 262 263 264 268 269 270 272 273} 0} {26 {0 259 261 262 263 264 268 269 270 272 273} 0} {27 {0 259 261 262 263 264 268 269 270 272 273} 0} {28 {0 259 261 262 263 264 268 269 270 272 273} 0}} 25,trans {{257 41}} 12 {{11 {0 259} 2} {13 {0 259} 2}} 7,trans {} 13 {{5 0 2}} 14 {{7 {0 259} 2}} 15 {{9 {0 259} 2}} 11,trans {{261 17} {262 18} {263 19} {264 20} {268 21} {269 22} {270 23} {272 24} {273 25} {280 26} {281 27}} 30,trans {} 29,trans {} 16 {{8 {0 259} 2}} 0 {{0 0 0} {3 0 0} {5 0 0} {6 {0 259} 0} {7 {0 259} 0} {8 {0 259} 0} {9 {0 259} 0} {10 {0 259} 0} {11 {0 259} 0} {12 {0 259} 0} {13 {0 259} 0} {14 {259 266 267} 0} {15 {259 266 267} 0} {16 259 0} {17 259 0}} 17 {{21 {0 259 261 262 263 264 268 269 270 272 273} 1} {1 {0 259 261 262 263 264 268 269 270 272 273} 0} {2 {0 259 261 262 263 264 268 269 270 272 273} 0}} 1 {{6 {0 259} 1}} 18 {{22 {0 259 261 262 263 264 268 269 270 272 273} 1} {1 {0 259 261 262 263 264 268 269 270 272 273} 0} {2 {0 259 261 262 263 264 268 269 270 272 273} 0}} 2 {{10 {0 259} 1} {11 {0 259} 1} {12 {0 259} 1} {13 {0 259} 1} {16 259 0} {17 259 0}} 19 {{23 {0 259 261 262 263 264 268 269 270 272 273} 1} {1 {0 259 261 262 263 264 268 269 270 272 273} 0} {2 {0 259 261 262 263 264 268 269 270 272 273} 0}} 20 {{24 {0 259 261 262 263 264 268 269 270 272 273} 1} {1 {0 259 261 262 263 264 268 269 270 272 273} 0} {2 {0 259 261 262 263 264 268 269 270 272 273} 0}} 15,trans {{259 30}} 34,trans {} 3 {{14 {259 266 267} 1}} 21 {{20 {0 259 261 262 263 264 268 269 270 272 273} 1}} 4 {{17 259 1}} 22 {{27 {0 259 261 262 263 264 268 269 270 272 273} 1}} 5 {{16 259 1}} 23 {{28 {0 259 261 262 263 264 268 269 270 272 273} 1}} 20,trans {{257 31} {258 32} {274 36}} 19,trans {{257 31} {258 32} {274 35}} 6 {{15 {259 266 267} 1}} 2,trans {{259 11} {266 4} {267 5} {279 12}} 24 {{25 {0 259 261 262 263 264 268 269 270 272 273} 1}} 38,trans {} 7 {{0 0 1}} 25 {{26 {0 259 261 262 263 264 268 269 270 272 273} 1}} 8 {{3 0 1} {5 0 1} {4 259 0}} 26 {{12 {0 259} 3} {18 {0 259 261 262 263 264 268 269 270 272 273} 1} {20 {0 259 261 262 263 264 268 269 270 272 273} 0} {21 {0 259 261 262 263 264 268 269 270 272 273} 0} {22 {0 259 261 262 263 264 268 269 270 272 273} 0} {23 {0 259 261 262 263 264 268 269 270 272 273} 0} {24 {0 259 261 262 263 264 268 269 270 272 273} 0} {25 {0 259 261 262 263 264 268 269 270 272 273} 0} {26 {0 259 261 262 263 264 268 269 270 272 273} 0} {27 {0 259 261 262 263 264 268 269 270 272 273} 0} {28 {0 259 261 262 263 264 268 269 270 272 273} 0}} 9 {{7 {0 259} 1} {9 {0 259} 1} {16 259 0} {17 259 0}} 27 {{19 {0 259 261 262 263 264 268 269 270 272 273} 1}} 24,trans {{257 40}} 6,trans {} 28 {{11 {0 259} 3} {13 {0 259} 3} {18 {0 259 261 262 263 264 268 269 270 272 273} 0} {19 {0 259 261 262 263 264 268 269 270 272 273} 0} {20 {0 259 261 262 263 264 268 269 270 272 273} 0} {21 {0 259 261 262 263 264 268 269 270 272 273} 0} {22 {0 259 261 262 263 264 268 269 270 272 273} 0} {23 {0 259 261 262 263 264 268 269 270 272 273} 0} {24 {0 259 261 262 263 264 268 269 270 272 273} 0} {25 {0 259 261 262 263 264 268 269 270 272 273} 0} {26 {0 259 261 262 263 264 268 269 270 272 273} 0} {27 {0 259 261 262 263 264 268 269 270 272 273} 0} {28 {0 259 261 262 263 264 268 269 270 272 273} 0}} 43,trans {{261 17} {262 18} {263 19} {264 20} {268 21} {269 22} {270 23} {272 24} {273 25} {281 42}} 29 {{5 0 3}} 30 {{9 {0 259} 3}} 31 {{1 {0 259 261 262 263 264 268 269 270 272 273} 1}} 32 {{2 {0 259 261 262 263 264 268 269 270 272 273} 1}} 10,trans {{259 16}} 28,trans {{261 17} {262 18} {263 19} {264 20} {268 21} {269 22} {270 23} {272 24} {273 25} {280 43} {281 27}} 33 {{21 {0 259 261 262 263 264 268 269 270 272 273} 2}} 34 {{22 {0 259 261 262 263 264 268 269 270 272 273} 2}} } array set movie::token_id_table { 280,title {} 279,title {} 264,line 18 270,t 0 269,t 0 276,line 39 265,title FRAME 274,t 1 261,line 15 257,t 0 270,title REPEAT 269,title OSCILLATE 273,line 27 278,t 1 257,line 7 262,t 0 274,title {} 270,line 24 269,line 23 259,title string 260,title 3D 266,t 0 278,title {} 282,line 82 error error 271,t 0 264,title ELTO 266,line 20 278,line 58 275,t 1 error,line 33 268,title NUMBER 258,t 0 263,line 17 error,title {} 280,t 1 279,t 1 275,line 38 273,title SLTO 263,t 0 259,line 10 260,line 14 258,title float 277,title {} 272,line 26 267,t 0 263,title ELFROM 282,title {} 272,t 0 268,line 22 267,title MPEG 257 INT_ 281,line 70 276,t 1 258 REAL_ 259,t 0 259 STRING_ 260 3D_ 260,t 0 272,title SLFROM 261 AZFROM_ 265,line 19 262 AZTO_ 281,t 1 263 ELFROM_ 277,line 42 257,title integer 264 ELTO_ 264,t 0 276,title {} 265 FRAME_ 262,line 16 266 GIF_ 267 MPEG_ 0,t 0 0 {$} 262,title AZTO 268 NUMBER_ 268,t 0 281,title {} 274,line 34 270 REPEAT_ 269 OSCILLATE_ error,t 0 271 SLICE_ 272 SLFROM_ 258,line 8 273,t 0 273 SLTO_ 266,title GIF 274 numeric 275 command 271,line 25 276 @PSEUDO1 277,t 1 277 movie 271,title SLICE 278 action 261,t 0 280 opts 279 type 281 opt 267,line 21 282,t 1 282 start' 275,title {} 265,t 0 280,line 66 279,line 62 261,title AZFROM } proc movie::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 _ $1 } 2 { set _ $1 } 4 { global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT} } 6 { ProcessCmdSet2 movie action slice type [ExtToFormat $1]; MovieCreate $1 } 7 { ProcessCmdSet2 movie action $1 type [ExtToFormat $2]; MovieCreate $2 } 8 { ProcessCmdSet2 movie action slice type $1; MovieCreate $2 } 9 { ProcessCmdSet2 movie action $1 type $2; MovieCreate $3 } 10 { ProcessCmdSet2 movie action 3d type [ExtToFormat $2]; MovieCreate $2 } 11 { ProcessCmdSet2 movie action 3d type $2; MovieCreate $3 } 12 { ProcessCmdSet2 movie action 3d type [ExtToFormat $2]; MovieCreate $2 } 13 { ProcessCmdSet2 movie action 3d type $1; MovieCreate $2 } 14 { set _ frame } 15 { set _ slice } 16 { set _ mpeg } 17 { set _ gif } 20 { ProcessCmdSet movie num $2 } 21 { ProcessCmdSet movie az,from $2 } 22 { ProcessCmdSet movie az,to $2 } 23 { ProcessCmdSet movie el,from $2 } 24 { ProcessCmdSet movie el,to $2 } 25 { ProcessCmdSet movie sl,from $2 } 26 { ProcessCmdSet movie sl,to $2 } 27 { ProcessCmdSet movie repeat oscillate; ProcessCmdSet movie repeat,num $2 } 28 { ProcessCmdSet movie repeat repeat; ProcessCmdSet movie repeat,num $2 } } 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 movie::yyerror {msg} { variable yycnt variable yy_current_buffer variable index_ ParserError $msg $yycnt $yy_current_buffer $index_ }