Commit 0ca000cd authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: display a summary of preprocessor warnings at the end of a Dynare run

parent 32054371
......@@ -38,7 +38,7 @@ SteadyStatement::SteadyStatement(const OptionsList &options_list_arg) :
}
void
SteadyStatement::checkPass(ModFileStructure &mod_file_struct)
SteadyStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.steady_present = true;
}
......@@ -63,7 +63,7 @@ CheckStatement::writeOutput(ostream &output, const string &basename) const
}
void
CheckStatement::checkPass(ModFileStructure &mod_file_struct)
CheckStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.check_present = true;
}
......@@ -74,7 +74,7 @@ ModelInfoStatement::ModelInfoStatement(const OptionsList &options_list_arg) :
}
void
ModelInfoStatement::checkPass(ModFileStructure &mod_file_struct)
ModelInfoStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
//mod_file_struct.model_info_present = true;
}
......@@ -92,7 +92,7 @@ SimulStatement::SimulStatement(const OptionsList &options_list_arg) :
}
void
SimulStatement::checkPass(ModFileStructure &mod_file_struct)
SimulStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.simul_present = true;
}
......@@ -112,7 +112,7 @@ StochSimulStatement::StochSimulStatement(const SymbolList &symbol_list_arg,
}
void
StochSimulStatement::checkPass(ModFileStructure &mod_file_struct)
StochSimulStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.stoch_simul_present = true;
......@@ -173,7 +173,7 @@ RamseyPolicyStatement::RamseyPolicyStatement(const SymbolList &symbol_list_arg,
}
void
RamseyPolicyStatement::checkPass(ModFileStructure &mod_file_struct)
RamseyPolicyStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.ramsey_policy_present = true;
......@@ -220,7 +220,7 @@ DiscretionaryPolicyStatement::DiscretionaryPolicyStatement(const SymbolList &sym
}
void
DiscretionaryPolicyStatement::checkPass(ModFileStructure &mod_file_struct)
DiscretionaryPolicyStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.discretionary_policy_present = true;
......@@ -269,7 +269,7 @@ EstimationStatement::EstimationStatement(const SymbolList &symbol_list_arg,
}
void
EstimationStatement::checkPass(ModFileStructure &mod_file_struct)
EstimationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.estimation_present = true;
......@@ -331,20 +331,16 @@ EstimationStatement::checkPass(ModFileStructure &mod_file_struct)
}
if (options_list.string_options.find("datafile") != options_list.string_options.end())
cerr << "WARNING: The datafile option of estimation has been deprecated. "
<< "Use the data command instead." << endl;
warnings << "WARNING: The datafile option of estimation has been deprecated. Use the data command instead." << endl;
if (options_list.string_options.find("xls_sheet") != options_list.string_options.end())
cerr << "WARNING: The xls_sheet option of estimation has been deprecated. "
<< "Use the data command instead." << endl;
warnings << "WARNING: The xls_sheet option of estimation has been deprecated. Use the data command instead." << endl;
if (options_list.string_options.find("xls_range") != options_list.string_options.end())
cerr << "WARNING: The xls_range option of estimation has been deprecated. "
<< "Use the data command instead." << endl;
warnings << "WARNING: The xls_range option of estimation has been deprecated. Use the data command instead." << endl;
if (options_list.num_options.find("first_obs") != options_list.num_options.end())
cerr << "WARNING: The first_obs option of estimation has been deprecated. "
<< "Use the data command instead." << endl;
warnings << "WARNING: The first_obs option of estimation has been deprecated. Use the data command instead." << endl;
}
void
......@@ -361,7 +357,7 @@ DynareSensitivityStatement::DynareSensitivityStatement(const OptionsList &option
}
void
DynareSensitivityStatement::checkPass(ModFileStructure &mod_file_struct)
DynareSensitivityStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
OptionsList::num_options_t::const_iterator it = options_list.num_options.find("identification");
if (it != options_list.num_options.end()
......@@ -437,7 +433,7 @@ EstimatedParamsStatement::EstimatedParamsStatement(const vector<EstimationParams
}
void
EstimatedParamsStatement::checkPass(ModFileStructure &mod_file_struct)
EstimatedParamsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
for (vector<EstimationParams>::const_iterator it = estim_params_list.begin();
it != estim_params_list.end(); it++)
......@@ -704,7 +700,7 @@ OsrParamsStatement::OsrParamsStatement(const SymbolList &symbol_list_arg) :
}
void
OsrParamsStatement::checkPass(ModFileStructure &mod_file_struct)
OsrParamsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.osr_params_present = true;
}
......@@ -723,7 +719,7 @@ OsrStatement::OsrStatement(const SymbolList &symbol_list_arg,
}
void
OsrStatement::checkPass(ModFileStructure &mod_file_struct)
OsrStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.osr_present = true;
......@@ -762,7 +758,7 @@ OptimWeightsStatement::OptimWeightsStatement(const var_weights_t &var_weights_ar
}
void
OptimWeightsStatement::checkPass(ModFileStructure &mod_file_struct)
OptimWeightsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.optim_weights_present = true;
}
......@@ -868,7 +864,7 @@ PlannerObjectiveStatement::~PlannerObjectiveStatement()
}
void
PlannerObjectiveStatement::checkPass(ModFileStructure &mod_file_struct)
PlannerObjectiveStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
assert(model_tree->equation_number() == 1);
mod_file_struct.planner_objective_present = true;
......@@ -899,7 +895,7 @@ BVARDensityStatement::BVARDensityStatement(int maxnlags_arg, const OptionsList &
}
void
BVARDensityStatement::checkPass(ModFileStructure &mod_file_struct)
BVARDensityStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -918,7 +914,7 @@ BVARForecastStatement::BVARForecastStatement(int nlags_arg, const OptionsList &o
}
void
BVARForecastStatement::checkPass(ModFileStructure &mod_file_struct)
BVARForecastStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -936,7 +932,7 @@ SBVARStatement::SBVARStatement(const OptionsList &options_list_arg) :
}
void
SBVARStatement::checkPass(ModFileStructure &mod_file_struct)
SBVARStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -954,7 +950,7 @@ MSSBVAREstimationStatement::MSSBVAREstimationStatement(const OptionsList &option
}
void
MSSBVAREstimationStatement::checkPass(ModFileStructure &mod_file_struct)
MSSBVAREstimationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -973,7 +969,7 @@ MSSBVARSimulationStatement::MSSBVARSimulationStatement(const OptionsList &option
}
void
MSSBVARSimulationStatement::checkPass(ModFileStructure &mod_file_struct)
MSSBVARSimulationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -1001,7 +997,7 @@ MSSBVARComputeMDDStatement::MSSBVARComputeMDDStatement(const OptionsList &option
}
void
MSSBVARComputeMDDStatement::checkPass(ModFileStructure &mod_file_struct)
MSSBVARComputeMDDStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -1020,7 +1016,7 @@ MSSBVARComputeProbabilitiesStatement::MSSBVARComputeProbabilitiesStatement(const
}
void
MSSBVARComputeProbabilitiesStatement::checkPass(ModFileStructure &mod_file_struct)
MSSBVARComputeProbabilitiesStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
......@@ -1049,7 +1045,7 @@ MSSBVARIrfStatement::MSSBVARIrfStatement(const SymbolList &symbol_list_arg,
}
void
MSSBVARIrfStatement::checkPass(ModFileStructure &mod_file_struct)
MSSBVARIrfStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -1069,7 +1065,7 @@ MSSBVARForecastStatement::MSSBVARForecastStatement(const OptionsList &options_li
}
void
MSSBVARForecastStatement::checkPass(ModFileStructure &mod_file_struct)
MSSBVARForecastStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -1088,7 +1084,7 @@ MSSBVARVarianceDecompositionStatement::MSSBVARVarianceDecompositionStatement(con
}
void
MSSBVARVarianceDecompositionStatement::checkPass(ModFileStructure &mod_file_struct)
MSSBVARVarianceDecompositionStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.bvar_present = true;
}
......@@ -1113,7 +1109,7 @@ IdentificationStatement::IdentificationStatement(const OptionsList &options_list
}
void
IdentificationStatement::checkPass(ModFileStructure &mod_file_struct)
IdentificationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.identification_present = true;
}
......@@ -1215,7 +1211,7 @@ SvarIdentificationStatement::getMaxLag() const
}
void
SvarIdentificationStatement::checkPass(ModFileStructure &mod_file_struct)
SvarIdentificationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
if (!mod_file_struct.svar_identification_present)
mod_file_struct.svar_identification_present = true;
......@@ -1371,7 +1367,7 @@ MarkovSwitchingStatement::MarkovSwitchingStatement(const OptionsList &options_li
}
void
MarkovSwitchingStatement::checkPass(ModFileStructure &mod_file_struct)
MarkovSwitchingStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
OptionsList::num_options_t::const_iterator itChain = options_list.num_options.find("ms.chain");
assert(itChain != options_list.num_options.end());
......@@ -1488,7 +1484,7 @@ SvarStatement::SvarStatement(const OptionsList &options_list_arg) :
}
void
SvarStatement::checkPass(ModFileStructure &mod_file_struct)
SvarStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
OptionsList::num_options_t::const_iterator it0, it1, it2;
it0 = options_list.string_options.find("ms.coefficients");
......@@ -1563,7 +1559,7 @@ EstimationDataStatement::EstimationDataStatement(const OptionsList &options_list
}
void
EstimationDataStatement::checkPass(ModFileStructure &mod_file_struct)
EstimationDataStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
mod_file_struct.estimation_data_statement_present = true;
......@@ -1607,7 +1603,7 @@ BasicPriorStatement::BasicPriorStatement(const string &name_arg,
}
void
BasicPriorStatement::checkPass(ModFileStructure &mod_file_struct)
BasicPriorStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
if (prior_shape == eNoShape)
{
......@@ -1693,9 +1689,9 @@ PriorStatement::PriorStatement(const string &name_arg,
}
void
PriorStatement::checkPass(ModFileStructure &mod_file_struct)
PriorStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
BasicPriorStatement::checkPass(mod_file_struct);
BasicPriorStatement::checkPass(mod_file_struct, warnings);
if (!mod_file_struct.prior_statement_present)
first_statement_encountered = true;
mod_file_struct.prior_statement_present = true;
......@@ -1733,9 +1729,9 @@ StdPriorStatement::StdPriorStatement(const string &name_arg,
}
void
StdPriorStatement::checkPass(ModFileStructure &mod_file_struct)
StdPriorStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
BasicPriorStatement::checkPass(mod_file_struct);
BasicPriorStatement::checkPass(mod_file_struct, warnings);
if (!mod_file_struct.std_prior_statement_present)
first_statement_encountered = true;
mod_file_struct.std_prior_statement_present = true;
......@@ -1775,9 +1771,9 @@ CorrPriorStatement::CorrPriorStatement(const string &name_arg1, const string &na
}
void
CorrPriorStatement::checkPass(ModFileStructure &mod_file_struct)
CorrPriorStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
BasicPriorStatement::checkPass(mod_file_struct);
BasicPriorStatement::checkPass(mod_file_struct, warnings);
if (symbol_table.getType(name) != symbol_table.getType(name1))
{
cerr << "ERROR: In the corr(A,B).prior statement, A and B must be of the same type. "
......@@ -1826,7 +1822,7 @@ BasicOptionsStatement::BasicOptionsStatement(const string &name_arg,
}
void
BasicOptionsStatement::checkPass(ModFileStructure &mod_file_struct)
BasicOptionsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
assert((options_list.num_options.find("date1") != options_list.num_options.end() &&
options_list.num_options.find("date2") != options_list.num_options.end()) ||
......@@ -1873,9 +1869,9 @@ OptionsStatement::OptionsStatement(const string &name_arg,
}
void
OptionsStatement::checkPass(ModFileStructure &mod_file_struct)
OptionsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
BasicOptionsStatement::checkPass(mod_file_struct);
BasicOptionsStatement::checkPass(mod_file_struct, warnings);
if (!mod_file_struct.options_statement_present)
first_statement_encountered = true;
mod_file_struct.options_statement_present = true;
......@@ -1906,9 +1902,9 @@ StdOptionsStatement::StdOptionsStatement(const string &name_arg,
}
void
StdOptionsStatement::checkPass(ModFileStructure &mod_file_struct)
StdOptionsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
BasicOptionsStatement::checkPass(mod_file_struct);
BasicOptionsStatement::checkPass(mod_file_struct, warnings);
if (!mod_file_struct.std_options_statement_present)
first_statement_encountered = true;
mod_file_struct.std_options_statement_present = true;
......@@ -1942,7 +1938,7 @@ CorrOptionsStatement::CorrOptionsStatement(const string &name_arg1, const string
}
void
CorrOptionsStatement::checkPass(ModFileStructure &mod_file_struct)
CorrOptionsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
{
if (symbol_table.getType(name) != symbol_table.getType(name1))
{
......
/*
* Copyright (C) 2003-2011 Dynare Team
* Copyright (C) 2003-2012 Dynare Team
*
* This file is part of Dynare.
*
......@@ -34,7 +34,7 @@ private:
const OptionsList options_list;
public:
SteadyStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -44,7 +44,7 @@ private:
const OptionsList options_list;
public:
CheckStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -54,7 +54,7 @@ private:
const OptionsList options_list;
public:
SimulStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -64,7 +64,7 @@ private:
const OptionsList options_list;
public:
ModelInfoStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -76,7 +76,7 @@ private:
public:
StochSimulStatement(const SymbolList &symbol_list_arg,
const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -99,7 +99,7 @@ private:
public:
RamseyPolicyStatement(const SymbolList &symbol_list_arg,
const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -111,7 +111,7 @@ private:
public:
DiscretionaryPolicyStatement(const SymbolList &symbol_list_arg,
const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -162,7 +162,7 @@ public:
EstimationStatement(const SymbolList &symbol_list_arg,
const OptionsList &options_list_arg,
const SymbolTable &symbol_table);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -172,7 +172,7 @@ private:
const OptionsList options_list;
public:
DynareSensitivityStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -195,7 +195,7 @@ private:
const SymbolList symbol_list;
public:
OsrParamsStatement(const SymbolList &symbol_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -207,7 +207,7 @@ private:
public:
OsrStatement(const SymbolList &symbol_list_arg,
const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -281,7 +281,7 @@ private:
public:
EstimatedParamsStatement(const vector<EstimationParams> &estim_params_list_arg,
const SymbolTable &symbol_table_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -320,7 +320,7 @@ public:
OptimWeightsStatement(const var_weights_t &var_weights_arg,
const covar_weights_t &covar_weights_arg,
const SymbolTable &symbol_table_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -337,7 +337,7 @@ public:
virtual ~PlannerObjectiveStatement();
/*! \todo check there are only endogenous variables at the current period in the objective
(no exogenous, no lead/lag) */
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
/*! \todo allow for the possibility of disabling temporary terms */
virtual void computingPass();
virtual void writeOutput(ostream &output, const string &basename) const;
......@@ -352,7 +352,7 @@ private:
const OptionsList options_list;
public:
BVARDensityStatement(int maxnlags_arg, const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -363,7 +363,7 @@ private:
const OptionsList options_list;
public:
BVARForecastStatement(int nlags_arg, const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -373,7 +373,7 @@ private:
const OptionsList options_list;
public:
SBVARStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -383,7 +383,7 @@ private:
const OptionsList options_list;
public:
MSSBVAREstimationStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -393,7 +393,7 @@ private:
const OptionsList options_list;
public:
MSSBVARSimulationStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -403,7 +403,7 @@ private:
const OptionsList options_list;
public:
MSSBVARComputeMDDStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -413,7 +413,7 @@ private:
const OptionsList options_list;
public:
MSSBVARComputeProbabilitiesStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -425,7 +425,7 @@ private:
public:
MSSBVARIrfStatement(const SymbolList &symbol_list_arg,
const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -435,7 +435,7 @@ private:
const OptionsList options_list;
public:
MSSBVARForecastStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -445,7 +445,7 @@ private:
const OptionsList options_list;
public:
MSSBVARVarianceDecompositionStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -455,7 +455,7 @@ private:
OptionsList options_list;
public:
IdentificationStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -535,7 +535,7 @@ public:
const bool &lower_cholesky_present_arg,
const bool &constants_exclusion_present_arg,
const SymbolTable &symbol_table_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -546,7 +546,7 @@ private:
map <pair<int, int >, double > restriction_map;
public:
MarkovSwitchingStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -556,7 +556,7 @@ private:
const OptionsList options_list;
public:
SvarStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -575,7 +575,7 @@ private:
const OptionsList options_list;
public:
EstimationDataStatement(const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
virtual void writeOutput(ostream &output, const string &basename) const;
};
......@@ -593,7 +593,7 @@ protected:
const PriorDistributions &prior_shape_arg,
const expr_t &variance_arg,
const OptionsList &options_list_arg);
virtual void checkPass(ModFileStructure &mod_file_struct);
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
void get_base_name(const SymbolType symb_type, string &lhs_field) const;