]> git.cameronkatri.com Git - mandoc.git/commit
Make the character table available to libroff so it can check the
authorIngo Schwarze <schwarze@openbsd.org>
Tue, 28 Oct 2014 17:36:19 +0000 (17:36 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Tue, 28 Oct 2014 17:36:19 +0000 (17:36 +0000)
commitd0ac87d04f62f2c8e644686b707cb2602c2ddba6
tree69a250d8b0b0b75bc58e1c8af72b3c3269561aed
parent5fa1bace54f386a9b3ce23690f136232e1e5bb2e
Make the character table available to libroff so it can check the
validity of character escape names and warn about unknown ones.
This requires mchars_spec2cp() to report unknown names again.
Fortunately, that doesn't require changing the calling code because
according to groff, invalid character escapes should not produce
output anyway, and now that we warn about them, that's fine.
19 files changed:
cgi.c
chars.c
demandoc.c
html.c
html.h
libmandoc.h
main.c
main.h
man_term.c
mandoc.3
mandoc.h
mandocdb.c
mdoc_term.c
read.c
roff.c
term.c
term.h
term_ascii.c
term_ps.c