summaryrefslogtreecommitdiff
path: root/tnslc/read_file_test.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/read_file_test.tnsl')
-rw-r--r--tnslc/read_file_test.tnsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tnslc/read_file_test.tnsl b/tnslc/read_file_test.tnsl
index 60c4c5b..cd8299b 100644
--- a/tnslc/read_file_test.tnsl
+++ b/tnslc/read_file_test.tnsl
@@ -1,6 +1,8 @@
:include "c_wrap.tnsl"
+:include "utils.tnsl"
{}uint8 usage_msg = "Usage: read_file.exe [file to read] [file to write]\n\0"
+{}uint8 ok_msg = "Ok!\n\0"
{}uint8 print_one = "\0\0"
{}uint8 nl = "\n\0"
@@ -19,6 +21,8 @@
/; if (argc < 2)
_printf(~usage_msg{0})
return 1
+ ;; else
+ _printf(~ok_msg{0})
;/
_printf(argv{1})