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-header.cxx | |
parent | 4433307f8c0c6cfbcabe3316e98b9699223c97d3 (diff) |
Implement the --cli-namespace option
Diffstat (limited to 'cli/runtime-header.cxx')
-rw-r--r-- | cli/runtime-header.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/runtime-header.cxx b/cli/runtime-header.cxx index 5a2905c..99da036 100644 --- a/cli/runtime-header.cxx +++ b/cli/runtime-header.cxx @@ -20,8 +20,7 @@ generate_runtime_header (context& ctx) << "#include <exception>" << endl << endl; - os << "namespace cli" - << "{"; + ctx.cli_open (); // unknown_mode // @@ -300,5 +299,5 @@ generate_runtime_header (context& ctx) os << "};"; } - os << "}"; // namespace cli + ctx.cli_close (); } |