From 642f8c86c179a02ea9fe3e48c79b20e67a576793 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Fri, 7 Apr 2017 15:45:44 +0200
Subject: [PATCH] preprocessor: filter_initial_state: store RHS as string

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

diff --git a/preprocessor/ComputingTasks.cc b/preprocessor/ComputingTasks.cc
index f3c44cf862..9fe32b21cf 100644
--- a/preprocessor/ComputingTasks.cc
+++ b/preprocessor/ComputingTasks.cc
@@ -1092,9 +1092,9 @@ FilterInitialStateStatement::writeOutput(ostream &output, const string &basename
 
       output << "M_.filter_initial_state{"
              << symbol_table.getTypeSpecificID(symb_id) + 1
-             << "} = {'" << symbol_table.getName(symb_id) << "', ";
+             << "} = {'" << symbol_table.getName(symb_id) << "', '";
       it->second->writeOutput(output);
-      output << "};" << endl;
+      output << "'};" << endl;
     }
 }
 
-- 
GitLab