projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6eb55
)
[project @ 2003-03-18 10:12:37 by simonmar]
author
simonmar
<unknown>
Tue, 18 Mar 2003 10:12:37 +0000
(10:12 +0000)
committer
simonmar
<unknown>
Tue, 18 Mar 2003 10:12:37 +0000
(10:12 +0000)
Fix wibble in previous commit (fixes broken bootstrap)
ghc/compiler/parser/Lex.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/Lex.lhs
b/ghc/compiler/parser/Lex.lhs
index
162995f
..
c8126ce
100644
(file)
--- a/
ghc/compiler/parser/Lex.lhs
+++ b/
ghc/compiler/parser/Lex.lhs
@@
-826,7
+826,7
@@
lex_num cont exts acc buf =
-- files is not that common. (ToDo)
case expandWhile# is_digit (incCurrentPos buf') of
buf2 -> -- points to first non digit char
- case currentChar# buf of
+ case currentChar# buf2 of
'E'# -> float_exponent cont exts buf2
'e'# -> float_exponent cont exts buf2
_ -> float_done cont exts buf2