From ce18674d88d802e608d5ec58d94393a367c7a051 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 25 May 2013 12:23:09 -0400 Subject: [PATCH] Internals: (see last) also dump on first non-fatal --- src/V3Error.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/V3Error.cpp b/src/V3Error.cpp index a9e6885c7..67f5f0fb4 100644 --- a/src/V3Error.cpp +++ b/src/V3Error.cpp @@ -493,5 +493,10 @@ void V3Error::v3errorEnd (ostringstream& sstr) { vlAbort(); } + else if (isError(s_errorCode, s_errorSuppressed)) { + // We don't dump tree on any error because a Visitor may be in middle of + // a tree cleanup and cause a false broken problem. + if (s_errorExitCb) s_errorExitCb(); + } } }