IDE: allow structures to be located.
--- 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())