mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Reduce verbosity under --debug default level
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ void V3ErrorGuarded::v3errorEnd(std::ostringstream& sstr, const string& extra)
|
||||
}
|
||||
// Suppress duplicate messages
|
||||
if (!m_messages.insert(msg).second) return;
|
||||
if (!extra.empty()) {
|
||||
if (!extra.empty() && !m_errorSuppressed) {
|
||||
const string extraMsg = warnMore() + extra + "\n";
|
||||
const size_t pos = msg.find('\n');
|
||||
msg.insert(pos + 1, extraMsg);
|
||||
|
||||
Reference in New Issue
Block a user