mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
Re-add token offset to failing declaration lookup in order to be picked up by validate.py
This commit is contained in:
@@ -729,7 +729,7 @@ void IfcParse::impl::in_memory_file_storage::load(unsigned entity_instance_name,
|
|||||||
context.push(simple_type_instance);
|
context.push(simple_type_instance);
|
||||||
simple_type_instance->file_ = file;
|
simple_type_instance->file_ = file;
|
||||||
} catch (IfcException& e) {
|
} catch (IfcException& e) {
|
||||||
Logger::Message(Logger::LOG_ERROR, e.what());
|
Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + " at offset " + std::to_string(next.startPos));
|
||||||
// #4070 We didn't actually capture an aggregate entry, undo length increment.
|
// #4070 We didn't actually capture an aggregate entry, undo length increment.
|
||||||
return_value--;
|
return_value--;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user