Skip to content

Commit c7979d2

Browse files
committed
* doc/mkfuncdocs.py: latest doc gen script
1 parent 709e909 commit c7979d2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/mkfuncdocs.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python3
22

3-
## Copyright 2018-2022 John Donoghue
3+
## Copyright 2018-2023 John Donoghue
44
##
55
## This program is free software: you can redistribute it and/or modify it
66
## under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
## along with this program. If not, see
1717
## <https://www.gnu.org/licenses/>.
1818

19-
## mkfuncdocs v1.0.5
19+
## mkfuncdocs v1.0.6
2020
## mkfuncdocs.py will attempt to extract the help texts from functions in src
2121
## dirs, extracting only those that are in the specifed INDEX file and output them
2222
## to stdout in texi format
@@ -139,7 +139,8 @@ def read_cc_file(filename, skip=0):
139139

140140
if len(line) > 0 and line[-1] == '\n':
141141
line = line[:-1]
142-
if line.endswith('")'):
142+
# endif a texinfo line
143+
elif line.endswith('")'):
143144
line = line[:-2]
144145

145146
if line.startswith('{'):

0 commit comments

Comments
 (0)