From 809a6de9cd6fe18c608f4763327f77644d4e3aca Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 2 Dec 2019 06:19:33 -0500 Subject: [PATCH] Fix template brackets to avoid C++11, bug1617. --- src/V3AstNodes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index edcb89ffd..562b4baca 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -274,7 +274,7 @@ AstVar::VlArgTypeRecursed AstVar::vlArgTypeRecurse(bool forFunc, const AstNodeDT if (!sub.m_osuffix.empty() || !sub.m_oref.empty()) { out += " " + sub.m_osuffix + sub.m_oref; } - out += ">"; + out += "> "; VlArgTypeRecursed info; info.m_oprefix = out; return info; @@ -285,7 +285,7 @@ AstVar::VlArgTypeRecursed AstVar::vlArgTypeRecurse(bool forFunc, const AstNodeDT if (!sub.m_osuffix.empty() || !sub.m_oref.empty()) { out += " " + sub.m_osuffix + sub.m_oref; } - out += ">"; + out += "> "; info.m_oprefix = out; return info; } else if (const AstUnpackArrayDType* adtypep = VN_CAST_CONST(dtypep, UnpackArrayDType)) { @@ -325,7 +325,7 @@ AstVar::VlArgTypeRecursed AstVar::vlArgTypeRecurse(bool forFunc, const AstNodeDT otype += "QData"+bitvec; } else if (dtypep->isWide()) { if (arrayed) { - otype += "VlWide<"+cvtToStr(dtypep->widthWords())+">"; + otype += "VlWide<"+cvtToStr(dtypep->widthWords())+"> "; } else { otype += "WData"+bitvec; // []'s added later oarray += "["+cvtToStr(dtypep->widthWords())+"]";