diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-18 12:30:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-18 12:30:08 +0200 |
commit | de7b5d87c6c96e80cd1a83ad6e7a9a39bca939c8 (patch) | |
tree | 9c2f36feda69812115ffb3b454b7d79d74c347d3 | |
parent | 5005d4d4bd444eed25e3d60bef6ced160a84bb5b (diff) |
Mark type schemas
-rw-r--r-- | xsd-frontend/transformations/schema-per-type.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xsd-frontend/transformations/schema-per-type.cxx b/xsd-frontend/transformations/schema-per-type.cxx index 2fc14b5..3df3b9d 100644 --- a/xsd-frontend/transformations/schema-per-type.cxx +++ b/xsd-frontend/transformations/schema-per-type.cxx @@ -232,6 +232,11 @@ namespace XSDFrontend // root.new_edge<Includes> (s, ts, path); tsm[&t] = &ts; + + // Also mark this schema as "type schema" in case someone + // needs to distinguish between the two kinds. + // + ts.context ().set ("type-schema", true); } else ++i; |