diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-13 15:38:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-13 15:38:11 +0200 |
commit | 6f395f9f769866a04f6949cb7ed14f93d90cf728 (patch) | |
tree | d1f8343e7b41fc1895676ad4248a5e4942f9172b /xsde/cxx/hybrid/parser-source.cxx | |
parent | c1f49aa87678c512ac37575365a6676727e5f20a (diff) |
Map anySimpleType to a string
Diffstat (limited to 'xsde/cxx/hybrid/parser-source.cxx')
-rw-r--r-- | xsde/cxx/hybrid/parser-source.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/xsde/cxx/hybrid/parser-source.cxx b/xsde/cxx/hybrid/parser-source.cxx index 99a350a..c610101 100644 --- a/xsde/cxx/hybrid/parser-source.cxx +++ b/xsde/cxx/hybrid/parser-source.cxx @@ -1836,11 +1836,9 @@ namespace CXX // The following code is similar to what we have in post(). // - // Default parser implementations for anyType and - // anySimpleType return void. + // Default parser implementation for anyType returns void. // - if (!b.is_a<SemanticGraph::AnyType> () && - !b.is_a<SemanticGraph::AnySimpleType> ()) + if (!b.is_a<SemanticGraph::AnyType> ()) { // If our base is a fixed-length type then copy the data // over. Note that it cannot be a C-string. @@ -1999,11 +1997,9 @@ namespace CXX { SemanticGraph::Type& b (c.inherits ().base ()); - // Default parser implementations for anyType and - // anySimpleType return void. + // Default parser implementation for anyType returns void. // - if (!b.is_a<SemanticGraph::AnyType> () && - !b.is_a<SemanticGraph::AnySimpleType> ()) + if (!b.is_a<SemanticGraph::AnyType> ()) { // If we are recursive but our base is not, we only call // base post() if it is the first post call. |