summaryrefslogtreecommitdiff
path: root/src/hs_parse_args.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2021-08-23 11:26:46 -0500
committersanine <sanine.not@pm.me>2021-08-23 11:26:46 -0500
commit9782f9ff35b1fdfa67438ea620bd7c91497781a3 (patch)
tree6b759267a5e42708bfe106f540e907dc1abaebac /src/hs_parse_args.c
parentcd4a04ee73e50056f3d04e9f13b490dbf5ed800a (diff)
update hs_parse_args_tests to reflect the lack of type distinction between integers and numbers
Diffstat (limited to 'src/hs_parse_args.c')
-rw-r--r--src/hs_parse_args.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hs_parse_args.c b/src/hs_parse_args.c
index 6fb8f31..eee34e9 100644
--- a/src/hs_parse_args.c
+++ b/src/hs_parse_args.c
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
#include "honeysuckle.h"
static bool check_parse(lua_State *L, int index, struct hs_arg *expected)
@@ -104,7 +106,7 @@ void hs_parse_args_(lua_State *L, int n_args, struct hs_arg *arguments)
lua_pushstring(L, ", ");
}
lua_pop(L, 1);
- lua_pushstring(") instead");
+ lua_pushstring(L, ") instead");
lua_concat(L, 1 + (2*n_args) + (2*n_provided));
lua_error(L);
}