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/header.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/header.cxx') diff --git a/cli/header.cxx b/cli/header.cxx index e43c0af..7905b22 100644 --- a/cli/header.cxx +++ b/cli/header.cxx @@ -88,7 +88,7 @@ namespace // c-tors // - string um ("::cli::unknown_mode"); + string um (cli + "::unknown_mode"); os << name << " (int& argc," << endl << "char** argv," << endl @@ -122,7 +122,7 @@ namespace << um << " argument = " << um << "::stop);" << endl; - os << name << " (::cli::scanner&," << endl + os << name << " (" << cli << "::scanner&," << endl << um << " option = " << um << "::fail," << endl << um << " argument = " << um << "::stop);" << endl; @@ -150,7 +150,7 @@ namespace // os << "private:" << endl << "void" << endl - << "_parse (::cli::scanner&," << endl + << "_parse (" << cli << "::scanner&," << endl << um << " option," << endl << um << " argument);" << endl; -- cgit v1.1