aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/transformations/schema-per-type.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/transformations/schema-per-type.cxx')
-rw-r--r--xsd-frontend/transformations/schema-per-type.cxx5
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;