From a7e1602252be24f51afa3dc66e3adc2b88d1e0c1 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 3 Oct 2022 10:38:16 +0200 Subject: fix asm comment position When emitting data detected as zero the comment appeared before the data directives were output. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index c028503..8959cd9 100644 --- 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 -- cgit 1.4.1