From b1dd05c53e677348f3e9722da2429e96a5861e2b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 11 Jan 2016 10:22:43 -0800 Subject: Fixed make_man_page.py so it includes typedefs again. --- man/make_man_page.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man') 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': -- cgit v1.2.3