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

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

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. Duncan
participants (1)
-
Duncan Coutts