- Timestamp:
- 07/29/08 14:17:25 (4 months ago)
- Location:
- perl5/Pugs-Compiler-Perl6
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
lib/Pugs/Emitter/Perl6/Perl5.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
perl5/Pugs-Compiler-Perl6/ChangeLog
r21598 r21607 1 - more operators 2 1 3 0.029 2008-07-28 2 4 - updated skipped tests -
perl5/Pugs-Compiler-Perl6/lib/Pugs/Emitter/Perl6/Perl5.pm
r21600 r21607 1440 1440 ' : $_V6_PAD{'.$id1.'} ) '; 1441 1441 } 1442 if ( $n->{op1} eq '//=' ) { 1443 my $id1 = $id++; 1444 return 1445 ' ( !defined ( $_V6_PAD{'.$id1.'} = ( ' . _emit( $n->{exp1} ) . ' )) ' . 1446 ' ? ( ' . _emit( $n->{exp1} ) . ' = ' . _emit( $n->{exp2} ) . ' ) ' . 1447 ' : $_V6_PAD{'.$id1.'} ) '; 1448 } 1442 1449 if ( $n->{op1} eq 'does' ) { 1443 1450 # XXX - fix this when Moose implements '$object does' … … 1597 1604 { 1598 1605 fixity => 'infix', 1599 op1 => { op => '+' },1606 op1 => '+', 1600 1607 exp1 => $n->{exp1}, 1601 1608 exp2 => $n->{exp2}, … … 1692 1699 && ( exists $n->{exp1}{array} 1693 1700 || ( exists $n->{exp1}{op1} 1701 && exists $n->{exp2}{fixity} 1694 1702 && $n->{exp1}{fixity} eq 'circumfix' 1695 1703 && $n->{exp1}{op1} eq '(' … … 1703 1711 || exists $n->{exp2}{array} 1704 1712 || ( exists $n->{exp2}{op1} 1713 && exists $n->{exp2}{fixity} 1705 1714 && $n->{exp2}{fixity} eq 'circumfix' 1706 1715 && $n->{exp2}{op1} eq '('
