Skip to content

Commit 38143e7

Browse files
committed
cleanup
1 parent 373bccc commit 38143e7

3 files changed

Lines changed: 1 addition & 11 deletions

File tree

StructType.pm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,6 @@ sub render_struct_type {
319319

320320
} $tag, "$typename$ispec", -export => 1;
321321

322-
for my $extra ($tag->findnodes('extra-post-include')) {
323-
emit '#include "', $extra->getAttribute('filename'), '"';
324-
}
325-
326-
327322
}
328323

329324
1;

data-definition.xsd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
<xs:choice minOccurs="0" maxOccurs="unbounded">
113113
<xs:group ref="CompoundField" />
114114
<xs:element name="extra-include" type="ExtraInclude" />
115-
<xs:element name="extra-post-include" type="ExtraPostInclude" />
116115
</xs:choice>
117116
<xs:element name="custom-methods" type="CustomMethods" minOccurs="0" maxOccurs="1" />
118117
<xs:group ref="SharedElements" minOccurs="0" maxOccurs="unbounded" />
@@ -132,7 +131,6 @@
132131
<xs:choice minOccurs="0" maxOccurs="unbounded">
133132
<xs:group ref="CompoundField" />
134133
<xs:element name="extra-include" type="ExtraInclude" />
135-
<xs:element name="extra-post-include" type="ExtraPostInclude" />
136134
</xs:choice>
137135
<xs:choice minOccurs="0">
138136
<xs:sequence>
@@ -254,9 +252,6 @@
254252
<xs:attribute name="type-name" />
255253
<xs:attribute name="filename" />
256254
</xs:complexType>
257-
<xs:complexType name="ExtraPostInclude">
258-
<xs:attribute name="filename" />
259-
</xs:complexType>
260255
<xs:complexType name="CustomMethods" mixed="true">
261256
<xs:sequence>
262257
<xs:element name="cmethod" type="Method" minOccurs="1" maxOccurs="unbounded" />

lower-1.xslt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</ld:data-definition>
3535
</xsl:template>
3636

37-
<xsl:template match="comment|code-helper|enum-attr|enum-item|item-attr|extra-include|extra-post-include">
37+
<xsl:template match="comment|code-helper|enum-attr|enum-item|item-attr|extra-include">
3838
<xsl:copy>
3939
<xsl:apply-templates select='@*|node()'/>
4040
</xsl:copy>

0 commit comments

Comments
 (0)