Changeset 10163 for src/Pugs/Lexer.hs

Show
Ignore:
Timestamp:
04/30/06 16:13:21 (3 years ago)
Author:
audreyt
Message:

* Lexer+Parser: Implement another whitespace-disambiguation:

foo.bar; # foo().bar()
foo .bar; # foo($_.bar)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Lexer.hs

    r10103 r10163  
    5555 
    5656mandatoryWhiteSpace :: RuleParser () 
    57 mandatoryWhiteSpace = skipMany1 (satisfy isSpace) 
     57mandatoryWhiteSpace = skipMany1 (simpleSpace <|> comment) 
    5858 
    5959balancedDelim :: Char -> Char