From 8657a6b6f57417de05c6817f61db96b4e90aac2c Mon Sep 17 00:00:00 2001 From: ceeac Date: Sat, 14 Oct 2017 13:30:47 +0200 Subject: [PATCH] Fix compile error when generating base class. Newline character must be surrounded with quotes. --- flexc++/generator/startcondimpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexc++/generator/startcondimpl.cc b/flexc++/generator/startcondimpl.cc index fba365b..02fd8d5 100644 --- a/flexc++/generator/startcondimpl.cc +++ b/flexc++/generator/startcondimpl.cc @@ -36,7 +36,7 @@ void Generator::startCondImpl(ostream &out) const out << " if (s_debug__)\n" " s_out__ << \"Switching to " << scName << " # \" << as(startCondition) << " - "\\n;\n"; + "\"\\n\";\n"; // s_out__ << "Switching to # 5\n"; }