From e0b2583ff97223df268602989fb91dbb241f0e4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 7 Oct 2022 17:34:19 +0200
Subject: [PATCH] Streamline informative messages

---
 src/ModFile.cc | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/ModFile.cc b/src/ModFile.cc
index 64c76deb..a3a4b226 100644
--- a/src/ModFile.cc
+++ b/src/ModFile.cc
@@ -56,7 +56,7 @@ ModFile::ModFile(WarningConsolidation &warnings_arg)
 void
 ModFile::evalAllExpressions(bool warn_uninit)
 {
-  cout << "Evaluating expressions...";
+  cout << "Evaluating expressions..." << endl;
 
   // Loop over all statements, and fill global eval context if relevant
   for (auto &st : statements)
@@ -74,8 +74,6 @@ ModFile::evalAllExpressions(bool warn_uninit)
   // Evaluate model local variables
   dynamic_model.fillEvalContext(global_eval_context);
 
-  cout << "done" << endl;
-
   // Check if some symbols are not initialized, and give them a zero value then
   for (int id = 0; id <= symbol_table.maxID(); id++)
     if (auto type = symbol_table.getType(id);
@@ -879,8 +877,6 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global,
   if (param_used_with_lead_lag)
     mOutputFile << "M_.parameter_used_with_lead_lag = true;" << endl;
 
-  cout << "Processing outputs ..." << endl;
-
   symbol_table.writeOutput(mOutputFile);
 
   // Fill the fields related to solve_algo={12,14} if possible.
@@ -1089,8 +1085,6 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global,
 
       pac_model_table.writeTargetCoefficientsFile(basename);
     }
-
-  cout << "done" << endl;
 }
 
 void
-- 
GitLab