Hi!
After getting a bug fix for the set addition problem from Peter (thanks very much Peter!) within 24 hours I've decided to try my luck again.
You are welcome. (-: But please don't kill me if it takes me longer next time ... ;-)
There is some strangeness with the gpc-cpp preprocessor; here is some code to trigger it: [...]
The strange behaviour comes from a feature of the preprocessor to include a header file with a "control macro" only once. (In C, it is encouraged to write
<start of file> #ifndef FOO_H #define FOO_H
<acutal contents>
#endif <end of file>
to avoid trouble if this header file is included more than once from the same C file.) The mechanism that tries to determine whether a given #ifndef belongs to this kind of macros got confused on two Pascal comments in sequence.
I can easily work around this of course, but a fix would be better!
I agree.
Fix enclosed.
Greetings,
Peter