plcopen/structures.py
changeset 194 1b3f8b4f8e04
parent 170 5068ba721506
child 208 c70aefcadf66
--- a/plcopen/structures.py	Thu Apr 03 18:30:02 2008 +0200
+++ b/plcopen/structures.py	Thu Apr 03 18:31:35 2008 +0200
@@ -95,7 +95,7 @@
                 return generator.ExtractModifier(variable, "%s.%s"%(name, variable.getformalParameter()))
         raise ValueError, "No output variable found"
 
-def initialise_block(type, name):
+def initialise_block(type, name, block = None):
     return [(type, name, None, None)]
 
 #-------------------------------------------------------------------------------