diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-10-03 10:38:16 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-10-08 21:48:47 +0200 |
commit | a7e1602252be24f51afa3dc66e3adc2b88d1e0c1 (patch) | |
tree | d2e3f12330d87bac858460b4d17c48e909bbb9cd | |
parent | 4e90b4210edc439bf749f495855e29f711d7e99e (diff) | |
download | roux-a7e1602252be24f51afa3dc66e3adc2b88d1e0c1.tar.gz |
fix asm comment position
When emitting data detected as zero the comment appeared before the data directives were output.
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |