diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-05-31 22:34:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-05-31 22:34:06 +0000 |
commit | 4c9becd40543ff0c60c777a48cabdb40d54f4774 (patch) | |
tree | a2a911d05d868f13cd325148586978491a084237 /mdoc_term.c | |
parent | 151c919ed8cc3ed826972bf9834c86d322c8ea2a (diff) | |
download | mandoc-4c9becd40543ff0c60c777a48cabdb40d54f4774.tar.gz |
Make recursive parsing of roff(7) escapes actually work in the general case,
in particular when the inner escapes are preceded or followed by other terms.
While doing so, remove lots of bogus code that was trying to make pointless
distinctions between numeric and non-numeric escape sequences, while both
actually share the same syntax and we ignore the semantics anyway.
This prevents some of the strings defined in the pod2man(1) preamble
from producing garbage output, in particular in scandinavian words.
Of course, proper rendering of scandinavian national characters
cannot be expected even with these fixes.
"just commit" kristaps@
Diffstat (limited to 'mdoc_term.c')
0 files changed, 0 insertions, 0 deletions