Skip to content

Commit

Permalink
Fixed parsing SPICE library
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Dec 3, 2024
1 parent 241d2ff commit 96fb011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qucs/extsimkernels/spicecompat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ int spicecompat::getPins(const QString &file, const QString &compname, QStringLi
}

if (subckt_header.match(lin).hasMatch()) {
header_start = true;
QStringList lst2 = lin.split(sep,qucs::SkipEmptyParts);
QString name = lin.section(sep,1,1,QString::SectionSkipEmpty).toLower();
QString refname = compname.toLower();
if (name != refname) continue;
header_start = true;
lst2.removeFirst();
lst2.removeFirst();
for (const auto &s1: lst2) {
Expand Down

0 comments on commit 96fb011

Please sign in to comment.