Add support for parsing real values (to a String)

This commit is contained in:
Oscar Gustafsson 2023-10-10 16:08:09 +02:00
parent 01eacd4028
commit b886e5d26d

View file

@ -492,7 +492,8 @@ pub(super) fn parse_events<R: std::io::Read>(
}
}?;
}
"s" => {
// Store real values as a string as well and let the user parse it to an f64
"s" | " S" | "r" | "R" => {
let val = word[1..].to_string();
let (hash, cursor) = next_word!(word_reader)?;
// lokup signal idx