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:
05aa4a1
)
[project @ 2003-09-08 13:01:16 by simonmar]
author
simonmar
<unknown>
Mon, 8 Sep 2003 13:01:16 +0000
(13:01 +0000)
committer
simonmar
<unknown>
Mon, 8 Sep 2003 13:01:16 +0000
(13:01 +0000)
mdo needs layout treatment too.
ghc/compiler/parser/Lexer.x
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/Lexer.x
b/ghc/compiler/parser/Lexer.x
index
5b7d0a5
..
922860e
100644
(file)
--- a/
ghc/compiler/parser/Lexer.x
+++ b/
ghc/compiler/parser/Lexer.x
@@
-766,6
+766,7
@@
do_bol loc end _str _len = do
-- certain keywords put us in the "layout" state, where we might
-- add an opening curly brace.
maybe_layout ITdo = pushLexState layout_do
+maybe_layout ITmdo = pushLexState layout_do
maybe_layout ITof = pushLexState layout
maybe_layout ITlet = pushLexState layout
maybe_layout ITwhere = pushLexState layout