ValueType: Fixed bug
This commit is contained in:
parent
920398615d
commit
c832b2f40b
@ -4657,8 +4657,8 @@ static const Token * parsedecl(const Token *type, ValueType * const valuetype, V
|
|||||||
}
|
}
|
||||||
if (valuetype->fromLibraryType(typestr + end->str(), settings))
|
if (valuetype->fromLibraryType(typestr + end->str(), settings))
|
||||||
type = end;
|
type = end;
|
||||||
} else if (ValueType::Type t = ValueType::typeFromString(type->str(), type->isLong()))
|
} else if (ValueType::Type::UNKNOWN_TYPE != ValueType::typeFromString(type->str(), type->isLong()))
|
||||||
valuetype->type = t;
|
valuetype->type = ValueType::typeFromString(type->str(), type->isLong());
|
||||||
else if (type->str() == "auto") {
|
else if (type->str() == "auto") {
|
||||||
if (!type->valueType())
|
if (!type->valueType())
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user