We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf2e1d9 commit cf139acCopy full SHA for cf139ac
ulisp.hpp
@@ -7296,8 +7296,10 @@ object* eval (object* form, object* env) {
7296
// special symbol macro handling
7297
else if (builtinp(name)) {
7298
builtin_t bname = builtin(name);
7299
- if (fntype(getminmax(bname)) == SPECIAL_SYMBOLS) return ((fn_ptr_type)lookupfn(bname))(NULL, env);
7300
- return bfunction_from_symbol(form);
+ uint8_t ft = fntype(getminmax(bname));
+ if (ft == SPECIAL_SYMBOLS) return ((fn_ptr_type)lookupfn(bname))(NULL, env);
7301
+ else if (ft == OTHER_FORMS) return form;
7302
+ else return bfunction_from_symbol(form);
7303
}
7304
Context = NIL;
7305
error("undefined", form);
0 commit comments