fix number not recognizing floats

This commit is contained in:
Mark Thom
2021-11-22 00:17:45 -07:00
parent 7507e88406
commit bc613eeff9

View File

@@ -3250,6 +3250,9 @@ impl MachineState {
self.fail = true;
}
}
Ok(Number::Float(_)) => {
self.p += 1;
}
_ => {
self.fail = true;
}