diff options
author | 2014-06-29 22:14:10 +0000 | |
---|---|---|
committer | 2014-06-29 22:14:10 +0000 | |
commit | e37ca723130eecc2d9c9e16ba828bfd9a4eccb4e (patch) | |
tree | b5d3cbffd933b67acdb229f4e9acbe120d7d5d4b /test-reallocarray.c | |
parent | ab189900401da15dee3e20b86bd32d1cdb7e37ac (diff) | |
download | mandoc-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 'test-reallocarray.c')
0 files changed, 0 insertions, 0 deletions