PLC-lang / rusty

Structured Text Parser and LLVM Frontend
GNU Lesser General Public License v3.0
223 stars 53 forks source link

fix: Location of variables declared in VAR_CONFIG #1304

Closed volsa closed 2 months ago

volsa commented 2 months ago

Previously the location of a variable name declared in a VAR_CONFIG block would include the AT keyword in it. With this commit the AT keyword is omitted such that a slice of the variable name is e.g. main.instance.foo instead of main.instance.foo AT.