]> Repositorios git - scryer-prolog.git/commitdiff
add tidy_pstr_trail to neck_cut
authorMark Thom <[email protected]>
Tue, 25 Sep 2018 12:50:19 +0000 (09:50 -0300)
committerMark Thom <[email protected]>
Tue, 25 Sep 2018 12:50:19 +0000 (09:50 -0300)
src/prolog/machine/machine_state_impl.rs

index 5e2245f5bd19a70b9f886365e5b61a0d65f464ca..6b1015aaa84a57192702bfe1274944d8278f0ab8 100644 (file)
@@ -2279,6 +2279,7 @@ impl MachineState {
                 if b > b0 {
                     self.b = b0;
                     self.tidy_trail();
+                   self.tidy_pstr_trail();
                     self.or_stack.truncate(self.b);
                 }