Call error function on rethrow after trace exit.

This commit is contained in:
Mike Pall
2020-08-09 22:50:31 +02:00
parent 12ab596997
commit e296f56b82
9 changed files with 11 additions and 15 deletions

View File

@@ -94,6 +94,7 @@ static BCPos debug_framepc(lua_State *L, GCfunc *fn, cTValue *nextframe)
}
}
ins = cframe_pc(cf);
if (!ins) return NO_BCPOS;
}
}
pt = funcproto(fn);