summaryrefslogtreecommitdiff
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-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]);