mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Fixed brojen $error()/$info/$warning() on non-generate blocks
(within always/initial blocks)
This commit is contained in:
parent
a91ea6612a
commit
4b56f6646d
2 changed files with 13 additions and 3 deletions
|
@ -313,7 +313,7 @@ supply1 { return TOK_SUPPLY1; }
|
|||
|
||||
"$"(info|warning|error|fatal) {
|
||||
frontend_verilog_yylval.string = new std::string(yytext);
|
||||
return TOK_ELAB_TASK;
|
||||
return TOK_MSG_TASKS;
|
||||
}
|
||||
|
||||
"$signed" { return TOK_TO_SIGNED; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue