diff --git a/src/vcd/parse/scopes.rs b/src/vcd/parse/scopes.rs index c60deda..ce97277 100644 --- a/src/vcd/parse/scopes.rs +++ b/src/vcd/parse/scopes.rs @@ -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(" ");