diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 10:52:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 10:52:55 +0200 |
commit | 3e10322425fa0a3cf6e125bc6f9d833b015cc9b5 (patch) | |
tree | 3ee842d8bff4ba1d2aaf22ed0936a77d60038509 /cli/runtime-source.cxx | |
parent | 4433307f8c0c6cfbcabe3316e98b9699223c97d3 (diff) |
Implement the --cli-namespace option
Diffstat (limited to 'cli/runtime-source.cxx')
-rw-r--r-- | cli/runtime-source.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/runtime-source.cxx b/cli/runtime-source.cxx index 35ee265..c76b745 100644 --- a/cli/runtime-source.cxx +++ b/cli/runtime-source.cxx @@ -25,8 +25,7 @@ generate_runtime_source (context& ctx) os << endl; - os << "namespace cli" - << "{"; + ctx.cli_open (); // unknown_option // @@ -596,5 +595,5 @@ generate_runtime_source (context& ctx) << "parser<T>::parse (x.*M, x.*S, s);" << "}"; - os << "}"; // namespace cli + ctx.cli_close (); } |