summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/elements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
commit2c0a77a8f4565b6ef76c32b970df48369b3d0456 (patch)
tree6c8d18b27efa644cf852cfdb42158864895ac5b9 /xsd/cxx/tree/elements.hxx
parent5a2282e394b4049d3db96c2c28e8622e7193a014 (diff)
Add support for excluding export code from compilation
Affected options: --generate-xml-schema, --export-maps, --import-maps. New macros: XSD_NO_EXPORT, XSD_MAP_VISIBILITY. Reorder template arguments for the idref type.
Diffstat (limited to 'xsd/cxx/tree/elements.hxx')
-rw-r--r--xsd/cxx/tree/elements.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xsd/cxx/tree/elements.hxx b/xsd/cxx/tree/elements.hxx
index d081139..083ed09 100644
--- a/xsd/cxx/tree/elements.hxx
+++ b/xsd/cxx/tree/elements.hxx
@@ -1048,9 +1048,9 @@ namespace CXX
SemanticGraph::Nameable& ncname (
xs_ns ().find ("NCName").first->named ());
- os << "::xsd::cxx::tree::idref< " <<
- type_name (t.argumented ().type ()) << ", " <<
- char_type << ", " << fq_name (ncname) << " >";
+ os << "::xsd::cxx::tree::idref< " << char_type << ", " <<
+ fq_name (ncname) << ", " <<
+ type_name (t.argumented ().type ()) << " >";
}
}
@@ -1070,8 +1070,8 @@ namespace CXX
os << "::xsd::cxx::tree::idrefs< " << char_type << ", " <<
any_simple_type << ", ::xsd::cxx::tree::idref< " <<
- type_name (t.argumented ().type ()) << ", " << char_type <<
- ", " << fq_name (ncname) << " > >";
+ char_type << ", " << fq_name (ncname) << ", " <<
+ type_name (t.argumented ().type ()) << " > >";
}
}