diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-12-09 09:40:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-12-09 09:40:32 +0200 |
commit | b38507fb1ecf82e5404a65a37e82c6164d482a98 (patch) | |
tree | 2ad1ea5b80351216cb4b34d98a0bf957f0d3f054 /xsd-frontend | |
parent | 8b22f52b002668270af8706fca039b0c39a1680e (diff) |
Fix bug in handling untyped, ref'ed substitution group elements
Diffstat (limited to 'xsd-frontend')
-rw-r--r-- | xsd-frontend/parser.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/xsd-frontend/parser.cxx b/xsd-frontend/parser.cxx index 3f8200a..14187cc 100644 --- a/xsd-frontend/parser.cxx +++ b/xsd-frontend/parser.cxx @@ -558,19 +558,10 @@ namespace XSDFrontend if (!m.annotated_p () && ref.annotated_p ()) s_.new_edge<Annotates> (ref.annotation (), m); - // Type info. + // Type info. Can be missing for a substitution group member. // if (ref.typed_p ()) s_.new_edge<Belongs> (m, ref.type ()); - else - { - if (valid_) - { - wcerr << "ice: referenced instance '" << ns_name << "#" - << uq_name << "' is not typed" << endl; - abort (); - } - } } } catch (NotNamespace const& ex) |