diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2023-03-26 17:25:09 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2023-03-26 17:25:09 -0400 |
commit | 4a71d4c02a4613454f3fdb782acd830de0f23641 (patch) | |
tree | 004b30846966429d1c37ff5749170f3d8a9c40a2 /tnslc/simple.tnsl | |
parent | 5a6004920a860160cdb4550f104b7bb20a54da7f (diff) |
Fix multiple issues
+ Fix calling with multiple arguments
+ Fix issue with stack positioning
+ Fix issue with alt in _eval_value
Diffstat (limited to 'tnslc/simple.tnsl')
-rw-r--r-- | tnslc/simple.tnsl | 6 |
1 files changed, 3 insertions, 3 deletions
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 |