diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-10-13 13:46:08 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-10-13 13:46:08 -0400 |
commit | 0d2c569ed2e408d0c1cbac7f170f4e281601eb24 (patch) | |
tree | 3037e88fdaff0d8763524d1b7dcd02ed94bf30c5 /tnslc | |
parent | 05bdef2fb9f45c6ba86eabd6ebff240c5856c69d (diff) |
Fix header on dummy main func
Diffstat (limited to 'tnslc')
-rw-r--r-- | tnslc/compile/compile.tnsl | 3 | ||||
-rw-r--r-- | tnslc/dummy.tnsl | 2 |
2 files changed, 1 insertions, 4 deletions
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 |