Clean up some additional exception handling with new stack handler
This commit is contained in:
@@ -190,7 +190,6 @@ namespace chaiscript
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
Boxed_Value fn = this->children[0]->eval(t_ss);
|
Boxed_Value fn = this->children[0]->eval(t_ss);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -204,14 +203,6 @@ namespace chaiscript
|
|||||||
catch(detail::Return_Value &rv) {
|
catch(detail::Return_Value &rv) {
|
||||||
return rv.retval;
|
return rv.retval;
|
||||||
}
|
}
|
||||||
catch(...) {
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch(exception::eval_error &) {
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
@@ -468,9 +459,7 @@ namespace chaiscript
|
|||||||
catch(detail::Return_Value &rv) {
|
catch(detail::Return_Value &rv) {
|
||||||
retval = rv.retval;
|
retval = rv.retval;
|
||||||
}
|
}
|
||||||
catch(...) {
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
if (this->children[i]->identifier == AST_Node_Type::Array_Call) {
|
if (this->children[i]->identifier == AST_Node_Type::Array_Call) {
|
||||||
for (size_t j = 1; j < this->children[i]->children.size(); ++j) {
|
for (size_t j = 1; j < this->children[i]->children.size(); ++j) {
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user