saving progress so far
This commit is contained in:
parent
3658833af3
commit
18a69872ab
8 changed files with 379 additions and 59 deletions
|
@ -315,10 +315,10 @@ pub(super) fn parse_metadata(word_reader : &mut WordReader) -> Result<Metadata,
|
|||
metadata.timescale = timescale.unwrap();
|
||||
}
|
||||
}
|
||||
// in VCDs, the scope keyword indicates the end of the metadata section
|
||||
"scope" => {break}
|
||||
"var" => {break}
|
||||
// we keep searching for words until we've found one of the following
|
||||
// keywords, ["version", "timescale", "scope"]
|
||||
// keywords, ["version", "timescale", "scope", "var"]
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,6 +52,7 @@ pub(super) fn parse_var<'a>(
|
|||
// ^ - signal_alias
|
||||
let (word, cursor) = word_reader.next_word().ok_or(&err)?;
|
||||
let signal_alias = word.to_string();
|
||||
// dbg!(&signal_alias);
|
||||
|
||||
// $var parameter 3 a IDLE $end
|
||||
// ^^^^ - full_signal_name(can extend until $end)
|
||||
|
|
Reference in a new issue