trunk preprocessor: removed obsolete global variables
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2272 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
ffd02d7f4a
commit
0a50d6033d
|
@ -153,9 +153,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
|
||||||
if (clear_all)
|
if (clear_all)
|
||||||
mOutputFile << "clear all" << endl;
|
mOutputFile << "clear all" << endl;
|
||||||
mOutputFile << "tic;" << endl;
|
mOutputFile << "tic;" << endl;
|
||||||
mOutputFile << "global M_ oo_ exedet_ exdet_ recur_ recurs_ " << endl;
|
mOutputFile << "global M_ oo_" << endl;
|
||||||
mOutputFile << "global options_ endval_" << endl;
|
mOutputFile << "global options_ endval_" << endl;
|
||||||
mOutputFile << "global ys0_ recurs0_ ex0_ ct_" << endl;
|
mOutputFile << "global ys0_ ex0_ ct_" << endl;
|
||||||
mOutputFile << "options_ = [];" << endl;
|
mOutputFile << "options_ = [];" << endl;
|
||||||
mOutputFile << "M_.fname = '" << basename << "';" << endl;
|
mOutputFile << "M_.fname = '" << basename << "';" << endl;
|
||||||
mOutputFile << "%" << endl;
|
mOutputFile << "%" << endl;
|
||||||
|
|
|
@ -114,7 +114,6 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const
|
||||||
// Writing endval block to set terminal values for variables
|
// Writing endval block to set terminal values for variables
|
||||||
output << "ys0_= oo_.steady_state;" << endl
|
output << "ys0_= oo_.steady_state;" << endl
|
||||||
<< "ex0_ = oo_.exo_steady_state;" << endl
|
<< "ex0_ = oo_.exo_steady_state;" << endl
|
||||||
<< "recurs0_ = recurs_;" << endl
|
|
||||||
<< "endval_ = 1;" << endl;
|
<< "endval_ = 1;" << endl;
|
||||||
|
|
||||||
writeInitValues(output);
|
writeInitValues(output);
|
||||||
|
|
Loading…
Reference in New Issue