From 7a08b73ddf500a18dffff2cd1e24d977fe54ca06 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Mon, 16 Oct 2017 17:52:47 +0200
Subject: [PATCH] preprocessor: json: change model keyword to modfile

---
 preprocessor/ModFile.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc
index c03a8696a..625c1c845 100644
--- a/preprocessor/ModFile.cc
+++ b/preprocessor/ModFile.cc
@@ -1385,9 +1385,9 @@ ModFile::writeJsonOutputParsingCheck(const string &basename, JsonFileOutputType
   if (json_output_mode == standardout)
     {
       if (transformpass || computingpass)
-        cout << "\"transformed_model\": ";
+        cout << "\"transformed_modfile\": ";
       else
-        cout << "\"model\": ";
+        cout << "\"modfile\": ";
       cout << output.str();
       if (!original_model_output.str().empty())
         cout << ", \"original_model\": " << original_model_output.str();
-- 
GitLab