diff --git a/src/V3Error.h b/src/V3Error.h index d5649f646..a6a516c8d 100644 --- a/src/V3Error.h +++ b/src/V3Error.h @@ -298,10 +298,9 @@ public: || m_e == BLKSEQ || m_e == DECLFILENAME || m_e == DEFPARAM || m_e == EOFNEWLINE || m_e == GENUNNAMED || m_e == IMPORTSTAR || m_e == INCABSPATH || m_e == MULTIDRIVENPROC || m_e == PINCONNECTEMPTY || m_e == PINNOCONNECT - || m_e == PROCASSINIT - || m_e == SYNCASYNCNET || m_e == UNDRIVEN || m_e == UNUSEDGENVAR - || m_e == UNUSEDLOOP || m_e == UNUSEDPARAM || m_e == UNUSEDSIGNAL - || m_e == VARHIDDEN); + || m_e == PROCASSINIT || m_e == SYNCASYNCNET || m_e == UNDRIVEN + || m_e == UNUSEDGENVAR || m_e == UNUSEDLOOP || m_e == UNUSEDPARAM + || m_e == UNUSEDSIGNAL || m_e == VARHIDDEN); } bool isNamed() const { return m_e >= EC_FIRST_NAMED; } diff --git a/test_regress/t/t_lint_multidriven_proc_bad.py b/test_regress/t/t_lint_multidriven_proc_bad.py old mode 100644 new mode 100755 index b9dbac65c..1f8c7cc3e --- a/test_regress/t/t_lint_multidriven_proc_bad.py +++ b/test_regress/t/t_lint_multidriven_proc_bad.py @@ -16,7 +16,8 @@ test.scenarios('linter') # instead, confirming MULTIDRIVENPROC is suppressed there. # -Wno-MULTITOP: both modules are top-level here on purpose (two independent # demonstrations), so silence the unrelated multiple-top-module warning. -test.lint(fails=True, verilator_flags2=['-Wwarn-MULTIDRIVENPROC', '-Wno-MULTITOP'], +test.lint(fails=True, + verilator_flags2=['-Wwarn-MULTIDRIVENPROC', '-Wno-MULTITOP'], expect_filename=test.golden_filename) test.extract(in_filename=test.top_filename,