Added {} around generated for-loop

This commit is contained in:
ceriel 1991-09-25 10:29:00 +00:00
parent bc0d2e7d69
commit 8661cdb40b

View file

@ -200,7 +200,7 @@ handle_defaults()
segment = UNKNOWN; segment = UNKNOWN;
/* to prevent another dump_label+switchseg */ /* to prevent another dump_label+switchseg */
def_row(); def_row();
out( "}\n\n"); out( "}}\n\n");
} }
else else
def_row(); def_row();
@ -249,7 +249,7 @@ extnd_header()
out( "common( %s);\n", C_instr_info->arg_id[0]); out( "common( %s);\n", C_instr_info->arg_id[0]);
out( "}\nelse {\n"); out( "}\nelse {\n");
set_segment( SEGCON); set_segment( SEGCON);
out( "for ( %s = 0; %s < %s/EM_WSIZE; %s++)\n", out( "for ( %s = 0; %s < %s/EM_WSIZE; %s++) {\n",
C_instr_info->arg_id[3], C_instr_info->arg_id[3], C_instr_info->arg_id[3], C_instr_info->arg_id[3],
C_instr_info->arg_id[0], C_instr_info->arg_id[3]); C_instr_info->arg_id[0], C_instr_info->arg_id[3]);
} }