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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/546dd4f219ba05880e252e7fee6a2037a50ed3b3

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

commit 546dd4f219ba05880e252e7fee6a2037a50ed3b3
Author: Ian Lynagh <[email protected]>
Date:   Wed Feb 15 14:55:23 2012 +0000

    Implement the CTYPE pragma; part of the CApiFFI extension
    
    For now, the syntax is
        type    {-# CTYPE "some C type" #-} Foo = ...
        newtype {-# CTYPE "some C type" #-} Foo = ...
        data    {-# CTYPE "some C type" #-} Foo = ...

 compiler/deSugar/DsForeign.lhs                 |   38 ++++++++++++++---
 compiler/hsSyn/Convert.lhs                     |   16 ++++---
 compiler/hsSyn/HsDecls.lhs                     |    2 +
 compiler/iface/BinIface.hs                     |   12 ++++--
 compiler/iface/BuildTyCl.lhs                   |   11 +++--
 compiler/iface/IfaceSyn.lhs                    |    2 +
 compiler/iface/MkIface.lhs                     |    2 +
 compiler/iface/TcIface.lhs                     |    6 ++-
 compiler/parser/Lexer.x                        |    4 +-
 compiler/parser/Parser.y.pp                    |   53 ++++++++++++-----------
 compiler/parser/RdrHsSyn.lhs                   |   11 +++--
 compiler/prelude/ForeignCall.lhs               |   13 ++++++
 compiler/prelude/TysWiredIn.lhs                |    3 +
 compiler/rename/RnSource.lhs                   |   12 ++++--
 compiler/typecheck/TcGenGenerics.lhs           |    2 +-
 compiler/typecheck/TcInstDcls.lhs              |    5 +-
 compiler/typecheck/TcTyClsDecls.lhs            |   13 +++---
 compiler/types/TyCon.lhs                       |   27 ++++++++++--
 compiler/vectorise/Vectorise/Generic/PData.hs  |    1 +
 compiler/vectorise/Vectorise/Type/Env.hs       |    2 +-
 compiler/vectorise/Vectorise/Type/TyConDecl.hs |    1 +
 21 files changed, 164 insertions(+), 72 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 546dd4f219ba05880e252e7fee6a2037a50ed3b3

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to