diff options
Diffstat (limited to 'cli/name-processor.cxx')
-rw-r--r-- | cli/name-processor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/name-processor.cxx b/cli/name-processor.cxx index c0f7179..d533a5b 100644 --- a/cli/name-processor.cxx +++ b/cli/name-processor.cxx @@ -85,7 +85,7 @@ namespace virtual void traverse (type& o) { - if (specifier && o.type ().name () != "bool") + if (gen_specifier && o.type ().name () != "bool") { semantics::context& oc (o.context ()); string const& base (oc.get<string> ("name")); @@ -111,7 +111,7 @@ namespace string const& base (oc.get<string> ("name")); oc.set ("member", find_name (base + "_", set_)); - if (specifier && o.type ().name () != "bool") + if (gen_specifier && o.type ().name () != "bool") { string const& base (oc.get<string> ("specifier")); oc.set ("specifier-member", find_name (base + "_", set_)); |