- Timestamp:
- 07/30/08 22:43:35 (4 months ago)
- Location:
- perl5/Pugs-Compiler-Perl6/lib/Pugs
- Files:
-
- 2 modified
-
Emitter/Perl6/Perl5.pm (modified) (1 diff)
-
Grammar/Term.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
perl5/Pugs-Compiler-Perl6/lib/Pugs/Emitter/Perl6/Perl5.pm
r21632 r21640 1793 1793 $n->{op2} eq ']' ) { 1794 1794 1795 if ( ! exists$n->{exp2} ) {1795 if ( ! defined $n->{exp2} ) { 1796 1796 # $array[] 1797 1797 return '@{ ' . _emit( $n->{exp1} ) . ' }'; -
perl5/Pugs-Compiler-Perl6/lib/Pugs/Grammar/Term.pm
r21601 r21640 133 133 [ 134 134 <?ws> 135 <Pugs::Grammar::Expression.parse(' allow_semicolon', 1)> <?ws>?135 <Pugs::Grammar::Expression.parse('no_comma', 1)> <?ws>? 136 136 ')' 137 137 { return { … … 664 664 { return $/{'Pugs::Grammar::Quote.q'}->() } 665 665 ^ ), 666 q(WHAT) => Pugs::Compiler::Token->compile( q^ 667 <?ws> <Pugs::Grammar::Expression.parse('no_comma',1)> 668 { return { 669 op1 => 'call', 670 param => $_[0]{'Pugs::Grammar::Expression.parse'}->(), 671 sub => { 672 'bareword' => 'WHAT', 673 }, 674 } } 675 ^ ), 666 676 q() => Pugs::Compiler::Token->compile( q^ 667 677 ### num/int
