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
#define TOOL #if defined(TOOL) #inline scripts\mp\_utility; #else // empty #endif
Unexpected behaviour: Com_ERROR: [ERROR]:preprocessor:scripts/mp/_utility.gsh:136:1: missing #endif
Com_ERROR: [ERROR]:preprocessor:scripts/mp/_utility.gsh:136:1: missing #endif
Expected behaviour: Compilation succeeds
Using https://git.alterware.dev/AlterWare/jump-gsc/src/branch/main/iw5/scripts/mp/_utility.gsh
Note!!! There is nothing wrong with the header when used on Plutonium IW5 https://git.alterware.dev/AlterWare/jump-gsc/src/branch/main/iw5/scripts/mp/_jump.gsc#L7 Here there is a single #inline and there are no issues
The text was updated successfully, but these errors were encountered:
Smaller example
_test.gsh
#define TEST print("hello")
main gsc
#inline _test; main() { TEST; }
.\gsc-tool.exe -m comp -g iw5 -s pc .\a.gsc GSC Tool 1.4.3.297-prod created by xensik compiled iw5/a.gscbin
HOWEVER
#if 1 #inline _test; #endif main() { TEST; }
.\gsc-tool.exe -m comp -g iw5 -s pc .\a.gsc GSC Tool 1.4.3.297-prod created by xensik [ERROR]:preprocessor:_test.gsh:2:1: missing #endif at ./a.gsc
Sorry, something went wrong.
No branches or pull requests
Unexpected behaviour:
Com_ERROR: [ERROR]:preprocessor:scripts/mp/_utility.gsh:136:1: missing #endif
Expected behaviour:
Compilation succeeds
Using https://git.alterware.dev/AlterWare/jump-gsc/src/branch/main/iw5/scripts/mp/_utility.gsh
Note!!!
There is nothing wrong with the header when used on Plutonium IW5
https://git.alterware.dev/AlterWare/jump-gsc/src/branch/main/iw5/scripts/mp/_jump.gsc#L7
Here there is a single #inline and there are no issues
The text was updated successfully, but these errors were encountered: