Fix SFC stage4 error.
--- a/stage4/generate_c/generate_c_sfc.cc Tue May 15 23:03:25 2012 +0100
+++ b/stage4/generate_c/generate_c_sfc.cc Wed May 16 00:15:32 2012 +0200
@@ -564,13 +564,17 @@
s4o.print(";\n");
}
s4o.indent_left();
- s4o.print(s4o.indent_spaces + "}");
+ s4o.print(s4o.indent_spaces + "}\n");
if (strcmp(qualifier, "DS") == 0) {
+ s4o.print(s4o.indent_spaces + "if (");
s4o.print("desactivated");
+ s4o.print(") {\n");
s4o.indent_right();
s4o.print(s4o.indent_spaces);
print_action_argument(current_action, "set_remaining_time");
s4o.print(" = __time_to_timespec(1, 0, 0, 0, 0, 0);\n");
+ s4o.indent_left();
+ s4o.print(s4o.indent_spaces + "}\n");
}
}
break;