On 24.01.2009, at 21:56, Duncan Coutts wrote:
Capital.c and Capital.chs both #include "capital.h"Changing both to #include "Capital.h" makes the test work.I'm on a case-insensitive filesystem though (sigh), so maybe some darcs confusion.Ah, that'd explain things.
I should switch to a case-sensitive system for testing, really.
Could you please review (very small changes) and apply the following patches, too ? Just to ensure c2hs will work with the next release of language.c as well (stays compatible with 0.3.1).Ah, sorry, they depend on the patch: Fri Aug 15 20:09:07 BST 2008 benedikt.hu...@gmail.com* Version.hs: add note that this is a patched version using Language.Cwhich I did not apply since it didn't make sense for the mainline version. Would you mind re-sending the patches after pulling the latest patches from the mainline c2hs repo?
update.dpatch
Description: Binary data
This patch also contains the missing files for the system tests.
Oh, the arity of the constructor changes from 1 to 2. In language- c-0.3.1, CAsmExtAs for the content of the patches it looks fine. What happened to CAsmExt?
doesn't carry any information.
Yes it's nice to finally get the C parser back again :-). BTW, I can't help flinching at names like CDeclExt, CThis, CThat etc (yes I know they were that way in c2hs originally). Next time you make an API break would you consider using names designed for qualified import? like C.DeclExt etc?
Usually I prefer qualified import too, and yes, this should be considered.
But probably not before the analysis module is a little bit more stable. benedikt
_______________________________________________ C2hs mailing list C2hs@haskell.org http://www.haskell.org/mailman/listinfo/c2hs