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:
fc04400
)
[project @ 2005-05-04 15:12:14 by josefs]
author
josefs
<unknown>
Wed, 4 May 2005 15:12:14 +0000
(15:12 +0000)
committer
josefs
<unknown>
Wed, 4 May 2005 15:12:14 +0000
(15:12 +0000)
Make GHC accept external core files with higher rank types.
ghc/compiler/parser/ParserCore.y
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/ParserCore.y
b/ghc/compiler/parser/ParserCore.y
index
33f4aad
..
5992810
100644
(file)
--- a/
ghc/compiler/parser/ParserCore.y
+++ b/
ghc/compiler/parser/ParserCore.y
@@
-131,6
+131,7
@@
aty :: { IfaceType }
bty :: { IfaceType }
: tv_occ atys { foldl IfaceAppTy (IfaceTyVar $1) $2 }
| q_tc_name atys { IfaceTyConApp (IfaceTc $1) $2 }
+ | '(' ty ')' { $2 }
ty :: { IfaceType }
: bty { $1 }