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
I don't know if it's a bug or it was designed that way, but the following code gives the "wrong" result:
#define TEST 15 #define _TO_STR(%0) #%0 #define TO_STR(%0) _TO_STR(%0) public void OnPluginStart() { PrintToServer(TO_STR(TEST)); }
Result:
TEST
Same code in C:
#define TEST 15 #define _TO_STR(x) #x #define TO_STR(x) _TO_STR(x) int main() { printf(TO_STR(TEST)); return 0; }
15
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I don't know if it's a bug or it was designed that way, but the following code gives the "wrong" result:
Result:
Same code in C:
Result:
The text was updated successfully, but these errors were encountered: