Add support for fork scopes

This commit is contained in:
Oscar Gustafsson 2023-10-06 08:23:59 +02:00
parent bc7c6913ce
commit dad11e2f57

View file

@ -238,7 +238,7 @@ fn parse_scopes_inner<R: std::io::Read>(
// ^^^^^^ - module keyword
let (keyword, cursor) = next_word!(word_reader)?;
let expected = ["module", "begin", "task", "function"];
let expected = ["module", "begin", "task", "function", "fork"];
if expected.contains(&keyword) {
Ok(())
} else {