newlib-cygwin/newlib/doc
Jon Turney c03f0c3062
makedocbook: Fix false report of unhandled texinfo command
During 'make man', makedocbook falsely reports "texinfo command
'@modifier' remains in output" while processing the setlocal(3) manpage,
which contains that literal string.

Move the check for unrecognized texinfo commands to before processing
'@@' (an escaped '@') in the texinfo source, and teach it to ignore
them.

Improve that check slightly, so it catches non-alphabetic texinfo
commands, of which there are few.

Now we don't have false positives, we can make unrecognized texinfo
commands fatal to manpage generation, rather than leaving them verbatim
in the generated manpage.
2022-11-12 14:09:11 +00:00
..
.gitignore Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
Makefile.inc makedocbook: Add explicit locking for PLY parser table generation 2022-10-29 18:34:05 +01:00
chapter-texi2docbook.py makedocbook: Adjust inline whitespace to fix flake8 warnings 2022-11-12 14:09:10 +00:00
doc.str makedoc: warn about some obsolete and deprecated commands 2017-12-08 12:09:03 +00:00
makedoc.c newlib/doc/makedoc.c: if realloc() fails, exit with an error message. 2021-06-17 16:48:47 -05:00
makedocbook.py makedocbook: Fix false report of unhandled texinfo command 2022-11-12 14:09:11 +00:00