summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-17 21:28:52 +0100
committerubq323 <ubq323@ubq323.website>2024-08-17 21:28:52 +0100
commitfc5fb73c08d563ae441f785276f1304da7538fea (patch)
treebe5bb5fc54253ac73927ce7293381b7d0cf6c8f8
parent976aeda6465d0700843acbacdf79e18a652fd57e (diff)
finish append -> append!
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
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]);