Changeset 21955 for src/perl6

Show
Ignore:
Timestamp:
08/19/08 22:40:30 (3 months ago)
Author:
lwall
Message:

[STD] add semicolon to feed ops as "sequencer" operators

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/STD.pm

    r21952 r21955  
    154154constant %loose_and       = (:prec<d=>, :assoc<left>,  :assign); 
    155155constant %loose_or        = (:prec<c=>, :assoc<left>,  :assign); 
    156 constant %feed_infix      = (:prec<b=>, :assoc<left>); 
     156constant %sequencer      = (:prec<b=>, :assoc<left>); 
    157157constant %LOOSEST         = (:prec<a=!>); 
    158158constant %terminator      = (:prec<a=>, :assoc<list>); 
     
    258258    our %o = %loose_or; 
    259259} # end class 
    260 class Feed_infix does PrecOp { 
    261     our %o = %feed_infix; 
     260class Sequencer does PrecOp { 
     261    our %o = %sequencer; 
    262262} # end class 
    263263class Terminator does PrecOp { 
     
    31453145     { <sym> } 
    31463146 
    3147 token infix:sym« <== » ( --> Feed_infix) 
    3148     { <sym> } 
    3149  
    3150 token infix:sym« ==> » ( --> Feed_infix) 
     3147token infix:sym<;> ( --> Sequencer) 
     3148    { <sym> } 
     3149 
     3150token infix:sym« <== » ( --> Sequencer) 
     3151    { <sym> } 
     3152 
     3153token infix:sym« ==> » ( --> Sequencer) 
    31513154    { <sym> {*} }              #' 
    31523155 
    3153 token infix:sym« <<== » ( --> Feed_infix) 
    3154     { <sym> } 
    3155  
    3156 token infix:sym« ==>> » ( --> Feed_infix) 
     3156token infix:sym« <<== » ( --> Sequencer) 
     3157    { <sym> } 
     3158 
     3159token infix:sym« ==>> » ( --> Sequencer) 
    31573160    { <sym> {*} }              #' 
    31583161