summaryrefslogtreecommitdiff
path: root/cli/cli/source.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli/source.cxx')
-rw-r--r--cli/cli/source.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/cli/cli/source.cxx b/cli/cli/source.cxx
index 9cd2382..b6df839 100644
--- a/cli/cli/source.cxx
+++ b/cli/cli/source.cxx
@@ -109,7 +109,7 @@ namespace
for (names::name_iterator i (n.name_begin ()); i != n.name_end (); ++i)
{
- os << "_cli_" << scope << "_map_[\"" << *i << "\"] = " << endl
+ os << "_cli_" << scope << "_map_[\"" << *i << "\"] =" << endl
<< "&" << cli << "::thunk< " << scope << ", " << type << ", " <<
"&" << scope << "::" << member;
@@ -1118,7 +1118,10 @@ namespace
<< "cf[" << n + 1 << "] = '\\0';"
<< endl
<< "int ac (1);"
- << "char* av[] = {cf};"
+ << "char* av[] ="
+ << "{"
+ << "cf"
+ << "};"
<< cli << "::argv_scanner ns (0, ac, av);"
<< endl
<< "if (!_parse (cf, ns))" << endl