Skip to content

Commit 0263f7b

Browse files
committed
VirtualMachine: Reset atEnd value in reset()
1 parent 9b33a2a commit 0263f7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/engine/virtualmachine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ void VirtualMachine::reset()
176176
assert(impl->bytecode);
177177
impl->pos = impl->bytecode;
178178
impl->regCount = 0;
179+
impl->atEnd = false;
179180
}
180181

181182
/*! Moves back to the last vm::OP_CHECKPOINT instruction in the bytecode. */

0 commit comments

Comments
 (0)