IDE: allow structures to be located.
authorEdouard Tisserant <edouard@beremiz.fr>
Fri, 30 Aug 2024 11:50:23 +0200
changeset 4008 f30573e98600
parent 4007 76dede1e3403
child 4009 51272fe96999
IDE: allow structures to be located.
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())