Using the # operator as the first character in a line of an .sqf script will fail preprocessing silently.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Won't Fix
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
In a mission environment, create the file test.sqf containing:
[0] # 0;
- Enter the mission
- compile preProcessFile "test.sqf" yields {}
- compile loadFile "test.sqf", however, succeeds
Event Timeline
Comment Actions
Alternative would be forced game crash...
I'd rather leave it like this.
"#" operator was not a good idea in the first place