because it contains a variable declaration and might not be at the
beginning of a block.
+Sun Jun 25 22:41:00 2006 Ben Pfaff <blp@gnu.org>
+
+ * q2c.c (dump_free): For SBC_DBL_LIST, enclose the output code in
+ curly braces, because it contains a variable declaration and might
+ not be at the beginning of a block.
+
Fri Jun 9 14:02:19 2006 Ben Pfaff <blp@gnu.org>
Reform string library.
dump (0, "free (p->s_%s);", st_lower (sbc->name));
break;
case SBC_DBL_LIST:
- dump (0, "int i;");
- dump (1, "for(i = 0; i < MAXLISTS ; ++i)");
- dump (0, "subc_list_double_destroy(&p->dl_%s[i]);", st_lower (sbc->name));
+ dump (0, "{");
+ dump (1, "int i;");
+ dump (2, "for(i = 0; i < MAXLISTS ; ++i)");
+ dump (1, "subc_list_double_destroy(&p->dl_%s[i]);", st_lower (sbc->name));
+ dump (0, "}");
outdent();
break;
default: