exec working up to halt
clean shutdown doesn't for some reason
This commit is contained in:
@@ -79,7 +79,6 @@ pub fn parse_num(string: &str) -> Result<Numeric, NumError> {
|
||||
.or_else(|| string.strip_prefix("0b").map(|s| (2u8, s, 2)))
|
||||
.or_else(|| string.strip_prefix("0o").map(|s| (8u8, s, 2)))
|
||||
.unwrap_or((10u8, string, 0));
|
||||
eprintln!("({radix}, {noprefix}, {pos})");
|
||||
// identity
|
||||
let (base_s, exponent) = match noprefix.split_once('p') {
|
||||
Some((b, e)) => {
|
||||
@@ -88,7 +87,6 @@ pub fn parse_num(string: &str) -> Result<Numeric, NumError> {
|
||||
},
|
||||
None => (noprefix, 0),
|
||||
};
|
||||
eprintln!("({base_s},{exponent})");
|
||||
match base_s.split_once('.') {
|
||||
None => {
|
||||
let base = int_parse(base_s, radix, pos)?;
|
||||
|
||||
Reference in New Issue
Block a user