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

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Jan 29 18:15:15 EST 2007

On Mon, 2007-01-29 at 22:26 +0000, Duncan Coutts wrote:
> 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.

Try the attached patch, if it works for you, I'll apply it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore-extension.patch
Type: text/x-patch
Size: 6142 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/c2hs/attachments/20070129/cf221d67/ignore-extension.bin

More information about the C2hs mailing list