Closed mhasel closed 1 month ago
…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.
{constant}
…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.