Is this code supposed to be legal in Inform 6?
if (true)
print "TRUE";
#ifdef SOME_CONSTANT;
else
print "FALSE";
#endif;
Is this code supposed to be legal in Inform 6?
if (true)
print "TRUE";
#ifdef SOME_CONSTANT;
else
print "FALSE";
#endif;
It seems to work, and there’s a comment in the code saying it’s supposed to work. So yes.
OK, thanks. I’m getting a complaint about it from the compiler in I7 6M62 [Inform 6.33N for Linux (30th August 2015)] for some reason.
I guess it’s just out of date.
Yeah, that was broken before 6.35, according to the release notes.