diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-04-11 04:37:39 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-04-11 04:37:39 -0400 |
| commit | 8997ebe0fa11f26698fb0ee081134e51a0d9e6fb (patch) | |
| tree | b82c971e82f23c5e15536806ae46792562b19c1e /tnslc/test.tnsl | |
| parent | af4ef5d7af33530ee64980e9db1a9d52571f0e70 (diff) | |
[tnslc] initial comp of literals
Diffstat (limited to 'tnslc/test.tnsl')
| -rw-r--r-- | tnslc/test.tnsl | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index ddc10d1..5688724 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -1,11 +1,5 @@ -/; main (int argc, ~~uint8 argv) [int] - int i = 0 - /; if (len args > 1) - i = len args - ;; else - i = ~args - ;/ - return i +/; pass_a (int a) [int] + return a ;/ |