aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-10-24 20:30:57 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-10-24 20:30:57 +0000
commitc079e75b0cd4178c6a18f1e0aa6c6843f8c85438 (patch)
treebe8aadd15fe7126d9fd00233e864a2018fe83a71 /roff.c
parent3e8d323f254c6e5d369fed97c845b79131d36e76 (diff)
downloadmandoc-c079e75b0cd4178c6a18f1e0aa6c6843f8c85438.tar.gz
mandoc-c079e75b0cd4178c6a18f1e0aa6c6843f8c85438.tar.zst
mandoc-c079e75b0cd4178c6a18f1e0aa6c6843f8c85438.zip
Handle \N numbered character escapes the same way as groff:
If \N is followed by a digit, ignore \N and the digit. If \N is followed by a non-digit, the next non-digit ends the character number; the two delimiters need not match. Kristaps calls that "gross, but not our fault". For now, i'm fixing \N only. Other escapes taking numeric arguments may or may not need similar handling, but \N is by far the most important for practical purposes. ok kristaps@
Diffstat (limited to 'roff.c')
0 files changed, 0 insertions, 0 deletions