krb5 commit [krb5-1.11]: Handle multiline macro definitions
Tom Yu
tlyu at MIT.EDU
Thu Nov 29 16:04:12 EST 2012
https://github.com/krb5/krb5/commit/3589b1109ea69fabbf52ceab52253794e6f0ec5c
commit 3589b1109ea69fabbf52ceab52253794e6f0ec5c
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.
(cherry picked from commit 760155906bc47163bac1fb5622034a9d53e15294)
ticket: 7447
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