ossp-pkg/cfg/cfg_syn.c 1.5 -> 1.6
--- cfg_syn.c 2002/07/05 15:32:42 1.5
+++ cfg_syn.c 2002/07/05 17:15:14 1.6
@@ -188,7 +188,7 @@
return;
}
-static void export_indent(export_t *ctx, int n)
+static void export_indent(export_t *ctx, signed int n)
{
if (n > 0) {
while (n > 0) {
@@ -242,7 +242,10 @@
if (node2 != NULL)
export_format(ctx, " ");
}
- export_format(ctx, ";\n");
+ cfg_node_goto(node, CFG_NODE_GOTO_RBROTH, &node2);
+ if (node2 != NULL)
+ export_format(ctx, ";");
+ export_format(ctx, "\n");
}
else if (type == CFG_NODE_TYPE_TOK) {
cfg_node_get(node, CFG_NODE_ATTR_TOKEN, &token);
|
|