Changeset 6067 for src/Pugs/Lexer.hs
- Timestamp:
- 08/04/05 15:41:44 (3 years ago)
- svk:copy_cache_prev:
- 8204
- Files:
-
- 1 modified
-
src/Pugs/Lexer.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Lexer.hs
r5539 r6067 94 94 return (c:cs) 95 95 96 {-| 97 Match any amount of whitespace (not including newlines), followed by a newline 98 (as matched by 'ruleEndOfLine'). 99 -} 96 100 ruleWhiteSpaceLine :: GenParser Char st () 97 101 ruleWhiteSpaceLine = do … … 99 103 ruleEndOfLine 100 104 105 {-| 106 Match either a single newline, or EOF (which constitutes the termination of a 107 line anyway). 108 -} 101 109 ruleEndOfLine :: GenParser Char st () 102 110 ruleEndOfLine = choice [ do { char '\n'; return () }, eof ]
