1 Jan 2004 02:57
Preprocessor bug
skaller <skaller <at> ozemail.com.au>
2004-01-01 01:57:51 GMT
2004-01-01 01:57:51 GMT
Swig preprocessor does not concatenate lines ending in \ correctly in all circumstances. It appears the expression evaluation is correct, it just doesnt concatente, but its more complicated, maybe it is dropping the stack or something when it concatenates ? input: #if 1 ||\ (0 &&1) #define stdc 1 #else #define stdc 0 #endif output (felix module but doesn't matter): WRONG! const stdc: int = '0'; input: #if 1 || (0 &&1) #define stdc 1 #else #define stdc 0 #endif output: RIGHT!(Continue reading)
. On that note, thanks for the
patch. I'll look at it more when I get back from vacation.
-- Dave
)
-----------------------------------
RSS Feed