From 0d2c569ed2e408d0c1cbac7f170f4e281601eb24 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 13 Oct 2022 13:46:08 -0400 Subject: Fix header on dummy main func --- tnslc/compile/compile.tnsl | 3 --- tnslc/dummy.tnsl | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'tnslc') diff --git a/tnslc/compile/compile.tnsl b/tnslc/compile/compile.tnsl index 8baa4c0..420f5b1 100644 --- a/tnslc/compile/compile.tnsl +++ b/tnslc/compile/compile.tnsl @@ -249,9 +249,6 @@ ;break ;/ ;/ - - ;{}charp tmp = mem_offset("%edi", "%edx", "1") - ;add_strings(~csec, ~tmp) ;tnsl.io.File out = tnsl.io.writeFile(file) diff --git a/tnslc/dummy.tnsl b/tnslc/dummy.tnsl index 60fe913..8a82981 100644 --- a/tnslc/dummy.tnsl +++ b/tnslc/dummy.tnsl @@ -10,7 +10,7 @@ ;asm "call free" ;/ -/; main [int] +/; main (uint argc, ~~uint8 argv) [int] ;~void ptr = _alloc(10) ;_delete(ptr) ;return 0 -- cgit v1.2.3