diff options
Diffstat (limited to 'src/mesa/glapi/gl_SPARC_asm.py')
-rw-r--r-- | src/mesa/glapi/gl_SPARC_asm.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/mesa/glapi/gl_SPARC_asm.py b/src/mesa/glapi/gl_SPARC_asm.py index 2623e1beea7..76a545d90c9 100644 --- a/src/mesa/glapi/gl_SPARC_asm.py +++ b/src/mesa/glapi/gl_SPARC_asm.py @@ -25,10 +25,6 @@ # Authors: # Ian Romanick <[email protected]> -from xml.sax import saxutils -from xml.sax import make_parser -from xml.sax.handler import feature_namespaces - import gl_XML import license import sys, getopt @@ -123,12 +119,4 @@ if __name__ == '__main__': print "ERROR: Invalid mode \"%s\" specified." % mode show_usage() - parser = make_parser() - parser.setFeature(feature_namespaces, 1) - parser.setContentHandler(dh) - - f = open(file_name) - - dh.printHeader() - parser.parse(f) - dh.printFooter() + gl_XML.parse_GL_API( dh, file_name ) |