]> Repositorios git - scryer-prolog.git/commitdiff
add missing P increment to GetPartialString (#3089)
authorMark Thom <[email protected]>
Thu, 18 Sep 2025 03:31:03 +0000 (20:31 -0700)
committerMark Thom <[email protected]>
Thu, 18 Sep 2025 03:31:03 +0000 (20:31 -0700)
src/machine/dispatch.rs

index c1b394c6aa1565f110fc3931c46df1eebce36986..fc13d8258f1992092f2347533acecf2fa791267f 100644 (file)
@@ -2817,6 +2817,7 @@ impl Machine {
                                 self.machine_st.mode = MachineMode::Write;
 
                                 debug_assert!(!self.machine_st.fail);
+                                self.machine_st.p += 1;
 
                                 continue;
                             }