gen.pl: terminate "example" sections better
If the example (section that is prefixed with spaces) ends the description gen.pl would previously miss to output the terminating .fi Closes #8228
This commit is contained in:
parent
e39421cef3
commit
996221fc6c
@ -6,7 +6,7 @@
|
||||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# This software is licensed as described in the file COPYING, which
|
||||
# you should have received as part of this distribution. The terms
|
||||
@ -114,6 +114,9 @@ sub printdesc {
|
||||
$d =~ s/(\s*)\'/$1\\(aq/;
|
||||
print $d;
|
||||
}
|
||||
if($exam) {
|
||||
print ".fi\n"; # fill-in
|
||||
}
|
||||
}
|
||||
|
||||
sub seealso {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user