Fix collections resolution

This commit is contained in:
Felipe Zimmerle 2015-10-16 15:34:17 -03:00
parent b0089cfde9
commit 0285c944f9

View File

@ -1482,12 +1482,9 @@ void Assay::resolve_variable(const std::string& var,
m_variables_strings.resolveVariable(var, l);
size_t ac = var.find(":");
if (ac != std::string::npos) {
/* It may be a collection */
for (auto &a : collections) {
a.second->resolveVariable(var, l);
}
/* It may be a collection */
for (auto &a : collections) {
a.second->resolveVariable(var, l);
}
}