projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b287fe7
)
[project @ 2002-04-24 11:17:53 by simonpj]
author
simonpj
<unknown>
Wed, 24 Apr 2002 11:17:53 +0000
(11:17 +0000)
committer
simonpj
<unknown>
Wed, 24 Apr 2002 11:17:53 +0000
(11:17 +0000)
"\Oxxx" and "\Xyyy" are not octal or hexadecimal escapes in Haskell 98,
and should not be lexed as such.
Text/Read/Lex.lhs
patch
|
blob
|
history
diff --git
a/Text/Read/Lex.lhs
b/Text/Read/Lex.lhs
index
e09f75b
..
6ad7ce0
100644
(file)
--- a/
Text/Read/Lex.lhs
+++ b/
Text/Read/Lex.lhs
@@
-176,9
+176,7
@@
lexChar =
do s <- look
case s of
'o':_ -> do get; return 8
- 'O':_ -> do get; return 8
'x':_ -> do get; return 16
- 'X':_ -> do get; return 16
_ -> do return 10
lexCntrlChar =