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
Describe the bug
Configs at the top level throw error
To Reproduce
config.cpp:
command:
sqfvm.exe --input config.cpp --parse-only -aresult:
[ERR] [L3|C0|config.cpp] Parse Error: syntax error, unexpected IDENT, expecting END_OF_FILEin-game:
getText (configfile >> "topLevelThing")= "pants"Expected behavior
It to work