Changeset 21570 for misc

Show
Ignore:
Timestamp:
07/27/08 16:26:10 (6 months ago)
Author:
pmurias
Message:

[elf] removed old on_smop attempts

Location:
misc/elfish
Files:
2 removed
2 modified

Legend:

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

    r21541 r21570  
    5050          $positionals = $positionals ~ $.e($arguments[$i],"pos_"~$id~"_"~$i); 
    5151      } 
    52       "# method call " ~ $id ~ "\n" ~ 
     52      #"# method call " ~ $id ~ "\n" ~ 
    5353      $.e($n.invocant,'i_'~$id) ~ 
    5454      'ic_'~$id~': $SMOP__SLIME__CurrentFrame.copy(`i_' ~ $id ~ ");\n" ~ 
     
    8181      $label ~ ": " ~ $n.text ~ ";\n"; 
    8282  } 
     83  method cb__SubDecl ($n,$label) { 
     84      $label ~ ": " ~ "q:sm0p {\n"~ $.e($n.block.statements).join(';') ~ "};\n" 
     85  } 
    8386  method cb__Var ($n,$label) { 
    8487      if $n.sigil eq '$' and $n.twigil ne '*' { 
  • misc/elfish/elfX/elfX

    r21541 r21570  
    35563556(do{($positionals = ($positionals . $self->e($arguments->[$i], ((("pos_" . $id) . "_") . $i))))})}->($_) 
    35573557}; 
    3558 ((((((((((((((((((((((((("\#\ method\ call\ " . $id) . "\ 
    3559 ") . $self->e($n->invocant(), ("i_" . $id))) . "ic_") . $id) . "\:\ \$SMOP__SLIME__CurrentFrame\.copy\(\`i_") . $id) . "\)\;\ 
     3558(((((((((((((((((((((($self->e($n->invocant(), ("i_" . $id)) . "ic_") . $id) . "\:\ \$SMOP__SLIME__CurrentFrame\.copy\(\`i_") . $id) . "\)\;\ 
    35603559") . "id_") . $id) . "\:\ q\:identifier\[") . $n->method()->re_gsub(qr/\]/, "\\\]")) . "\]\;\ 
    35613560") . $positionals) . "\$SMOP__SLIME__CurrentFrame\.move_responder\(\`ic_") . $id) . "\,3\)\;\ 
     
    35833582sub cb__NumInt{my $self=CORE::shift;my($n,$label)=@_; 
    35843583(do{((($label . "\:\ ") . $n->text()) . "\;\ 
     3584")})}; 
     3585sub cb__SubDecl{my $self=CORE::shift;my($n,$label)=@_; 
     3586(do{(((($label . "\:\ ") . "q\:sm0p\ \{\ 
     3587") . $self->e($n->block()->statements())->join("\;")) . "\}\;\ 
    35853588")})}; 
    35863589sub cb__Var{my $self=CORE::shift;my($n,$label)=@_;