mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 20:00:02 +00:00
#3139 Capture parsed selected simple type values
This commit is contained in:
@@ -260,7 +260,7 @@ static void process_characters(void* user, const xmlChar* ch, int len) {
|
|||||||
auto pt = state->stack.back().inst()->declaration().as_type_declaration()->declared_type();
|
auto pt = state->stack.back().inst()->declaration().as_type_declaration()->declared_type();
|
||||||
Argument* val = nullptr;
|
Argument* val = nullptr;
|
||||||
try {
|
try {
|
||||||
parse_attribute_value(pt, txt);
|
val = parse_attribute_value(pt, txt);
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
Logger::Error(e, state->stack.back().inst());
|
Logger::Error(e, state->stack.back().inst());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user