ArmaScriptCompiler icon indicating copy to clipboard operation
ArmaScriptCompiler copied to clipboard

Stuck on infinite loop in some scripts

Open Leopard20 opened this issue 3 years ago • 0 comments

The problem seems to be with parsing something like this (which works fine in SQF):


#define X__ '
#define __X '
#define XX__ "
#define __XX "

e.g.

#define X__ '
#define __X '
#define XX__ "
#define __XX "

#define PICS_PATH(x) XX__##PREFIX\pictures\x.paa##__XX

#ifdef MISSION
#define PICTURE_PATH(x) getMissionPath(PICS_PATH(x))
#else
#define PICTURE_PATH(x) PICS_PATH(x)
#endif

PICTURE_PATH(blabla)

Leopard20 avatar Jan 21 '22 14:01 Leopard20