fix asm comment position
When emitting data detected as zero the comment appeared before the data directives were output.
This commit is contained in:
parent
4e90b4210e
commit
a7e1602252
1 changed files with 1 additions and 1 deletions
2
main.c
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue