Skip to content

Commit e923c1f

Browse files
committed
fix: allow empty numeric ports
1 parent ce94873 commit e923c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xml_parsing.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ TreeNode::Ptr XMLParser::PImpl::createNodeFromXML(const XMLElement* element,
659659
"] is found in the XML, but not in the "
660660
"providedPorts()"));
661661
}
662-
else
662+
else if(!port_value.empty())
663663
{
664664
const auto& port_model = port_model_it->second;
665665
bool is_blacbkboard = port_value.size() >= 3 && port_value.front() == '{' &&

0 commit comments

Comments
 (0)