# HG changeset patch # User Edouard Tisserant # Date 1571908804 -7200 # Node ID 62b5f7b909a969acf66b4245266694d32a280e11 # Parent f48dcd1482093f76a1dda06681799c8988a764f4 Fixed one more sequel of marking temporary variables created while generating ST code out of FBD diff -r f48dcd148209 -r 62b5f7b909a9 editors/Viewer.py --- a/editors/Viewer.py Wed Oct 09 09:04:35 2019 +0200 +++ b/editors/Viewer.py Thu Oct 24 11:20:04 2019 +0200 @@ -1006,7 +1006,7 @@ if connectorname == "": iec_path = "%s.%s%d" % (instance_path, block.GetType(), block.GetId()) else: - iec_path = "%s.%s%d_%s" % (instance_path, block.GetType(), block.GetId(), connectorname) + iec_path = "%s._TMP_%s%d_%s" % (instance_path, block.GetType(), block.GetId(), connectorname) elif isinstance(block, FBD_Variable): iec_path = "%s.%s" % (instance_path, block.GetName()) elif isinstance(block, FBD_Connector):