Changeset 22498

Show
Ignore:
Timestamp:
10/03/08 14:27:37 (7 weeks ago)
Author:
lwall
Message:

[STD] EXPR didn't _MATCHIFY
[viv] starting on a gimme5 replacement using STD

Location:
src/perl6
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/Cursor.pmc

    r22486 r22498  
    19471947    $self->{_reduced} = $tag; 
    19481948    if ($::ACTIONS) { 
    1949         eval { $::ACTIONS->$tag($self) } 
     1949        eval { $::ACTIONS->$tag($self) }; 
     1950        warn $@ if $@ and not $@ =~ /locate/; 
    19501951    } 
    19511952    $self->deb("REDUCE $tag from $F to $P") if $DEBUG & DEBUG::matchers; 
  • src/perl6/STD.pm

    r22486 r22498  
    31883188    :my $i; 
    31893189    $i = <identifier> <args( $¢.is_type($i.text) )> 
    3190     {{ %ROUTINES{$i.text} ~= $¢.lineof($¢.pos) ~ ' ' }} 
     3190    {{ $<identifier> = $i; %ROUTINES{$i.text} ~= $¢.lineof($¢.pos) ~ ' ' }} 
    31913191} 
    31923192 
     
    35263526        @termstack[0]<_to> = $here.pos; 
    35273527    } 
    3528     @termstack; 
     3528    self._MATCHIFYr("EXPR", @termstack); 
    35293529} 
    35303530 
  • src/perl6/gimme5

    r22486 r22498  
    352352            push \@gather, \$C->\$try(\@_); 
    353353        } 
    354         \$self->_MATCHIFY("$NAME", \@gather); 
     354        \$self->_MATCHIFY("$name", \@gather); 
    355355    }; 
    356356    if (\$@) {