diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2023-08-05 17:48:15 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2023-08-05 17:48:15 -0400 |
commit | adc97807daa20efd16fcc9ef82f773bdd23f63bd (patch) | |
tree | 80a248a90dedf3ebce92cd576cf0db70e359959c /tnslc/copy.tnsl | |
parent | 6ee6814c269aa5a5c2ea8e031db3a335df2c1f2d (diff) |
Fix issue with cf block conditionals
Diffstat (limited to 'tnslc/copy.tnsl')
-rw-r--r-- | tnslc/copy.tnsl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tnslc/copy.tnsl b/tnslc/copy.tnsl index 90e1126..636a773 100644 --- a/tnslc/copy.tnsl +++ b/tnslc/copy.tnsl @@ -1,6 +1,5 @@ :include "c_wrap.tnsl" -:include "vector.tnsl" -:include "utils.tnsl" +# :include "utils.tnsl" {}uint8 wrong_args = "Usage: copy [from] [to]" @@ -25,8 +24,8 @@ uint8 buf = 0 int read_count = 0 int tries = 0 - _read_byte(read_handle, ~buf, ~read_count) - /; loop (_read_byte(read_handle, ~buf, ~read_count)) + /; loop + _read_byte(read_handle, ~buf, ~read_count) /; if (read_count == 0) break ;/ @@ -38,4 +37,4 @@ _close_file(write_handle) return 0 -;/
\ No newline at end of file +;/ |