aboutsummaryrefslogtreecommitdiff
path: root/xsd/cxx/parser/parser-header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-11 17:01:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-11 17:01:02 +0200
commitd4a78b31a1a045471c2fe12d2618d9d5edf78fb2 (patch)
tree090738555bb18f9a22ad7916f34bcd50273e9cb2 /xsd/cxx/parser/parser-header.cxx
parent7c064687415c895334650321bd5bc34453b0ce38 (diff)
Fix recursive polymorphic parsing in C++/Parser
New test: cxx/parser/polymorphism/recursive.
Diffstat (limited to 'xsd/cxx/parser/parser-header.cxx')
-rw-r--r--xsd/cxx/parser/parser-header.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xsd/cxx/parser/parser-header.cxx b/xsd/cxx/parser/parser-header.cxx
index c4bf8fd..3a7d86f 100644
--- a/xsd/cxx/parser/parser-header.cxx
+++ b/xsd/cxx/parser/parser-header.cxx
@@ -295,8 +295,7 @@ namespace CXX
m.is_a<SemanticGraph::Element> () &&
!anonymous (m.type ()))
{
- os << type << "* " << emember_cache (m) << ";"
- << "const " << parser_map << "* " << emember_map (m) << ";"
+ os << "const " << parser_map << "* " << emember_map (m) << ";"
<< endl;
}
}