diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-27 11:38:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-27 16:34:32 +0200 |
commit | dca38b27afc25d329fd7a7241095b40e2a1ecae2 (patch) | |
tree | c656421398fd818d68f9e07130f96d7eeeaa6490 /cli/inline.cxx | |
parent | c5979a2814c9211e0e3c8ae7232ea66f171d54d0 (diff) |
Add support for option merging (--generate-merge)
Diffstat (limited to 'cli/inline.cxx')
-rw-r--r-- | cli/inline.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/inline.cxx b/cli/inline.cxx index 9dc5440..4bc0182 100644 --- a/cli/inline.cxx +++ b/cli/inline.cxx @@ -26,7 +26,7 @@ namespace << "return this->" << emember (o) << ";" << "}"; - if (modifier) + if (gen_modifier) { os << inl << type << "& " << scope << "::" << endl << name << " ()" @@ -41,7 +41,7 @@ namespace << "}"; } - if (specifier && type != "bool") + if (gen_specifier && type != "bool") { string spec (especifier (o)); @@ -51,7 +51,7 @@ namespace << "return this->" << especifier_member (o) << ";" << "}"; - if (modifier) + if (gen_modifier) os << inl << "void " << scope << "::" << endl << spec << "(bool x)" << "{" |