diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:42:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-04-15 14:42:19 +0200 |
commit | d20a8a5ee6554a173e1f2e1e5910cea258d8fd0b (patch) | |
tree | 1dd4e3bc8694d3e81d6a96a492fe7b5cbf55c7dc /xsde/cxx/hybrid/tree-name-processor.cxx | |
parent | 417548d2097c56d95cab7587cffeea7004d33117 (diff) |
Adjust to changed predicate names
Diffstat (limited to 'xsde/cxx/hybrid/tree-name-processor.cxx')
-rw-r--r-- | xsde/cxx/hybrid/tree-name-processor.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xsde/cxx/hybrid/tree-name-processor.cxx b/xsde/cxx/hybrid/tree-name-processor.cxx index 10a9280..95aab7b 100644 --- a/xsde/cxx/hybrid/tree-name-processor.cxx +++ b/xsde/cxx/hybrid/tree-name-processor.cxx @@ -409,14 +409,14 @@ namespace CXX { SemanticGraph::Context& ac (a.context ()); - Boolean def (a.default_ ()); - Boolean fix (a.fixed ()); + Boolean def (a.default_p ()); + Boolean fix (a.fixed_p ()); String const& base (ac.get<String> ("name")); if (!data_members_) { - if (a.optional () && !fix) + if (a.optional_p () && !fix) { String n; if (def) @@ -440,7 +440,7 @@ namespace CXX } else if (!fix) { - if (a.optional () && !a.default_ () && fixed_length (a.type ())) + if (a.optional_p () && !a.default_p () && fixed_length (a.type ())) { ac.set ("present-member", find_name (ac.get<String> ("present") + L"_", set_)); |