summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/eval.c b/eval.c
index eece7f3d..815689f0 100644
--- a/eval.c
+++ b/eval.c
@@ -1947,11 +1947,11 @@ static void builtin_reject_test(val op, val sym, val form)
} else if (opt_compat && opt_compat <= 107) {
/* empty */
} else if (builtin_kind) {
- eval_error(form, lit("~s: cannot bind ~s, which is a built-in ~s"),
- op, sym, builtin_kind, nao);
+ eval_warn(form, lit("~s: redefining ~s, which is a built-in ~s"),
+ op, sym, builtin_kind, nao);
} else if (is_operator) {
- eval_error(form, lit("~s: cannot bind ~s, which is a built-in operator"),
- op, sym, nao);
+ eval_warn(form, lit("~s: redefining ~s, which is a built-in operator"),
+ op, sym, nao);
}
}