This commit is contained in:
Thomas Krijnen
2016-06-20 11:34:13 +02:00
parent 3c418e8e0a
commit 62a0f21a57
+2 -1
View File
@@ -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;