commit a7e1602252be24f51afa3dc66e3adc2b88d1e0c1
parent 4e90b4210edc439bf749f495855e29f711d7e99e
Author: Quentin Carbonneaux <quentin@c9x.me>
Date: Mon, 3 Oct 2022 10:38:16 +0200
fix asm comment position
When emitting data detected as zero
the comment appeared before the data
directives were output.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -40,11 +40,11 @@ data(Dat *d)
{
if (dbg)
return;
+ emitdat(d, outf);
if (d->type == DEnd) {
fputs("/* end data */\n\n", outf);
freeall();
}
- emitdat(d, outf);
}
static void