fix tabling code.
This commit is contained in:
parent
bdf8b890e3
commit
6d8649226c
2
C/exec.c
2
C/exec.c
@ -1474,7 +1474,7 @@ clean_trail(Term t)
|
|||||||
/* so the next cell is the old value */
|
/* so the next cell is the old value */
|
||||||
#ifdef FROZEN_STACKS
|
#ifdef FROZEN_STACKS
|
||||||
--pt1;
|
--pt1;
|
||||||
pt[0] = TrailVal(pt0);
|
pt[0] = TrailVal(pt1);
|
||||||
#else
|
#else
|
||||||
pt[0] = TrailTerm(pt1-1);
|
pt[0] = TrailTerm(pt1-1);
|
||||||
pt1 -= 3;
|
pt1 -= 3;
|
||||||
|
Reference in New Issue
Block a user