- Timestamp:
- 07/28/08 22:47:27 (4 months ago)
- Location:
- perl5/Pugs-Compiler-Perl6/lib/Pugs/Grammar
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
perl5/Pugs-Compiler-Perl6/lib/Pugs/Grammar/Expression.pm
r21600 r21601 456 456 $m = undef; 457 457 if ( $m1 && $m2 ) { 458 if ( exists $m2->()->{bare_sigil} && $m2->tail =~ /^ [\,\)]/ ) {458 if ( exists $m2->()->{bare_sigil} && $m2->tail =~ /^\s*[\,\)\}\]]/ ) { 459 459 $m = $m2 460 460 } -
perl5/Pugs-Compiler-Perl6/lib/Pugs/Grammar/Infix.pm
r19287 r21601 110 110 other => '||', 111 111 ); 112 __PACKAGE__->add_same_precedence_ops({ assoc => 'right'}, qw(= := ::= => += -= **= xx= x= .= ~= =~) ); 113 114 112 __PACKAGE__->add_same_precedence_ops({ assoc => 'right'}, qw( 113 = := ::= => += -= 114 *= **= 115 /= //= 116 %= 117 xx= x= .= ~= =~ 118 ^= ^^= +^= ~^= ?^= 119 &= &&= +&= ~&= ?&= 120 |= ||= +|= ~|= ?|= 121 ) ); 115 122 __PACKAGE__->add_rule( 116 123 name => 'Z', -
perl5/Pugs-Compiler-Perl6/lib/Pugs/Grammar/Term.pm
r21600 r21601 355 355 { return { code => "\&" . $_[0]->() ,} } 356 356 | { return { bare_sigil => '&' ,} } 357 ), 358 '*' => q( 359 { return { bare_sigil => '*' ,} } 357 360 ), 358 361 '(' => q(
