trunk preprocessor: removed obsolete global variables

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2272 ac1d8469-bf42-47a9-8791-bf33cf982152
issue#70
sebastien 2008-11-25 14:40:51 +00:00
parent 35cc9ac1ff
commit f6a330b2dc
2 changed files with 2 additions and 3 deletions

View File

@ -153,9 +153,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
if (clear_all)
mOutputFile << "clear all" << 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 ys0_ recurs0_ ex0_ ct_" << endl;
mOutputFile << "global ys0_ ex0_ ct_" << endl;
mOutputFile << "options_ = [];" << endl;
mOutputFile << "M_.fname = '" << basename << "';" << endl;
mOutputFile << "%" << endl;

View File

@ -114,7 +114,6 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const
// Writing endval block to set terminal values for variables
output << "ys0_= oo_.steady_state;" << endl
<< "ex0_ = oo_.exo_steady_state;" << endl
<< "recurs0_ = recurs_;" << endl
<< "endval_ = 1;" << endl;
writeInitValues(output);