Typo in error message.

This commit is contained in:
Jean-Paul Chaput 2021-09-30 20:00:24 +02:00
parent 0d473e18c0
commit 35c44f8b81
1 changed files with 3 additions and 1 deletions

View File

@ -783,12 +783,13 @@ void ConnectPlugHooks(Cell* cell)
cerr << Error( "SubNetNames::match(): std::stoi() catched an exception on \"%s\"." cerr << Error( "SubNetNames::match(): std::stoi() catched an exception on \"%s\"."
, sindex.c_str() ) << endl; , sindex.c_str() ) << endl;
} }
cerr << "true" << endl;
return true; return true;
} else { } else {
if (code == REG_NOMATCH) { if (code == REG_NOMATCH) {
size_t pos = s.find( '(' ); size_t pos = s.find( '(' );
if (pos != string::npos) { if (pos != string::npos) {
cerr << Error( "SubNetNames::match(): Strange CHDL signal name \"%s\"." cerr << Error( "SubNetNames::match(): Strange VHDL signal name \"%s\"."
, s.c_str() ) << endl; , s.c_str() ) << endl;
} }
} else { } else {
@ -801,6 +802,7 @@ void ConnectPlugHooks(Cell* cell)
} }
_base = s; _base = s;
_index = -1; _index = -1;
cerr << "false" << endl;
return false; return false;
} }