Fix indentation in SFC SL qualifier code generated
authorLaurent Bessard
Tue, 06 Nov 2012 19:56:23 +0100
changeset 703 48d106ffc2ca
parent 702 56337e796ab0
child 704 1adc8df05d2b
Fix indentation in SFC SL qualifier code generated
stage4/generate_c/generate_c_sfc.cc
--- a/stage4/generate_c/generate_c_sfc.cc	Tue Nov 06 19:17:36 2012 +0100
+++ b/stage4/generate_c/generate_c_sfc.cc	Tue Nov 06 19:56:23 2012 +0100
@@ -612,7 +612,8 @@
             if (strcmp(qualifier, "SD") == 0 || strcmp(qualifier, "DS") == 0 || 
                 strcmp(qualifier, "SL") == 0) {
               if (strcmp(qualifier, "SL") == 0) {
-                print_action_argument(current_action, "reset_remaining_time");
+            	s4o.print(s4o.indent_spaces);
+            	print_action_argument(current_action, "reset_remaining_time");
               }
               else {
                 print_action_argument(current_action, "set_remaining_time");