mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-24 00:14:36 +00:00
read_rtlil: warn on assigns after switches in case rules
This commit is contained in:
parent
4b3c03dabc
commit
4a057b3c44
3 changed files with 16 additions and 0 deletions
|
|
@ -31,6 +31,11 @@ void rtlil_frontend_yyerror(char const *s)
|
|||
YOSYS_NAMESPACE_PREFIX log_error("Parser error in line %d: %s\n", rtlil_frontend_yyget_lineno(), s);
|
||||
}
|
||||
|
||||
void rtlil_frontend_yywarning(char const *s)
|
||||
{
|
||||
YOSYS_NAMESPACE_PREFIX log_warning("In line %d: %s\n", rtlil_frontend_yyget_lineno(), s);
|
||||
}
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
struct RTLILFrontend : public Frontend {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue