Changeset 10648 for src/Pugs/Lexer.hs

Show
Ignore:
Timestamp:
06/12/06 14:32:44 (2 years ago)
Author:
audreyt
Message:

* Unify named and unamed subroutines.

(note - for releng, I'll rollback this thread of changes

and hold until 6.2.12 is released, to investigate more
into the serious perf hit caused by it.)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Lexer.hs

    r10504 r10648  
    386386 
    387387ruleBareTrait :: String -> RuleParser String 
    388 ruleBareTrait trait = rule "bare trait" $ do 
     388ruleBareTrait trait = tryRule "bare trait" $ do 
    389389    choice [ ruleTraitName trait 
    390390           , do symbol trait