arma-intellij-plugin icon indicating copy to clipboard operation
arma-intellij-plugin copied to clipboard

(String) macros not yet supported?

Open kju opened this issue 8 years ago • 1 comments

#define QUOTE(var1) #var1

#ifdef AASD_PVP_VERSION //<file entry> or <preprocessor> expected, got #
    #define AASD_AI_TAG
#endif

Ref: https://community.bistudio.com/wiki/PreProcessor_Commands#.23

kju avatar Oct 27 '16 06:10 kju

in sqf : No Error. in hpp: Yes Error message. But i think, that its doe to the #ifdef in an hpp: #define QUOTE(var1) #var1 #define bla bla #include "config.hpp" don't cause an error on my setup.

only if i add the #ifdef

it actually just marks the "#" of #ifdef and #endif . a #define in the middle of it, is alright.

i'm not sure why though.

Ragebone avatar Oct 28 '16 23:10 Ragebone