summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loc2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loc2c.c b/loc2c.c
index 14aaf53e..9a2e475f 100644
--- a/loc2c.c
+++ b/loc2c.c
@@ -1460,6 +1460,8 @@ discontiguify (struct obstack *pool, int indent, struct location *loc,
piece->constant_block = loc->constant_block + offset;
add (piece);
+
+ offset += size;
}
break;