Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : ghc-kinds

http://hackage.haskell.org/trac/ghc/changeset/8d7b065ca5ab01be9b92dcd3db9e001e3970ac74

>---------------------------------------------------------------

commit 8d7b065ca5ab01be9b92dcd3db9e001e3970ac74
Author: Julien Cretin <g...@ia0.eu>
Date:   Mon Sep 12 18:23:48 2011 +0200

    get rid of quote in kinds

>---------------------------------------------------------------

 compiler/parser/Parser.y.pp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp
index 0f210f5..5c9cdda 100644
--- a/compiler/parser/Parser.y.pp
+++ b/compiler/parser/Parser.y.pp
@@ -1114,8 +1114,7 @@ bkind   :: { LHsKind RdrName }
 akind  :: { LHsKind RdrName }
        : '*'                   { L1 $ HsTyVar (nameRdrName 
liftedTypeKindTyConName) }
        | '(' kind ')'          { LL $ HsParTy $2 }
-        | SIMPLEQUOTE pkind     { LL $ unLoc $2 }
-        |             pkind     { $1 }
+        | pkind                 { $1 }
 
 pkind   :: { LHsKind RdrName }  -- promoted type, see Note [Promotion]
         : qtycon                          { L1 $ HsTyVar $ unLoc $1 }



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to