Skip to content
Snippets Groups Projects
Commit 6bc961f8 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

previous_object() fixed

Rev: lib/include/simulate.pre.pike:1.5
parent d466bdd0
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,8 @@ object previous_object()
o=function_object(trace[-2][2]);
for(e=sizeof(trace)-3;e>=0;e--)
{
if(!trace[1][2]) continue;
ret=function_object(trace[1][2]);
if(!trace[e][2]) continue;
ret=function_object(trace[e][2]);
if(o!=ret) return ret;
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment