Add array type support #167

This commit is contained in:
Jason Turner
2015-04-17 20:02:09 -06:00
parent f3090c3857
commit 71245aa703
6 changed files with 64 additions and 4 deletions

View File

@@ -712,7 +712,7 @@ namespace chaiscript
fpp.save_params(params);
std::string fun_name = [&](){
std::string fun_name = [&]()->std::string{
if ((this->children[i]->identifier == AST_Node_Type::Fun_Call) || (this->children[i]->identifier == AST_Node_Type::Array_Call)) {
return this->children[i]->children[0]->text;
}