It seems that the current approach taken by HOC is to strip
preprocessing directives. This may not have been a problem before
Leopard but Cocoa header files are now full of macros in most unusual
places, e.g.
@interface NSObject (NSDeprecatedMethods)
+ (void)poseAsClass:(Class)aClass
DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
@end
I'm trying to figure out the easiest way to run CPP over the header
files before processing them in HOC.
Is there a CPP written in Haskell and packaged as a library?
Does someone have a quick Haskell solution for running CPP over a
header file (with include paths?), redirecting into a temp file and
reading that back into Haskell?
Should I preprocess all Cocoa header files using make and then read
these in?
Thanks, Joel
--
http://wagerlabs.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe