Bug that prevent to see errors in editor with double click fixed.
authorlbessard
Tue, 09 Jun 2009 11:00:23 +0200
changeset 370 23af12b5a9fb
parent 369 b506dea7a103
child 371 a69a5a72daa1
Bug that prevent to see errors in editor with double click fixed.
PLCGenerator.py
--- a/PLCGenerator.py	Tue Jun 09 10:22:20 2009 +0200
+++ b/PLCGenerator.py	Tue Jun 09 11:00:23 2009 +0200
@@ -306,7 +306,7 @@
                 resrce += [(" RETAIN", (tagname, "variable", (var_number, var_number + len(varlist.getvariable())), "retain"))]
             if varlist.getconstant():
                 resrce += [(" CONSTANT", (tagname, "variable", (var_number, var_number + len(varlist.getvariable())), "constant"))]
-            resrce += "\n"
+            resrce += [("\n", ())]
             # Generate any variable of this block
             for var in varlist.getvariable():
                 vartype_content = var.gettype().getcontent()