summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/make_man_page.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/make_man_page.py b/man/make_man_page.py
index c7060e7..4b49dbd 100644
--- a/man/make_man_page.py
+++ b/man/make_man_page.py
@@ -83,9 +83,11 @@ with open(sourcefile, 'r') as cmarkh:
state = 'default'
elif typedef and typedef_end_re.match(line):
typedef = False
+ elif typedef_start_re.match(line):
+ typedef = True
+ state = 'signature'
elif state == 'man':
state = 'signature'
- typedef = typedef_start_re.match(line)
# handle line
if state == 'man':