[C2hs] Re: [Haskell-cafe] c2hs failed to process __extension__

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Jan 29 17:26:00 EST 2007


On Mon, 2007-01-29 at 22:26 +0900, 向井 淳 wrote:
> On 2007/01/29, at 21:55, Duncan Coutts wrote:
> > Did you try the very latest darcs version of c2hs? Yesterday I added a
> > couple patches that try to cope with more uses of __extension.
> 
> Yes.  I use the latest version of c2hs from darcs.

Then sorry, my extensions fixes didn't help. You can try the technique
of using cpp to make it go away:

http://www.haskell.org/pipermail/c2hs/2006-May/000577.html

Come to think of it, for the __extension__ token we could just drop them
in the lexer... hmmm.

Duncan



More information about the C2hs mailing list