Merge pull request #21 from oscargus/fork

Add support for fork scopes
This commit is contained in:
Frans Skarman 2023-10-06 14:42:53 +00:00 committed by GitHub
commit 5a7675d0be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {