summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--main.c2
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