diff options
-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; |