break from loop in get_code upon successful character read

This commit is contained in:
Mark Thom
2021-11-24 23:13:14 -07:00
parent 1b3f290037
commit f340f9ac94
2 changed files with 5 additions and 2 deletions

View File

@@ -2369,6 +2369,8 @@ impl MachineState {
if self.fail {
return Ok(());
}
break;
}
_ => {
self.eof_action(