Changeset 21649 for misc

Show
Ignore:
Timestamp:
07/31/08 13:37:46 (5 months ago)
Author:
pmurias
Message:

[smop] subs work when called for the first time

Location:
misc/elfish/elfX
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • misc/elfish/elfX/EmitSM0P.pm

    r21629 r21649  
    8686  } 
    8787  method cb__Block ($n,$label) { 
    88       $label ~ ": " ~ "{\n"~ $.e($n.statements).join('') ~ "};\n" 
     88      $label ~ ": " ~ "{\n;\n"~ $.e($n.statements).join('') ~ "};\n" 
    8989  } 
    9090  method cb__SubDecl ($n,$label) { 
  • misc/elfish/elfX/elfX

    r21629 r21649  
    35903590sub cb__Block{my $self=CORE::shift;my($n,$label)=@_; 
    35913591(do{(((($label . "\:\ ") . "\{\ 
     3592\;\ 
    35923593") . $self->e($n->statements())->join("")) . "\}\;\ 
    35933594")})};