diff --git a/preprocessor/ComputingTasks.cc b/preprocessor/ComputingTasks.cc index da1aa46162525433e75af5094d2a57bf039e6e09..a5c6ffa779ab769683eb9c070fe0c7d6a3609592 100644 --- a/preprocessor/ComputingTasks.cc +++ b/preprocessor/ComputingTasks.cc @@ -1242,8 +1242,5 @@ SvarStatement::writeOutput(ostream &output, const string &basename) const else output << ".equations = " << it0->second << ";" << endl; else - { - cerr << "SvarStatement::writeOutput() Should not arrive here (3). Please report this to the Dynare Team." << endl; - exit(EXIT_FAILURE); - } + output << ".equations = 'ALL';" << endl; } diff --git a/preprocessor/ParsingDriver.cc b/preprocessor/ParsingDriver.cc index ebcbc65f15c76a536c90a68772a435a458518dab..d379ec572c55bb37c3ae4f214c6b92ec73952c6e 100644 --- a/preprocessor/ParsingDriver.cc +++ b/preprocessor/ParsingDriver.cc @@ -1222,9 +1222,7 @@ ParsingDriver::svar() error("The value passed to the chain option must be greater than zero."); it0 = options_list.num_options.find("ms.equations"); - if (it0 == options_list.num_options.end()) - error("A chain option must be passed to the svar statement."); - else + if (it0 != options_list.num_options.end()) { string strNextNumber; for (string::const_iterator it=it0->second.begin(); it<it0->second.end(); it++)