Minor cleanups, increment to 5.7.0

This commit is contained in:
Jason Turner
2015-03-21 20:56:28 -06:00
parent 976e4ec46c
commit 98e36ab836
2 changed files with 4 additions and 6 deletions

View File

@@ -230,11 +230,9 @@ namespace chaiscript
std::vector<Boxed_Value> params;
if ((this->children.size() > 1)) {
const AST_Node &first_child(*(this->children[1]));
if (first_child.identifier == AST_Node_Type::Arg_List) {
for (const auto &child : first_child.children) {
params.push_back(child->eval(t_ss));
}
params.reserve(this->children[1]->children.size());
for (const auto &child : this->children[1]->children) {
params.push_back(child->eval(t_ss));
}
}