Changeset 22484 for src/perl6

Show
Ignore:
Timestamp:
10/02/08 06:17:55 (2 months ago)
Author:
lwall
Message:

[Cursor] add_macro couldn't handle macro name containing single quotes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/Cursor.pmc

    r22482 r22484  
    10181018    \$C->{'sym'} = \$sym; 
    10191019 
    1020     \$self->_MATCHIFY( '$name', Cursor::lazymap sub { STD::$coercion->coerce(\$_[0]) }, 
     1020    \$self->_MATCHIFY( '$mangle', Cursor::lazymap sub { STD::$coercion->coerce(\$_[0]) }, 
    10211021        \$C->_SYM(\$sym, 0) 
    10221022    );