break from loop in get_code upon successful character read

This commit is contained in:
Mark Thom
2022-01-06 21:44:41 -07:00
parent 1b3f290037
commit f340f9ac94
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -2369,6 +2369,8 @@ impl MachineState {
if self.fail {
return Ok(());
}
break;
}
_ => {
self.eof_action(