From 4a71d4c02a4613454f3fdb782acd830de0f23641 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 26 Mar 2023 17:25:09 -0400 Subject: Fix multiple issues + Fix calling with multiple arguments + Fix issue with stack positioning + Fix issue with alt in _eval_value --- tnslc/simple.tnsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tnslc/simple.tnsl') diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl index 20348c1..8af8a68 100644 --- a/tnslc/simple.tnsl +++ b/tnslc/simple.tnsl @@ -11,8 +11,8 @@ struct Test { int i, j, k } -/; call_me (int i, j) [int] - return i + j +/; call_me (int i, ~int j) [int] + return i + j` ;/ /; main (int argc, ~~uint argv) [int] @@ -35,7 +35,7 @@ struct Test { argc = 90 ;/ - m.j = call_me(m.j, argc) + m.j = call_me(m.j, ~argc) # return 3 return m.j -- cgit v1.2.3