3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-12 12:41:28 +00:00

Merge pull request #5332 from YosysHQ/parse_specify-rebased

Add state_dependent_path_declaration so that `ifnone` can be parsed (rebased)
This commit is contained in:
Emil J 2025-09-09 21:53:04 +02:00 committed by GitHub
commit 5278b9cfe1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 77 additions and 7 deletions

View file

@ -377,6 +377,7 @@ TIME_SCALE_SUFFIX [munpf]?s
"begin" { return parser::make_TOK_BEGIN(out_loc); }
"end" { return parser::make_TOK_END(out_loc); }
"if" { return parser::make_TOK_IF(out_loc); }
"ifnone" { return parser::make_TOK_IFNONE(out_loc); }
"else" { return parser::make_TOK_ELSE(out_loc); }
"for" { return parser::make_TOK_FOR(out_loc); }
"posedge" { return parser::make_TOK_POSEDGE(out_loc); }