diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-11 17:18:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-11 17:18:30 +0200 |
commit | 49d8e39f9a42ff1963c5df0f6e9ed903d66f2eb0 (patch) | |
tree | 17cb3577baa07e30720788e059399f7c07c22a37 /examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx | |
parent | bcf2ac66e6c21d75f4e76b8e0bc2e3c6d64886b8 (diff) |
Fix recursive polymorphic parsing in C++/Parser
New test: cxx/parser/polyrecur.
Diffstat (limited to 'examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx')
-rw-r--r-- | examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx b/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx index eee573f..d88edf9 100644 --- a/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx +++ b/examples/cxx/hybrid/custom/wildcard/envelope-pimpl.cxx @@ -50,7 +50,7 @@ namespace email // xml_schema::parser_context& ctx = _context (); p->pre (); - p->_pre_impl (ctx); + ctx.nested_parser (p); } } } @@ -64,10 +64,6 @@ namespace email { if (ns == "http://www.codesynthesis.com/email") { - // Note that we don't call _post_impl() (corresponding to - // _pre_impl()) here. It is called automatically by the - // infrastructure. - // envelope* env = envelope_base_pimpl_state_.envelope_; if (name == "text") |