summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-03-26 16:14:10 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-03-26 16:14:10 -0400
commit5a6004920a860160cdb4550f104b7bb20a54da7f (patch)
treeef5016475e289b7f79da848877b51107dd62521f /tnslc/simple.tnsl
parent217f4b1ab43b9fda34512261659d368e6c682b8d (diff)
Fixed multiple simple parameters
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 9e0f700..20348c1 100644
--- a/tnslc/simple.tnsl
+++ b/tnslc/simple.tnsl
@@ -11,8 +11,8 @@ struct Test {
int i, j, k
}
-/; call_me (int i) [int]
- return i + 1
+/; call_me (int i, 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)
+ m.j = call_me(m.j, argc)
# return 3
return m.j