From 341963e820e66251efcc5f7cf5e536ed4416d2c6 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 27 Mar 2024 09:00:34 -0400 Subject: [PATCH] Internals: Avoid '%Error' so can grep logs for real errors --- src/V3AstNodes.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index bd1919c52..a8aca5aee 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -1723,7 +1723,7 @@ void AstJumpGo::dump(std::ostream& str) const { if (labelp()) { labelp()->dump(str); } else { - str << "%Error:UNLINKED"; + str << "%E:UNLINKED"; } } void AstJumpGo::dumpJson(std::ostream& str) const { dumpJsonGen(str); } @@ -1738,7 +1738,7 @@ void AstJumpLabel::dump(std::ostream& str) const { if (blockp()) { blockp()->dump(str); } else { - str << "%Error:UNLINKED"; + str << "%E:UNLINKED"; } } void AstJumpLabel::dumpJson(std::ostream& str) const { dumpJsonGen(str); } @@ -1768,7 +1768,7 @@ void AstMemberSel::dump(std::ostream& str) const { if (varp()) { varp()->dump(str); } else { - str << "%Error:UNLINKED"; + str << "%E:UNLINKED"; } } void AstMemberSel::dumpJson(std::ostream& str) const { dumpJsonGen(str); } @@ -2543,7 +2543,7 @@ void AstCoverInc::dump(std::ostream& str) const { if (declp()) { declp()->dump(str); } else { - str << "%Error:UNLINKED"; + str << "%E:UNLINKED"; } } void AstCoverInc::dumpJson(std::ostream& str) const { dumpJsonGen(str); } @@ -2569,7 +2569,7 @@ void AstTraceInc::dump(std::ostream& str) const { if (declp()) { declp()->dump(str); } else { - str << "%Error:UNLINKED"; + str << "%E:UNLINKED"; } } void AstTraceInc::dumpJson(std::ostream& str) const { dumpJsonGen(str); }