summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-03-26 17:25:09 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-03-26 17:25:09 -0400
commit4a71d4c02a4613454f3fdb782acd830de0f23641 (patch)
tree004b30846966429d1c37ff5749170f3d8a9c40a2 /tnslc/simple.tnsl
parent5a6004920a860160cdb4550f104b7bb20a54da7f (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.tnsl6
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