summaryrefslogtreecommitdiff
path: root/tnslc/util.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-09-20 00:03:32 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-09-20 00:03:32 -0400
commitbe9813b1062c1f9b2c0d13a76d56c41ba984c1db (patch)
treefbfa5b93495c14c646009c92c3b403e639ad9161 /tnslc/util.tnsl
parent5582d6427e2bc09b9975615f87cace64ce2d29ca (diff)
Generate a dummy file
Diffstat (limited to 'tnslc/util.tnsl')
-rw-r--r--tnslc/util.tnsl12
1 files changed, 2 insertions, 10 deletions
diff --git a/tnslc/util.tnsl b/tnslc/util.tnsl
index 4e2849b..5d84dec 100644
--- a/tnslc/util.tnsl
+++ b/tnslc/util.tnsl
@@ -32,18 +32,10 @@
;return true
;/
-/; add_strings (~{}charp a, b) [{}charp]
- ;{}charp out = ""
-
- /; loop (int i = 0; i < len a`) [i++]
- ;out.append(a`{i})
- ;/
-
+/; add_strings (~{}charp a, b)
/; loop (int i = 0; i < len b`) [i++]
- ;out.append(b`{i})
+ ;a`.append(b`{i})
;/
-
- ;return out
;/
/; reverse_string({}charp str) [{}charp]