Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on infinite loop in some scripts #18

Open
Leopard20 opened this issue Jan 21, 2022 · 0 comments
Open

Stuck on infinite loop in some scripts #18

Leopard20 opened this issue Jan 21, 2022 · 0 comments

Comments

@Leopard20
Copy link
Contributor

Leopard20 commented Jan 21, 2022

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant