diff options
Diffstat (limited to 'cli/generator.cxx')
-rw-r--r-- | cli/generator.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cli/generator.cxx b/cli/generator.cxx index 6c766e4..f7a9a1f 100644 --- a/cli/generator.cxx +++ b/cli/generator.cxx @@ -77,16 +77,12 @@ generate (options const& ops, semantics::cli_unit& unit, path const& p) { bool inl (!ops.suppress_inline ()); - string hxx_suffix (".hxx"); - string ixx_suffix (".ixx"); - string cxx_suffix (".cxx"); - path file (p.leaf ()); string base (file.base ().string ()); - string hxx_name (base + hxx_suffix); - string ixx_name (base + ixx_suffix); - string cxx_name (base + cxx_suffix); + string hxx_name (base + ops.hxx_suffix ()); + string ixx_name (base + ops.ixx_suffix ()); + string cxx_name (base + ops.cxx_suffix ()); path hxx_path (hxx_name); path ixx_path (ixx_name); |