diff options
| author | Mistivia <i@mistivia.com> | 2025-06-22 15:48:01 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-22 15:48:01 +0800 |
| commit | b19a0b2ea246be5610812bf7dd4088e0c4a70952 (patch) | |
| tree | fee7d6545d9073a1ab9d943fda0d0804e54237a8 /src/primitives.c | |
| parent | 9991238f133f2cb06ee366b2c92dbb32a126ae9d (diff) | |
eq, equal
Diffstat (limited to 'src/primitives.c')
| -rw-r--r-- | src/primitives.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/primitives.c b/src/primitives.c index 92e8110..a0a90a0 100644 --- a/src/primitives.c +++ b/src/primitives.c @@ -357,9 +357,7 @@ SExpRef primitive_funcall(Interp *interp, SExpRef args, bool istail) { if (LENGTH(args) < 1) goto error; args = lisp_eval_args(interp, args); if (CTL_FL(args)) return args; - PUSH_REG(args); SExpRef ret = lisp_apply(interp, CAR(args), CDR(args), istail); - POP_REG(); return ret; error: return new_error(interp, "funcall: syntax error.\n"); @@ -390,9 +388,7 @@ SExpRef primitive_apply(Interp *interp, SExpRef args, bool istail) { args = lisp_eval_args(interp, args); if (CTL_FL(args)) return args; if (!lisp_check_list(interp, CADR(args))) goto error; - PUSH_REG(args); ret = lisp_apply(interp, CAR(args), CADR(args), istail); - POP_REG(); return ret; error: return new_error(interp, "apply: syntax error.\n"); |
