From 92ef8022e5fc3ecdb6db324535edffc119e1264c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 May 2020 07:48:12 +0200 Subject: Get rid of trailing spaces in generated code --- cli/cli/runtime-source.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cli/cli/runtime-source.cxx') diff --git a/cli/cli/runtime-source.cxx b/cli/cli/runtime-source.cxx index 36d8968..debf41e 100644 --- a/cli/cli/runtime-source.cxx +++ b/cli/cli/runtime-source.cxx @@ -995,7 +995,11 @@ generate_runtime_source (context& ctx, bool complete) << "std::string vstr (ov, (p != std::string::npos ? p + 1 : ov.size ()));" << endl << "int ac (2);" - << "char* av[] = {const_cast (o), 0};"; + << "char* av[] =" + << "{" + << "const_cast (o)," << endl + << "0" + << "};"; if (sp) os << "bool dummy;"; os << "if (!kstr.empty ())" -- cgit v1.1