no code to dump for a null function

This commit is contained in:
Bill Currie 2003-08-24 05:08:47 +00:00
parent 5d8bebfff8
commit 253d19876c

View file

@ -407,6 +407,7 @@ PR_Get_Local_Def (progs_t *pr, int offs)
void
PR_DumpState (progs_t *pr)
{
if (pr->pr_xfunction) {
if (pr_debug->int_val && pr->debug) {
pr_lineno_t *lineno;
pr_auxfunction_t *func = 0;
@ -424,6 +425,7 @@ PR_DumpState (progs_t *pr)
PR_PrintStatement (pr, pr->pr_statements + addr++);
}
PR_PrintStatement (pr, pr->pr_statements + pr->pr_xstatement);
}
PR_StackTrace (pr);
}