PLC-lang / rusty

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

fix: Do not interpret `&` as ref-operator #1219

Closed volsa closed 1 week ago

volsa commented 2 weeks ago

While & is still being registered as an AmpOperator in the Lexer, we no longer interpret it as a ref- / address-to operator and instead only as an AND operator. Any usage of &foo needs to be REF(foo) instead with this commit.