diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-28 07:48:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-28 07:48:12 +0200 |
commit | 92ef8022e5fc3ecdb6db324535edffc119e1264c (patch) | |
tree | ce7ca3c5c54ccea4be3b0ce9cfc88f73a0cf8b3e /cli/cli/runtime-source.cxx | |
parent | 834b5fa49313a82dc0f69e2262a06ee2e0ffb269 (diff) |
Get rid of trailing spaces in generated code
Diffstat (limited to 'cli/cli/runtime-source.cxx')
-rw-r--r-- | cli/cli/runtime-source.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
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<char*> (o), 0};"; + << "char* av[] =" + << "{" + << "const_cast<char*> (o)," << endl + << "0" + << "};"; if (sp) os << "bool dummy;"; os << "if (!kstr.empty ())" |