BjAlvestad / vscode-simatic-scl

VS Code extensions for the SCL language used in TIA Portal
4 stars 0 forks source link

Add support for local variables with special characters - declared and referenced with double quotes instead of referencing with `#` prefix #8

Closed BjAlvestad closed 4 months ago

BjAlvestad commented 4 months ago

It seems that TIA Portal / SCL V18 will allow identifiers with illegal characters, but will in that case enclose them in double quotes. So we need to also allow double quote string for both declarations and function calls. Note: Keep in mind that double quotes are also used for referencing global elements.