diff --git a/src/V3EmitXml.cpp b/src/V3EmitXml.cpp index 28412fae5..84076a23b 100644 --- a/src/V3EmitXml.cpp +++ b/src/V3EmitXml.cpp @@ -299,6 +299,7 @@ private: && nodep->level() <=2 ) { // ==2 because we don't add wrapper when in XML mode m_os<<"\n"; m_os<<"fileline()->xml() + <<" "<fileline()->xmlDetailedLocation() <<" name=\""<name()<<"\"" <<" submodname=\""<name()<<"\"" <<" hier=\""<name()<<"\""; @@ -319,6 +320,7 @@ private: } if (!m_hasChildren) m_os<<">\n"; m_os<<"fileline()->xml() + <<" "<fileline()->xmlDetailedLocation() <<" name=\""<name()<<"\"" <<" submodname=\""<modName()<<"\"" <<" hier=\""<name()<<"\""; diff --git a/test_regress/t/t_xml_first.out b/test_regress/t/t_xml_first.out index 8a909a3b3..5e4edbca8 100644 --- a/test_regress/t/t_xml_first.out +++ b/test_regress/t/t_xml_first.out @@ -11,9 +11,9 @@ - - - + + + diff --git a/test_regress/t/t_xml_output.out b/test_regress/t/t_xml_output.out index 0b540c9c4..52a262c06 100644 --- a/test_regress/t/t_xml_output.out +++ b/test_regress/t/t_xml_output.out @@ -11,7 +11,7 @@ - + diff --git a/test_regress/t/t_xml_tag.out b/test_regress/t/t_xml_tag.out index 5425cecf2..e192a9b65 100644 --- a/test_regress/t/t_xml_tag.out +++ b/test_regress/t/t_xml_tag.out @@ -11,8 +11,8 @@ - - + +