summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-03-19 17:43:45 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-03-19 17:43:45 -0400
commitb7d8cf4a69996604a9d6f144c1afa2ab28163306 (patch)
tree6bc806120c9c8c7e0b4fd75820fa540e2af74d0e /tnslc/simple.tnsl
parent354886a7cd3fbbb1ad23bf9007650a9074a6c581 (diff)
Changes to how the eval_* funcs work
Diffstat (limited to 'tnslc/simple.tnsl')
-rw-r--r--tnslc/simple.tnsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl
index dda4fb0..4b34340 100644
--- a/tnslc/simple.tnsl
+++ b/tnslc/simple.tnsl
@@ -22,5 +22,8 @@ mod.test sv = {
/; main [int]
~int j = ~sv.i
int i = mod.arr_i{j` - 1}
- return i
+ /; if (1 == 1)
+ return i
+ ;/
+ return 0
;/