int f_nvalues; /* size of f_valuestack */
int f_nblocks; /* size of f_blockstack */
int f_iblock; /* index in f_blockstack */
+ int f_lasti; /* Last instruction if called */
+ int f_lineno; /* Current line number */
} frameobject;
{"f_code", T_OBJECT, OFF(f_code)},
{"f_globals", T_OBJECT, OFF(f_globals)},
{"f_locals", T_OBJECT, OFF(f_locals)},
+ {"f_lasti", T_INT, OFF(f_lasti)},
+ {"f_lineno", T_INT, OFF(f_lineno)},
{NULL} /* Sentinel */
};
DECREF(f);
f = NULL;
}
+ f->f_lasti = 0;
+ f->f_lineno = -1;
}
return f;
}