Keep index as part of signal name

This commit is contained in:
Oscar Gustafsson 2023-09-13 13:24:13 +02:00
parent 4f88eab5de
commit 0897bbae66

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(" ");