From b8c99329aa58505c21cc30f9b5ce06e1d7637331 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Sun, 11 Dec 2022 18:04:53 +0200 Subject: [PATCH] DGen - Added trailing newline to the comment emitted by `emitHeaderComment()` --- source/tlang/compiler/codegen/emit/dgen.d | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/tlang/compiler/codegen/emit/dgen.d b/source/tlang/compiler/codegen/emit/dgen.d index bed47e1f..c3f83702 100644 --- a/source/tlang/compiler/codegen/emit/dgen.d +++ b/source/tlang/compiler/codegen/emit/dgen.d @@ -28,6 +28,7 @@ public final class DCodeEmitter : CodeEmitter emitStaticAllocations(initQueue); gprintln("Code emittings needed: "~to!(string)(walkLength(codeQueue[]))); + emitCodeQueue(codeQueue); } /** @@ -59,7 +60,7 @@ public final class DCodeEmitter : CodeEmitter file.writeln(" *\n * "~headerPhrase); } - file.writeln(" */"); + file.writeln(" */\n"); } /** @@ -72,4 +73,9 @@ public final class DCodeEmitter : CodeEmitter { } + + private void emitCodeQueue(SList!(Instruction) codeQueue) + { + //TODO: Implement me + } } \ No newline at end of file