From 92daee1d0d1cdfd49875a30909efe3f567335a17 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Tue, 29 Mar 2022 23:01:50 -0400 Subject: [PATCH] Skip past func-y objects in REPL, too. --- src/pebblisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pebblisp.c b/src/pebblisp.c index 5f9d220..48122d7 100644 --- a/src/pebblisp.c +++ b/src/pebblisp.c @@ -618,7 +618,7 @@ void repl(struct Environment* env) free(oldBuf); } Object o = parseEval(buf, env); - if (isError(o, DID_NOT_FIND_SYMBOL)) { + if (isFuncy(o) || isError(o, DID_NOT_FIND_SYMBOL)) { cleanObject(&o); system(buf); free(buf);