Changeset 22600 for src/perl6

Show
Ignore:
Timestamp:
10/14/08 01:10:23 (6 weeks ago)
Author:
lwall
Message:

[STD] workaround for elsif problem; put extra [] to move quantifier outside of binding

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/STD.pm

    r22599 r22600  
    731731    <sym> :s 
    732732    <xblock> 
    733     $<elsif> = ( 
     733    [$<elsif> = ( 
    734734        'elsif'<?spacey> <xblock>       {*}                #= elsif 
    735     )* 
    736     $<else> = ( 
     735    )]* 
     736    [$<else> = ( 
    737737        'else'<?spacey> <pblock>       {*}             #= else 
    738     )? 
     738    )]? 
    739739} 
    740740