svn rev #25846: trunk/doc/rst_tools/
tsitkova@MIT.EDU
tsitkova at MIT.EDU
Thu May 3 16:28:02 EDT 2012
http://src.mit.edu/fisheye/changelog/krb5/?cs=25846
Commit By: tsitkova
Log Message:
The new version of Doxygen (1.7.6.1) produces different xml output around the <initializer> node. Adopt the script to the change.
Changed Files:
U trunk/doc/rst_tools/doxybuilder_types.py
Modified: trunk/doc/rst_tools/doxybuilder_types.py
===================================================================
--- trunk/doc/rst_tools/doxybuilder_types.py 2012-05-03 19:42:43 UTC (rev 25845)
+++ trunk/doc/rst_tools/doxybuilder_types.py 2012-05-03 20:28:02 UTC (rev 25846)
@@ -181,7 +181,9 @@
d_type = self._process_type_node(node.xpath("./initializer/ref")[0])
if len(d_type) > 0:
len_text = len(node.xpath('./initializer/text()'))
- if len(node.xpath('./initializer/text()')[0]) > 0:
+ if len_text == 0 and d_type[1]:
+ d_initializer = d_type[1]
+ if len_text > 0 and len(node.xpath('./initializer/text()')[0]) > 0:
d_initializer = node.xpath('./initializer/text()')[0] + d_type[1]
if len_text > 1:
if node.xpath('./initializer/text()')[1] is not None:
More information about the cvs-krb5
mailing list