[project @ 2005-05-04 15:12:14 by josefs]
authorjosefs <unknown>
Wed, 4 May 2005 15:12:14 +0000 (15:12 +0000)
committerjosefs <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

index 33f4aad..5992810 100644 (file)
@@ -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 }