fix bug in saving P at p_eq (obs from Frabrizio Riguzzi)

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1872 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2007-05-01 21:18:19 +00:00
parent f92d494e8e
commit b15193885e

View File

@ -10,8 +10,11 @@
* * * *
* File: absmi.c * * File: absmi.c *
* comments: Portable abstract machine interpreter * * comments: Portable abstract machine interpreter *
* Last rev: $Date: 2007-04-10 22:13:20 $,$Author: vsc $ * * Last rev: $Date: 2007-05-01 21:18:19 $,$Author: vsc $ *
* $Log: not supported by cvs2svn $ * $Log: not supported by cvs2svn $
* Revision 1.221 2007/04/10 22:13:20 vsc
* fix max modules limitation
*
* Revision 1.220 2007/03/21 18:32:49 vsc * Revision 1.220 2007/03/21 18:32:49 vsc
* fix memory expansion bugs. * fix memory expansion bugs.
* *
@ -11539,8 +11542,8 @@ Yap_absmi(int inp)
GONext(); GONext();
} }
ENDD(d2); ENDD(d2);
PREG = NEXTOP(PREG, l);
always_set_pc(); always_set_pc();
PREG = NEXTOP(PREG, l);
GONext(); GONext();
} }
PREG = PREG->u.l.l; PREG = PREG->u.l.l;