#1037 PLCgen: Handle CIF and/or short-circuit semantics
- Patch starts with adding locations to one of the tests, since test output changes didn't make sense and it was difficult to find the related CIF edge.
- The patch adds distinction between normal and short-circuit evaluation of and/or conditions.
- For the targets that have a short-circuit function for them, that path gets eventually enabled (S7 and TwinCAT targets).
- For the targets that don't have a short-circuit function for them, code is generated instead.
End-user visible changes:
- PLCgen now generates code correctly ensures short-circuit evaluation semantics of the
=>
,and
andor
binary operators, for non-S7 targets.
Closes #1037 (closed)
Edited by Dennis Hendriks