From 067e788acd80b5bb276aa0c1c6d7a67b234990da Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 14 Apr 2005 23:03:44 +0000 Subject: Convert 'variable_param' from a CDATA attribute to a NMTOKENS attribute. The main difference is that white-space is used to separate the names instead of comas. --- src/mesa/glapi/gl_API.xml | 8 ++++---- src/mesa/glapi/gl_XML.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml index baca5a4352..e583c39e38 100644 --- a/src/mesa/glapi/gl_API.xml +++ b/src/mesa/glapi/gl_API.xml @@ -45,7 +45,7 @@ img_send_null (true | false) "false" img_null_flag (true | false) "false" img_pad_dimensions (true | false) "false" - variable_param CDATA #IMPLIED> + variable_param NMTOKENS #IMPLIED> - + - + - + diff --git a/src/mesa/glapi/gl_XML.py b/src/mesa/glapi/gl_XML.py index 8b7b400d9a..bb6ec2b54a 100644 --- a/src/mesa/glapi/gl_XML.py +++ b/src/mesa/glapi/gl_XML.py @@ -171,7 +171,7 @@ class glParameter( glItem ): temp = attrs.get('variable_param', None) if temp: - self.count_parameter_list = temp.replace( ' ', '' ).split( ',' ) + self.count_parameter_list = temp.split( ' ' ) else: self.count_parameter_list = [] -- cgit v1.2.3