diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-18 11:56:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-18 17:28:01 +0300 |
commit | 83de480a8bab105dac641f31bf2a9e6adda02fcb (patch) | |
tree | 13aa28a6266b40752758363a3602b0f89d8927a2 /cli/cli/header.cxx | |
parent | 6bb92caef1b1c59678159a15ebc08fe2dc05d624 (diff) |
Add --export-symbol option
Diffstat (limited to 'cli/cli/header.cxx')
-rw-r--r-- | cli/cli/header.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/cli/header.cxx b/cli/cli/header.cxx index a2a3ccd..87ff259 100644 --- a/cli/cli/header.cxx +++ b/cli/cli/header.cxx @@ -115,7 +115,7 @@ namespace string name (escape (c.name ())); string um (cli + "::unknown_mode"); - os << "class " << name; + os << "class " << exp << name; { base b (*this); @@ -367,13 +367,13 @@ generate_header (context& ctx) string up (ctx.cli + "::usage_para"); string const& ost (ctx.options.ostream_type ()); - os << up << endl + os << ctx.exp << up << endl << n << "usage (" << ost << "&," << endl << up << " = " << up << "::none);" << endl; if (ctx.gen_usage == ut_both) - os << up << endl + os << ctx.exp << up << endl << n << "long_usage (" << ost << "&," << endl << up << " = " << up << "::none);" << endl; |