mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 13:04:49 +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] != '.')
|
if (strlen(pStart) != 3 || pStart[0] != '.' || pStart[2] != '.')
|
||||||
return false;
|
return false;
|
||||||
char mid = pStart[1];
|
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;
|
return false;
|
||||||
val = (mid == 'T');
|
val = (mid == 'T');
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user