about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/focaccia/deterministic.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/focaccia/deterministic.py b/src/focaccia/deterministic.py
index f7b1e78..2f3980a 100644
--- a/src/focaccia/deterministic.py
+++ b/src/focaccia/deterministic.py
@@ -300,6 +300,7 @@ finally:
             self.matched_count = None
             if from_state:
                 self.match(from_state)
+                self.matched_count -= 1
 
         def match(self, state: ReadableProgramState) -> Event | None:
             if self.matched_count is None: