cwtools-vscode
cwtools-vscode copied to clipboard
The tool cannot recognize in-script flag variables (Vic3)
Environment
Version: 0.10.5
Current Behavior
Within ..\game\common\flag_definitions\00_flag_definitions.txt
:
Error in <Hidden for privacy>\Steam\steamapps\common\Victoria
3\game\common\flag_definitions\00_flag_definitions.txt: Ln: 37 Col: 28
@canton_scale_cross_x = @[ ( 333 / coa_width ) + 0.001 ]
^
Expecting: end of input or statement
CW001(CW001)
Expected Behavior
@canton_scale_cross_x = @[ ( 333 / coa_width ) + 0.001 ]
This is a valid way of defining an in-script variable for flags and should not be marked up as an error.