Changeset 2242 for proto


Ignore:
Timestamp:
Jul 11, 2012, 11:42:24 AM (7 years ago)
Author:
ksherdy
Message:

Updated RE grammar to indicate that if the repetition indicator
token is moved up, then the parent doesn't get compressed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/scatterRE/input/re.scatter

    r2239 r2242  
    3636        alternation ʉ → concatenation (OR concatenation)* ; 
    3737        concatenation ʉ → repetition+ ;                                             
    38         repetition ʉ → atom repetitionIndicator^? ;
     38        repetition ʉ → atom repetitionIndicator^^!? ;
    3939        atom ʉ → LEFTROUND re RIGHTROUND | identifier ;
    4040        identifier → IDENTIFIER;
Note: See TracChangeset for help on using the changeset viewer.