Merge pull request #268 from KLayout/issue-265

Fixed #265: put CIF at the end of the detection chain
This commit is contained in:
Matthias Köfferlein 2019-05-21 00:43:28 +02:00 committed by GitHub
commit 7d6d5afd2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -185,7 +185,9 @@ public:
}
};
static tl::RegisteredClass<db::StreamFormatDeclaration> reader_decl (new CIFFormatDeclaration (), 100, "CIF");
// NOTE: Because CIF has such a high degree of syntactic freedom, the detection is somewhat
// fuzzy: do CIF at the very end of the detection chain
static tl::RegisteredClass<db::StreamFormatDeclaration> reader_decl (new CIFFormatDeclaration (), 2100, "CIF");
// provide a symbol to force linking against
int force_link_CIF = 0;

View File

@ -166,7 +166,7 @@ public:
}
};
static tl::RegisteredClass<db::StreamFormatDeclaration> reader_decl (new DXFFormatDeclaration (), 100, "DXF");
static tl::RegisteredClass<db::StreamFormatDeclaration> reader_decl (new DXFFormatDeclaration (), 2000, "DXF");
// provide a symbol to force linking against
int force_link_DXF = 0;