--- a/PLCControler.py Tue Dec 15 11:31:23 2009 +0100
+++ b/PLCControler.py Tue Dec 15 16:30:39 2009 +0100
@@ -1245,7 +1245,7 @@
return blocktypes
# Return Data Types checking for recursion
- def GetDataTypes(self, tagname = "", basetypes = True, complextypes = True, debug = False):
+ def GetDataTypes(self, tagname = "", basetypes = True, debug = False):
if basetypes:
datatypes = self.GetBaseTypes()
else:
@@ -1256,7 +1256,7 @@
words = tagname.split("::")
if words[0] in ["D"]:
name = words[1]
- datatypes.extend(project.GetCustomDataTypes(name, complextypes=complextypes))
+ datatypes.extend(project.GetCustomDataTypes(name))
return datatypes
# Return Base Type of given possible derived type