aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term_ascii.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-29 22:14:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-29 22:14:10 +0000
commite37ca723130eecc2d9c9e16ba828bfd9a4eccb4e (patch)
treeb5d3cbffd933b67acdb229f4e9acbe120d7d5d4b /term_ascii.c
parentab189900401da15dee3e20b86bd32d1cdb7e37ac (diff)
downloadmandoc-e37ca723130eecc2d9c9e16ba828bfd9a4eccb4e.tar.gz
mandoc-e37ca723130eecc2d9c9e16ba828bfd9a4eccb4e.tar.zst
mandoc-e37ca723130eecc2d9c9e16ba828bfd9a4eccb4e.zip
Major roff_getname() cleanup.
* Return the name even if it is terminated by an escape sequence, not a blank. * Skip the full escape sequence using mandoc_escape(), not just the first byte. * Make it non-destructive, return the length instead of writing a '\0'. * Let .ds and .as cope with the above changes to the internal interface. * Fix .rm and .rr to accept an escape sequence as the end of a name. * Fix .nr and .rr to not set/delete a register with an empty name.
Diffstat (limited to 'term_ascii.c')
0 files changed, 0 insertions, 0 deletions