Skip to content

Commit

Permalink
Merge pull request #1113 from ra3xdh/1111_fix
Browse files Browse the repository at this point in the history
Fixed parsing SPICE library
  • Loading branch information
ra3xdh authored Dec 3, 2024
2 parents 07b2171 + 96fb011 commit c94049b
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 c94049b

Please sign in to comment.