Assuming parent types to be declared properly.

This commit is contained in:
Patrick Lühne 2016-06-01 18:09:40 +02:00
parent 0a4541a401
commit 7e4a05e1db

View File

@ -78,8 +78,7 @@ PrimitiveType &PrimitiveType::parseDeclaration(utils::Parser &parser, Context &c
parentType.setDirty(false); parentType.setDirty(false);
// Type object is an implicit primitive type // Flag parent tpe as correctly declared in the types section
if (parentType.name() == "object")
parentType.setDeclared(); parentType.setDeclared();
// Assign parent type to all types that were previously flagged // Assign parent type to all types that were previously flagged