diff --git a/src/main.c b/src/main.c index 93ed98f0..8e0edb89 100644 --- a/src/main.c +++ b/src/main.c @@ -797,14 +797,13 @@ void cbqn_runLine0(char* ln, i64 read) { return; #endif } else if (isCmd(cmdS, &cmdE, "e ") || isCmd(cmdS, &cmdE, "explain ")) { - B expl = bqn_explain(utf8Decode0(cmdE), replPath); - HArr* expla = toHArr(expl); + HArr* expla = toHArr(bqn_explain(utf8Decode0(cmdE), replPath)); usz ia=PIA(expla); for(usz i=0; ia[i]); putchar('\n'); } - dec(expl); + ptr_dec(expla); return; } else { printf("Unknown REPL command\n");