mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 10:34:31 +00:00
Fix #94
This commit is contained in:
@@ -428,7 +428,8 @@ bool ParseBool(const char *pStart, bool &val) {
|
||||
if (strlen(pStart) != 3 || pStart[0] != '.' || pStart[2] != '.')
|
||||
return false;
|
||||
char mid = pStart[1];
|
||||
if (!(mid == 'T' || mid == 'F'))
|
||||
/// @todo https://github.com/IfcOpenShell/IfcOpenShell/issues/95
|
||||
if (!(mid == 'T' || mid == 'F' || mid == 'U'))
|
||||
return false;
|
||||
val = (mid == 'T');
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user