Mostly complete implementation of the 'c' (character available)
authorschwarze <schwarze@openbsd.org>
Sun, 19 Aug 2018 17:43:39 +0000 (17:43 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 19 Aug 2018 17:43:39 +0000 (17:43 +0000)
commita24ea326675cbb23594f1f8885e969d7785442f9
tree675eb887c6633a097206ab669d14698f8656e3bf
parent0cdf3ff508243989c84b39676a385ce08c8d1b61
Mostly complete implementation of the 'c' (character available)
roff conditional, except that the .char request still isn't supported
and that behaviour differs from groff in many edge cases.
But at least valid character names and numbers are now distinguished
from invalid ones.
This also fixes the bug that parsing of the 'c' conditional was
incomplete, which resulted in leaking the tested character to the
input parser at the beginning of the body when the condition was
inverted.
share/man/man7/roff.7
usr.bin/mandoc/roff.c