Skip to content

Commit

Permalink
Handle multiline macro definitions
Browse files Browse the repository at this point in the history
Compress them onto one line for printing in the generated table.

ticket: 7447
tags: pullup
target_version: 1.11
  • Loading branch information
kaduk committed Nov 27, 2012
1 parent f17cc2c commit 7601559
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/tools/doxybuilder_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ def _process_define_node(self, node):
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': '',
Expand Down

0 comments on commit 7601559

Please sign in to comment.