Changeset 21995
- Timestamp:
- 08/21/08 19:50:46 (3 months ago)
- Location:
- v6/smop
- Files:
-
- 2 modified
-
src/smop_s1p_code.sm0p (modified) (2 diffs)
-
test/21_code.m0ld (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/src/smop_s1p_code.sm0p
r21972 r21995 24 24 SMOP__Object* mold; 25 25 SMOP__Object* signature; 26 SMOP__Object* outer ;26 SMOP__Object* outer; 27 27 } SMOP__S1P__Code_struct; 28 28 … … 128 128 $void = $lexical_outer_container."STORE"($outer); 129 129 130 $void = $signature."BIND"($capture,$lexical); 130 my $actualcapture = $capture."positional"(0); 131 132 $void = $signature."BIND"($actualcapture,$lexical); 131 133 my $frame_proto = ¢SMOP__Mold__Frame; 132 134 my $frame = $frame_proto."new"($mold); -
v6/smop/test/21_code.m0ld
r21972 r21995 17 17 my $lexical; 18 18 19 20 19 my $it_var_slot = $lexical."postcircumfix:{ }"("$_"); 21 20 my $it_var = $it_var_slot."FETCH"(); … … 31 30 $void = $interpreter."goto"($back); 32 31 })); 33 $void = $code1."postcircumfix:( )"("ok 1\n"); 34 $void = $code1."postcircumfix:( )"("ok 2\n"); 35 $void = $code1."postcircumfix:( )"(); 32 33 my $capture = ¢SMOP__S1P__Capturize."capturize"("ok 1\n"); 34 $void = $code1."postcircumfix:( )"($capture); 35 $capture = ¢SMOP__S1P__Capturize."capturize"("ok 2\n"); 36 $void = $code1."postcircumfix:( )"($capture); 37 $capture = ¢SMOP__S1P__Capturize."capturize"(); 38 $void = $code1."postcircumfix:( )"($capture);
