Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from oscargus/keepindex
Browse files Browse the repository at this point in the history
Keep index as part of signal name
  • Loading branch information
TheZoq2 authored Sep 26, 2023
2 parents e46e0b0 + 0897bba commit 806ad9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/vcd/parse/scopes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(" ");
Expand Down

0 comments on commit 806ad9b

Please sign in to comment.