rusty icon indicating copy to clipboard operation
rusty copied to clipboard

feat: builtins ADR and REF now have a CONSTANT return specifier

Open mhasel opened this issue 1 year ago • 0 comments

…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.

mhasel avatar Oct 03 '24 08:10 mhasel