Skip to content

Commit f0dd82b

Browse files
committed
Remove check for typedef containing ;
1 parent 04a5653 commit f0dd82b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

generate_docs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,7 @@ def repl(match):
704704
# Remove extra whitespace in lines such as:
705705
# #define FILE_CREATED 0x00000002
706706
# typedef long LONG;
707-
if (tooltip_text.startswith('#define ') or
708-
(tooltip_text.startswith('typedef ') and ';' in tooltip_text)):
707+
if tooltip_text.startswith('#define ') or tooltip_text.startswith('typedef '):
709708
tooltip_text = re.sub(r'\s+', ' ', tooltip_text)
710709

711710
tooltip_text_escaped = escape(tooltip_text).replace('\n', '
')

0 commit comments

Comments
 (0)