Add comment to Quantity parser and further coposed units

This commit is contained in:
jriegel
2013-11-10 16:33:17 +01:00
parent 714f591294
commit 0a503161b6
5 changed files with 432 additions and 330 deletions

View File

@@ -198,7 +198,7 @@ Quantity Quantity::parse(const char* buffer)
// free the scan buffer
QuantityParser::yy_delete_buffer (my_string_buffer);
if (QuantResult == Quantity(DOUBLE_MIN))
throw Base::Exception("Unknown error in Quantity expression");
//if (QuantResult == Quantity(DOUBLE_MIN))
// throw Base::Exception("Unknown error in Quantity expression");
return QuantResult;
}