Closed jonpas closed 5 years ago
Did you check that this is actually valid im arm's preprocessor? If it is, are multiline comments also permitted. Also how are do comments influence multiline macros?
It works with Mikero, IIRC it works in Arma directly as well because I use it in missions.
Multiline macros don't support inline comments, period.
Same with includes in config.cpp
#include CfgMySuperFixes.hpp // Best config fixes in the world
Okay I just performed a bit of digging and found the following
#define BLA Something // I am a comment\
is wrong
BLA
preprocesses to
is wrong
Something
#define BLA Something /* I am a comment*/\
is wrong
BLA
preprocesses to
Something is wrong
and
#define BLA Something /* I am
a mutline
comment */\
is wrong
BLA
preprocesses to
Something is wrong
Interesting! Was fully sure not even /* */
comments are supported there.
This issue do not allow to build ACE and others who include A3 defines(dikCodes as an example)
Following triggers a pre-processor error:
Work-around: