From 4f2dc0ecffcdb3e2b0ac50349ffd8c6117125a55 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 4 Oct 2009 17:01:28 -0400 Subject: [PATCH] Internals: Route abort() through vlabort(). No functional change --- src/V3Error.cpp | 23 +++++++++++++---------- src/V3Error.h | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/V3Error.cpp b/src/V3Error.cpp index 86e3d7956..b60ad96ae 100644 --- a/src/V3Error.cpp +++ b/src/V3Error.cpp @@ -303,6 +303,18 @@ string V3Error::msgPrefix(V3ErrorCode code) { else return "%Warning-"+(string)code.ascii()+": "; } +//====================================================================== +// Abort/exit + +void V3Error::vlAbort () { + if (V3Error::debugDefault()) { + cerr<