From 461404cd451616105f5cd60066e2bc5d0321ca65 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 23 Nov 2025 11:16:47 +0100 Subject: [PATCH] Don't terminate parsing on invalid entity names --- src/ifcparse/IfcFile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcparse/IfcFile.cpp b/src/ifcparse/IfcFile.cpp index d0b2dd030e..9e26b24442 100644 --- a/src/ifcparse/IfcFile.cpp +++ b/src/ifcparse/IfcFile.cpp @@ -705,6 +705,7 @@ std::optionaldeclaration_by_name(TokenFunc::asStringRef(token_stream_[2])); } catch (const IfcException& ex) { Logger::Message(Logger::LOG_ERROR, std::string(ex.what()) + " at offset " + std::to_string(token_stream_[2].startPos)); + current_id = 0; goto advance; }