rusty
rusty copied to clipboard
feat: builtins ADR and REF now have a CONSTANT return specifier
…so they can be used in initializers.
Adds a new {constant} pragma for POUs, however for now only the builtins are actually allowed to make use of it. This enables the const-evaluator to check for constant builtins when trying to evaluate call-statements in variable initializers.