krb5 commit: Handle multiline macro definitions
Benjamin Kaduk
kaduk at MIT.EDU
Tue Nov 27 18:02:31 EST 2012
https://github.com/krb5/krb5/commit/760155906bc47163bac1fb5622034a9d53e15294
commit 760155906bc47163bac1fb5622034a9d53e15294
Author: Ben Kaduk <kaduk at mit.edu>
Date: Mon Nov 19 15:48:37 2012 -0500
Handle multiline macro definitions
Compress them onto one line for printing in the generated table.
ticket: 7447
tags: pullup
target_version: 1.11
doc/tools/doxybuilder_types.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/tools/doxybuilder_types.py b/doc/tools/doxybuilder_types.py
index 551f7d5..ea15103 100644
--- a/doc/tools/doxybuilder_types.py
+++ b/doc/tools/doxybuilder_types.py
@@ -217,6 +217,8 @@ class DoxyTypes(object):
d_brief = self._get_brief_description(brief_node)
details_node = node.xpath('./detaileddescription')[0]
detailed_description = self._get_detailed_description(details_node)
+ # Condense multiline macros, stripping leading whitespace.
+ d_initializer = re.sub(" *\\\\\n *", " ", d_initializer)
define_descr = {'category': 'composite',
'definition': '',
More information about the cvs-krb5
mailing list