summaryrefslogtreecommitdiffstats
path: root/mdoc.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
commit1a8592024a9761fcb7378fe73a4a009d05a44f39 (patch)
tree5c45ba673c0507331a1d7a3951a7c1abfe2235c2 /mdoc.c
parent28fb10f422f4625c8f96902291781134ce7480f6 (diff)
downloadmandoc-1a8592024a9761fcb7378fe73a4a009d05a44f39.tar.gz
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 'mdoc.c')
0 files changed, 0 insertions, 0 deletions