- Timestamp:
- 10/05/08 11:42:18 (7 weeks ago)
- Location:
- v6/smop/sm0p
- Files:
-
- 1 removed
- 2 modified
-
sm0p_actions.pm (deleted)
-
sm0p_with_actions (modified) (1 diff)
-
strip_out_actions (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/sm0p/sm0p_with_actions
r21915 r22510 42 42 $self; 43 43 } else { 44 print "no action: $tag\n"; 45 {local $_ = $self;$actions->$tag();} 44 #print "no action: $tag\n"; 46 45 $self->SUPER::_REDUCE($tag); 47 46 } -
v6/smop/sm0p/strip_out_actions
r21466 r22510 28 28 my $body = $3; 29 29 my $end = $4; 30 $body =~ s/(?<!')\{ ($block) \}/push(@blocks,["${name}_ _sm0p_$nr",$1]);'{*}' . " #= sm0p_" . $nr++ . "\n"30 $body =~ s/(?<!')\{ ($block) \}/push(@blocks,["${name}_sm0p_$nr",$1]);'{*}' . " #= sm0p_" . $nr++ . "\n" 31 31 /egx; 32 32 $start.$body.$end;
