Fix 'make check'

Adds support for optional bitcase names.
Partially reverts 76ca2c0b15 which appears to have added fixed_type to
xproto.xml by accident.

Signed-off-by: Peter Harris <pharris@opentext.com>
This commit is contained in:
Peter Harris 2010-09-22 23:26:16 -04:00
parent 9da6ea6269
commit 476a3fdbc9
2 changed files with 2 additions and 1 deletions

View file

@ -66,6 +66,7 @@ authorization from the authors.
<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 -->

View file

@ -833,7 +833,7 @@ authorization from the authors.
<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>