3
0
Fork 0
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:
Udi Finkelstein 2019-06-11 02:52:06 +03:00
parent a91ea6612a
commit 4b56f6646d
2 changed files with 13 additions and 3 deletions

View file

@ -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; }