summaryrefslogtreecommitdiffstats
path: root/loc2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'loc2c.c')
-rw-r--r--loc2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loc2c.c b/loc2c.c
index e3cb3724..73f6ee32 100644
--- a/loc2c.c
+++ b/loc2c.c
@@ -1317,6 +1317,7 @@ emit_loc_address (FILE *out, struct location *loc, unsigned int indent,
emit ("%s", loc->address.program);
else
{
+ emit ("{\n");
emit ("%*s%s " STACKFMT, (indent + 1) * 2, "", STACK_TYPE, 0);
for (unsigned int i = 1; i < loc->address.stack_depth; ++i)
emit (", " STACKFMT, i);
@@ -1324,6 +1325,7 @@ emit_loc_address (FILE *out, struct location *loc, unsigned int indent,
emit ("%s%*s%s = " STACKFMT ";\n", loc->address.program,
(indent + 1) * 2, "", target, 0);
+ emit ("}\n");
}
}