Merge pull request #12 from oscargus/keepindex

Keep index as part of signal name
This commit is contained in:
Frans Skarman 2023-09-26 11:03:10 +00:00 committed by GitHub
commit 806ad9be3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,11 +98,7 @@ pub(super) fn parse_var<'a, R: std::io::Read>(
let (word, _) = next_word!(word_reader)?;
match word {
"$end" => break,
other => {
if !other.starts_with("[") {
full_signal_name.push(word.to_string())
}
}
_ => full_signal_name.push(word.to_string())
}
}
let full_signal_name = full_signal_name.join(" ");