Merge pull request #492 from KLayout/issue-491

Issue #491 fixed (maybe)
This commit is contained in:
Matthias Köfferlein 2020-02-16 10:15:53 +01:00 committed by GitHub
commit 161068c70a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@ void LayoutToNetlistStandardReader::read_netlist (db::Netlist *netlist, db::Layo
tl_assert (netlist != 0);
}
db::LayoutLocker layout_locker (l2n ? l2n->internal_layout () : 0);
while (! at_end ()) {
if (test (skeys::version_key) || test (lkeys::version_key)) {