Changeset 14105 for src/Pugs/Lexer.hs
- Timestamp:
- 10/09/06 17:26:09 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Lexer.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Lexer.hs
r14085 r14105 205 205 let lastCh = last s 206 206 ahead = if isWordAny lastCh then aheadWord else aheadSym 207 choice [ lookAhead (satisfy (ahead lastCh)), eof >> return ' ' ]207 lookAhead (satisfy (ahead lastCh)) <|> (eof >> return ' ') 208 208 whiteSpace 209 209 return rv
