Commit fc445a22 authored by Jean-Paul Chaput's avatar Jean-Paul Chaput
Browse files

More comprehensive error message in VST parser (connector discrepencies).

parent 9b8ea645
......@@ -854,6 +854,12 @@ association_element
<< " Port map assignment discrepency "
<< "instance:" << Vst::states->_instanceNets.size()
<< " vs. model:" << Vst::states->_masterNets.size();
message << "\nModel:";
for ( Net* net : Vst::states->_masterNets )
message << " \"" << net->getName() << "\"";
message << "\nInstance:";
for ( Net* net : Vst::states->_instanceNets )
message << " \"" << net->getName() << "\"";
throw Error( message.str() );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment