We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following macro produces an incorrect output:
#define MACRO(code...) world.log << #code; MACRO(var/i = 5)
It gives you world.log << var/i = 5; when it should give you world.log << @#var/i = 5#
world.log << var/i = 5;
world.log << @#var/i = 5#
A workaround is defining it as #define MACRO(code) and the relevant code is here.
#define MACRO(code)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following macro produces an incorrect output:
It gives you
world.log << var/i = 5;
when it should give youworld.log << @#var/i = 5#
A workaround is defining it as
#define MACRO(code)
and the relevant code is here.The text was updated successfully, but these errors were encountered: