Show
Ignore:
Timestamp:
07/28/08 22:20:34 (5 months ago)
Author:
fglock
Message:

[v6.pm] added bare sigils

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • perl5/Pugs-Compiler-Perl6/lib/Pugs/Grammar/Expression.pm

    r16160 r21600  
    456456        $m = undef; 
    457457        if ( $m1 && $m2 ) { 
    458             if ( $m1->to < $m2->to ) { 
     458            if ( exists $m2->()->{bare_sigil} && $m2->tail =~ /^[\,\)]/ ) { 
    459459                $m = $m2 
    460460            } 
    461461            else { 
    462                 $m = $m1 
     462                if ( $m1->to < $m2->to ) { 
     463                    $m = $m2 
     464                } 
     465                else { 
     466                    $m = $m1 
     467                } 
    463468            } 
    464469        }