Changeset 12264 for src/Pugs/Lexer.hs
- Timestamp:
- 08/15/06 18:50:08 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Lexer.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Lexer.hs
r12261 r12264 279 279 codes <- choice 280 280 [ many1 digit >>= \ds -> do 281 trace ("Warning: Escape sequence \\" ++ ds ++ " is invalid; write \\d" ++ ds ++ " instead") $ 282 return [read ds] 281 trace ("Warning: \\" ++ ds ++ " interpreted as decimal \\d" ++ ds ++ "; write \\o" ++ ds ++ " for octal digits") $ return [read ds] 283 282 , based 'o' 8 octDigit 284 283 , based 'x' 16 hexDigit
