From 8661cdb40b0d734797e4288e78d276b617d07f38 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 25 Sep 1991 10:29:00 +0000 Subject: [PATCH] Added {} around generated for-loop --- util/ceg/EM_parser/common/default.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/ceg/EM_parser/common/default.c b/util/ceg/EM_parser/common/default.c index ae7003f57..1156a7f02 100644 --- a/util/ceg/EM_parser/common/default.c +++ b/util/ceg/EM_parser/common/default.c @@ -200,7 +200,7 @@ handle_defaults() segment = UNKNOWN; /* to prevent another dump_label+switchseg */ def_row(); - out( "}\n\n"); + out( "}}\n\n"); } else def_row(); @@ -249,7 +249,7 @@ extnd_header() out( "common( %s);\n", C_instr_info->arg_id[0]); out( "}\nelse {\n"); 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[0], C_instr_info->arg_id[3]); }