From 3e10322425fa0a3cf6e125bc6f9d833b015cc9b5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Sep 2010 10:52:55 +0200 Subject: Implement the --cli-namespace option --- cli/runtime-source.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cli/runtime-source.cxx') 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::parse (x.*M, x.*S, s);" << "}"; - os << "}"; // namespace cli + ctx.cli_close (); } -- cgit v1.1