wchar_t* pstMsg = NULL;
ast::Exp* pExp = NULL;
wchar_t *pstCommand = NULL;
+ bool bSilentError = ConfigVariable::isSilentError();
Parser parser;
if (in.size() < 1 || in.size() > 3)
ast::SeqExp* pSeqExp = pExp->getAs<ast::SeqExp>();
std::unique_ptr<ast::ConstVisitor> run(ConfigVariable::getDefaultVisitor());
+ ConfigVariable::setSilentError(bErrCatch);
try
{
symbol::Context* pCtx = symbol::Context::getInstance();
}
catch (const ast::RecursionException& /* re */)
{
+ ConfigVariable::setSilentError(bSilentError);
+
//close opened scope during try
while (pCtx->getScopeLevel() > scope)
{
delete pExp;
ConfigVariable::macroFirstLine_end();
ConfigVariable::setPromptMode(iPromptMode);
+ ConfigVariable::setSilentError(bSilentError);
throw ie;
}
ConfigVariable::macroFirstLine_end();
ConfigVariable::setPromptMode(iPromptMode);
+ ConfigVariable::setSilentError(bSilentError);
delete pExp;
return types::Function::OK;