diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-04 13:58:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-04 13:58:20 +0200 |
commit | 6a9a911f05bbd0d2a63a06512733a4a6ff5b3e65 (patch) | |
tree | 6b5162001fa2c8d71d81542b55b9da00c27da4e8 /cli/context.cxx | |
parent | 8ed3cbc6f7a99713e6ea581c95e5a991ef829979 (diff) |
Add --option-{prefix,separator} options
Diffstat (limited to 'cli/context.cxx')
-rw-r--r-- | cli/context.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/context.cxx b/cli/context.cxx index b82a318..3f3261c 100644 --- a/cli/context.cxx +++ b/cli/context.cxx @@ -16,10 +16,12 @@ context (ostream& os_, semantics::cli_unit& unit_, options_type const& ops) unit (unit_), options (ops), inl (data_->inl_), + opt_prefix (options.option_prefix ()), + opt_sep (options.option_separator ()), reserved_name_map (options.reserved_name ()) { if (!options.suppress_inline ()) - inl = "inline "; + data_->inl_ = "inline "; } context:: @@ -29,6 +31,8 @@ context (context& c) unit (c.unit), options (c.options), inl (c.inl), + opt_prefix (c.opt_prefix), + opt_sep (c.opt_sep), reserved_name_map (c.reserved_name_map) { } |