Changeset 22063 for src/perl6/STD.pm

Show
Ignore:
Timestamp:
08/29/08 01:21:13 (4 months ago)
Author:
lwall
Message:

[STD] only warn if undef is followed by a variable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/STD.pm

    r22025 r22063  
    224224constant %loose_and       = (:prec<d=>, :assoc<left>,  :assign); 
    225225constant %loose_or        = (:prec<c=>, :assoc<left>,  :assign); 
    226 constant %sequencer      = (:prec<b=>, :assoc<left>); 
     226constant %sequencer      = (:prec<b=>, :assoc<left>, :nextterm<statement>); 
    227227constant %LOOSEST         = (:prec<a=!>); 
    228228constant %terminator      = (:prec<a=>, :assoc<list>); 
     
    27152715             "the filehandle's .slurp method")> 
    27162716    ]? 
    2717     [ <?before \h*< $ @ % & > > 
     2717    [ <?before \h*<variable> > 
    27182718        <obs('undef as a verb', 'undefine function')> 
    27192719    ]?