Comments and braces.

This commit is contained in:
Christian 2014-12-07 09:46:21 +01:00
parent 8e96de4f9c
commit 8635399597

View File

@ -46,9 +46,7 @@ void parseTextAndResolveNames(std::string const& _source)
resolver.registerDeclarations(*sourceUnit); resolver.registerDeclarations(*sourceUnit);
for (ASTPointer<ASTNode> const& node: sourceUnit->getNodes()) for (ASTPointer<ASTNode> const& node: sourceUnit->getNodes())
if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get())) if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get()))
{
resolver.resolveNamesAndTypes(*contract); resolver.resolveNamesAndTypes(*contract);
}
} }
} }