From fc5fb73c08d563ae441f785276f1304da7538fea Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 17 Aug 2024 21:28:52 +0100 Subject: finish append -> append! --- lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.c b/lib.c index 137b1bd..b4f5015 100644 --- a/lib.c +++ b/lib.c @@ -62,7 +62,7 @@ static Val fn_arr(State *S, int nargs, Val *args) { return VAL_OBJ(o); } static Val fn_append(State *S, int nargs, Val *args) { - CHECK(nargs == 2, "need 2 args to append"); + CHECK(nargs == 2, "need 2 args to append!"); CHECK(IS_ARR(args[0]), "can only append to arr"); ObjArr *a = AS_ARR(args[0]); objarr_append(S, a, args[1]); -- cgit v1.2.3