summaryrefslogtreecommitdiff
path: root/lisp.c
diff options
context:
space:
mode:
authorFelix Perktold <Felix.Perktold@student.uibk.ac.at>2025-12-23 13:36:33 +0100
committerFelix Perktold <Felix.Perktold@student.uibk.ac.at>2025-12-23 13:36:33 +0100
commitb99be4933bcb850cbaf96f89750e925ecf2e8386 (patch)
treeb9bdfb0ae1a4731f414f1db1d959656a57657f34 /lisp.c
parentfddfed044719c2e8d9664a007b214dacc8a0aa36 (diff)
rename eq? to equal?, fix syntax error on empty newline
Diffstat (limited to 'lisp.c')
-rw-r--r--lisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp.c b/lisp.c
index 1695ff7..6b34bab 100644
--- a/lisp.c
+++ b/lisp.c
@@ -356,7 +356,7 @@ int value_eq(value *a, value *b) {
return 1;
}
-value *builtin_eq(env *e, value *args) {
+value *builtin_equal(env *e, value *args) {
value *v_prev = eval(e, car(args));
args = cdr(args);