Skip to content

Commit

Permalink
fix bug in recent bugfix: must eliminate trailing whitespace completely
Browse files Browse the repository at this point in the history
  • Loading branch information
joern274 committed Jun 1, 2024
1 parent 61b1ae2 commit e6debc7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,8 @@ namespace hal {
bool ok;
QString wireName = mWire.captured(3);
if (!wireName.isEmpty() && wireName.at(0)=='\\') wireName.remove(0,1);
const Net* net = netNames.value(wireName.trimmed());
wireName = wireName.trimmed();
const Net* net = netNames.value(wireName);
if (!netNames.isEmpty() && !net) continue; // net not found in given name list
if (mAbbrevByName.contains(wireName))
{
Expand Down

0 comments on commit e6debc7

Please sign in to comment.