From 51854e5db46033712b5dbbf78d769ea500eca14f Mon Sep 17 00:00:00 2001 From: Kai Gunger Date: Fri, 28 Nov 2025 23:54:11 -0500 Subject: Update module building code --- tnslc/compile/compbuf.tnsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tnslc/compile/compbuf.tnsl') diff --git a/tnslc/compile/compbuf.tnsl b/tnslc/compile/compbuf.tnsl index b4ce261..d4bc640 100644 --- a/tnslc/compile/compbuf.tnsl +++ b/tnslc/compile/compbuf.tnsl @@ -26,13 +26,13 @@ struct CompBuf { ;/ /; write_to(~utils.File fout) - fout`.write_cstr("BITS 64\0\n") + fout`.write_cstr("BITS 64\n\0") fout`.write_cstr(self.sec_head.as_cstr()) - fout`.write_cstr("\nsection .data\0\n\n") + fout`.write_cstr("\nsection .data\n\n\0") fout`.write_cstr(self.sec_data.as_cstr()) - fout`.write_cstr("\nsection .text\0\n\n") + fout`.write_cstr("\nsection .text\n\n\0") fout`.write_cstr(self.sec_code.as_cstr()) ;/ -- cgit v1.2.3