bug fix: quotes in warnings do not comply with Matlab disp

issue#70
Houtan Bastani 2012-02-10 16:59:47 +01:00
parent 23f9c5e418
commit 631924ef16
1 changed files with 3 additions and 3 deletions

View File

@ -364,7 +364,7 @@ ParsingDriver::end_nonstationary_var(expr_t deflator)
void void
ParsingDriver::periods(string *periods) ParsingDriver::periods(string *periods)
{ {
warning("periods: this command is now deprecated and may be removed in a future version of Dynare. Please use the \"periods\" option of the \"simul\" command instead."); warning("periods: this command is now deprecated and may be removed in a future version of Dynare. Please use the ''periods'' option of the ''simul'' command instead.");
int periods_val = atoi(periods->c_str()); int periods_val = atoi(periods->c_str());
mod_file->addStatement(new PeriodsStatement(periods_val)); mod_file->addStatement(new PeriodsStatement(periods_val));
@ -974,7 +974,7 @@ ParsingDriver::add_constants_exclusion()
void void
ParsingDriver::do_sigma_e() ParsingDriver::do_sigma_e()
{ {
warning("Sigma_e: this command is now deprecated and may be removed in a future version of Dynare. Please use the \"shocks\" command instead."); warning("Sigma_e: this command is now deprecated and may be removed in a future version of Dynare. Please use the ''shocks'' command instead.");
try try
{ {
@ -1213,7 +1213,7 @@ void
ParsingDriver::set_unit_root_vars() ParsingDriver::set_unit_root_vars()
{ {
mod_file->addStatement(new UnitRootVarsStatement()); mod_file->addStatement(new UnitRootVarsStatement());
warning("'unit_root_vars' is now obsolete; use option 'diffuse_filter' of 'estimation' instead"); warning("''unit_root_vars'' is now obsolete; use the ''diffuse_filter'' option of ''estimation'' instead");
symbol_list.clear(); symbol_list.clear();
} }