mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
+1
-1
@@ -371,7 +371,7 @@ bool FileLine::warnOff(const string& msg, bool flag) {
|
||||
return true;
|
||||
}
|
||||
const V3ErrorCode code{cmsg};
|
||||
if (code < V3ErrorCode::EC_FIRST_WARN) {
|
||||
if (code.hardError()) {
|
||||
return false;
|
||||
} else {
|
||||
warnOff(code, flag);
|
||||
|
||||
Reference in New Issue
Block a user