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); m_variables_strings.resolveVariable(var, l);
size_t ac = var.find(":"); /* It may be a collection */
if (ac != std::string::npos) { for (auto &a : collections) {
/* It may be a collection */ a.second->resolveVariable(var, l);
for (auto &a : collections) {
a.second->resolveVariable(var, l);
}
} }
} }