瀏覽代碼

fix asm comment position

When emitting data detected as zero
the comment appeared before the data
directives were output.
Quentin Carbonneaux 3 年之前
父節點
當前提交
a7e1602252
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.c

+ 1 - 1
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