aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/m32c/opc2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m32c/opc2c.c b/sim/m32c/opc2c.c
index da4da1c..113e390 100644
--- a/sim/m32c/opc2c.c
+++ b/sim/m32c/opc2c.c
@@ -282,7 +282,7 @@ dump_lines (opcode * op, int level, Indirect * ind)
varnames[i], (i < vn - 1) ? "," : "\\n", varnames[i]);
printf ("%*s }\n", level, "");
}
- printf ("#line %d \"%s\"\n", op->lineno + 1, orig_filename);
+ printf ("#line %d \"%s\"\n", op->lineno, orig_filename);
for (i = 0; i < op->nlines; i++)
printf ("%*s%s", level, "", op->lines[i]);
if (op->comment)