Adds support for optional bitcase names.
Partially reverts
76ca2c0b152 which appears to have added fixed_type to
xproto.xml by accident.
Signed-off-by: Peter Harris <pharris@opentext.com>
<xsd:element ref="switch" minOccurs="0" maxOccurs="unbounded" />
</xsd:choice>
</xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="optional" />
</xsd:complexType>
<!-- switch expression -->
<field type="CARD16" name="class" enum="WindowClass" />
<field type="VISUALID" name="visual" />
<field type="CARD32" name="value_mask" enum="CW" />
- <switch name="value_list" fixed_type="CARD32">
+ <switch name="value_list">
<fieldref>value_mask</fieldref>
<bitcase>
<enumref ref="CW">BackPixmap</enumref>