-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugError, flaw, failure or fault that causes to produce an incorrect result or crashError, flaw, failure or fault that causes to produce an incorrect result or crash
Description
Describe the bug
Configs at the top level throw error
To Reproduce
config.cpp:
class CfgPatches { class test { }; };
topLevelThing = "pants";
command:
sqfvm.exe --input config.cpp --parse-only -a
result:
[ERR] [L3|C0|config.cpp] Parse Error: syntax error, unexpected IDENT, expecting END_OF_FILE
in-game:
getText (configfile >> "topLevelThing")
= "pants"
Expected behavior
It to work
Metadata
Metadata
Assignees
Labels
bugError, flaw, failure or fault that causes to produce an incorrect result or crashError, flaw, failure or fault that causes to produce an incorrect result or crash