diff options
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 ())" |