* ./crlcore:

- Change: In ApParser, do not stop the parser whenever an external
         component is found on an internal Net. Instead, display a warning,
         sets the Net external and continue.
This commit is contained in:
Jean-Paul Chaput 2010-03-15 15:53:16 +00:00
parent 822fd9ae23
commit 20687dc00a
1 changed files with 5 additions and 1 deletions

View File

@ -595,7 +595,11 @@ namespace {
_printError ( false, "Segment neither horizontal nor vertical." ); _printError ( false, "Segment neither horizontal nor vertical." );
} }
if ( layerInfo->isConnector()) { if ( layerInfo->isConnector()) {
NetExternalComponents::setExternal(segment); if ( not net->isExternal() ) {
_printWarning ( "External component on non-external net %s", getString(net->getName()).c_str() );
net->setExternal ( true );
}
NetExternalComponents::setExternal(segment);
} }
} }
else else