Fix warnings when compiling matiec
authorlaurent
Wed, 29 Jun 2011 12:29:14 +0200
changeset 548 0b6ab74f4b89
parent 547 2faf0964feb2
child 549 b0d6819119c3
Fix warnings when compiling matiec
generate_IEC_std.py
--- a/generate_IEC_std.py	Tue Jun 28 11:28:28 2011 +0200
+++ b/generate_IEC_std.py	Wed Jun 29 12:29:14 2011 +0200
@@ -142,7 +142,7 @@
 """%{"input_name":Paramname}
                 res += """
     symbol_c *%(input_name)s_type_symbol = param_data_type;
-    last_type_symbol = param_data_type;
+    last_type_symbol = %(input_name)s_type_symbol;
 """%{"input_name":Paramname}
             else:
                 res += """