aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/tree-forward.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-10-13 15:38:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-10-13 15:38:11 +0200
commit6f395f9f769866a04f6949cb7ed14f93d90cf728 (patch)
treed1f8343e7b41fc1895676ad4248a5e4942f9172b /xsde/cxx/hybrid/tree-forward.cxx
parentc1f49aa87678c512ac37575365a6676727e5f20a (diff)
Map anySimpleType to a string
Diffstat (limited to 'xsde/cxx/hybrid/tree-forward.cxx')
-rw-r--r--xsde/cxx/hybrid/tree-forward.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/xsde/cxx/hybrid/tree-forward.cxx b/xsde/cxx/hybrid/tree-forward.cxx
index dbfdd7e..c9df43c 100644
--- a/xsde/cxx/hybrid/tree-forward.cxx
+++ b/xsde/cxx/hybrid/tree-forward.cxx
@@ -243,7 +243,12 @@ namespace CXX
virtual Void
traverse (SemanticGraph::AnySimpleType&)
{
- gen_using ("::xsde::cxx::hybrid::any_simple_type");
+ gen_typedef ("any_simple_type", string_type_);
+
+ if (!stl)
+ gen_typedef ("any_simple_type_base",
+ "::xsde::cxx::hybrid::string_base");
+ os << endl;
}
// Boolean.