[Xcb-commit] xcb/src c-client.xsl,1.56,1.57

Josh Triplett xcb-commit at lists.freedesktop.org
Sun May 22 16:17:31 PDT 2005


Update of /cvs/xcb/xcb/src
In directory gabe:/tmp/cvs-serv14221/src

Modified Files:
	c-client.xsl 
Log Message:
Permit unions to have fixed-length list fields.

Index: c-client.xsl
===================================================================
RCS file: /cvs/xcb/xcb/src/c-client.xsl,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- c-client.xsl	21 May 2005 06:47:05 -0000	1.56
+++ c-client.xsl	22 May 2005 23:17:29 -0000	1.57
@@ -543,7 +543,7 @@
   </xsl:template>
 
   <xsl:template match="struct" mode="pass2">
-    <xsl:if test="@kind='union' and list">
+    <xsl:if test="@kind='union' and list[not(@fixed)]">
       <xsl:message terminate="yes">Unions must be fixed length.</xsl:message>
     </xsl:if>
     <struct name="{@name}">



More information about the xcb-commit mailing list