Yet another bug reported by sater.

This commit is contained in:
bal 1985-11-18 16:55:53 +00:00
parent b493f98f39
commit 5ac646f89f

View file

@ -568,8 +568,12 @@ normalfailed: if (stackpad!=tokpatlen) {
if (stackheight<=tokpatlen) {
if (!toplevel) {
BROKE();
} else
} else {
if (paniced)
fatal("No regs available");
totalcost += stackupto( &fakestack[0],ply,toplevel);
goto panic;
}
}
totalcost += stackupto( &fakestack[0],ply,toplevel);
CHKCOST();