Skip past func-y objects in REPL, too.
This commit is contained in:
parent
f48e1bf5c9
commit
92daee1d0d
|
@ -618,7 +618,7 @@ void repl(struct Environment* env)
|
||||||
free(oldBuf);
|
free(oldBuf);
|
||||||
}
|
}
|
||||||
Object o = parseEval(buf, env);
|
Object o = parseEval(buf, env);
|
||||||
if (isError(o, DID_NOT_FIND_SYMBOL)) {
|
if (isFuncy(o) || isError(o, DID_NOT_FIND_SYMBOL)) {
|
||||||
cleanObject(&o);
|
cleanObject(&o);
|
||||||
system(buf);
|
system(buf);
|
||||||
free(buf);
|
free(buf);
|
||||||
|
|
Loading…
Reference in New Issue