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:
e90cc0a
)
[project @ 2001-04-24 20:12:18 by lewie]
author
lewie
<unknown>
Tue, 24 Apr 2001 20:12:18 +0000
(20:12 +0000)
committer
lewie
<unknown>
Tue, 24 Apr 2001 20:12:18 +0000
(20:12 +0000)
Eh hem... Wibble.
ghc/compiler/parser/ParseUtil.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/ParseUtil.lhs
b/ghc/compiler/parser/ParseUtil.lhs
index
e444450
..
c4fa82a
100644
(file)
--- a/
ghc/compiler/parser/ParseUtil.lhs
+++ b/
ghc/compiler/parser/ParseUtil.lhs
@@
-275,7
+275,7
@@
isFunLhs (OpApp l (HsVar op) fix r) es | not (isRdrDataCon op)
= case isFunLhs l es of
Just (op', True, j : k : es') ->
Just (op', True, j : OpApp k (HsVar op) fix r : es')
- Nothing -> Nothing
+ _ -> Nothing
isFunLhs (HsVar f) es | not (isRdrDataCon f)
= Just (f,False,es)
isFunLhs (HsApp f e) es = isFunLhs f (e:es)