Re: [pygccxml-development] What am I doing wrong?
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-04-18 08:11:06
|
Neal, I found the problem. Description: GCC-XML changed serialization of unnamed declarations ( enums + namespaces ) In previous version of GCC-XML, an element, that describes the declaration has attribute "name" with some content. Now it does not have this attribute. By the way, it was nothing wrong with SAX, but with my code. pygccxml uses SAX to parse XML files. It gaves huge speed improvement. The fix is simple: file pygccxml/parser/scanner.py search and replace next string attrs[ XML_AN_NAME ] with attrs.get( XML_AN_NAME, '' ) Or you can replace the file with one I attach with this mail. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |