From 9782f9ff35b1fdfa67438ea620bd7c91497781a3 Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 23 Aug 2021 11:26:46 -0500 Subject: update hs_parse_args_tests to reflect the lack of type distinction between integers and numbers --- src/hs_parse_args.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/hs_parse_args.c') 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 + #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); } -- cgit v1.2.1