# HG changeset patch # User Edouard Tisserant # Date 1725011423 -7200 # Node ID f30573e986005d392bae2b546e6cf2c0421a5c30 # Parent 76dede1e34037f250cd83899a65a81a56fe3e56f IDE: allow structures to be located. diff -r 76dede1e3403 -r f30573e98600 PLCControler.py --- a/PLCControler.py Sat Sep 07 12:50:57 2024 +0200 +++ b/PLCControler.py Fri Aug 30 11:50:23 2024 +0200 @@ -1381,7 +1381,7 @@ def IsLocatableDataType(self, datatype, debug=False): basetype_content = datatype.baseType.getcontent() basetype_content_type = basetype_content.getLocalTag() - if basetype_content_type in ["enum", "struct"]: + if basetype_content_type in ["enum"]: return False elif basetype_content_type == "derived": return self.IsLocatableType(basetype_content.getname())