From e9049aa81f085795ea11e3f4132f101d341e7d91 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Thu, 16 Jan 2020 16:21:19 +0100
Subject: [PATCH] use prefix notation `R"()"` for quote in quotes

---
 src/macro/Driver.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/macro/Driver.cc b/src/macro/Driver.cc
index be996a16..9ab8d6e2 100644
--- a/src/macro/Driver.cc
+++ b/src/macro/Driver.cc
@@ -56,7 +56,7 @@ Driver::parse(const string &file_arg, const string &basename_arg, istream &modfi
               // If the input is an array. Issue #1578
               command_line_defines_with_endl << "@#define " << var << " = " << val << endl;
             else
-              command_line_defines_with_endl << "@#define " << var << R"( = ")" << val << '"' << endl;
+              command_line_defines_with_endl << "@#define " << var << R"( = ")" << val << R"(")" << endl;
           }
       Driver m(env, true);
       istream is(command_line_defines_with_endl.rdbuf());
-- 
GitLab