diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-06 18:46:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-06 18:46:55 +0000 |
commit | fd72c5c12848eeda1017f8937b0ff7e4a36a0a7d (patch) | |
tree | f62fac921b7583648880029f5a5a1a07f98a98e7 /manpath.c | |
parent | ccc85730690610c12755680ddc110bf6bde742cf (diff) | |
download | mandoc-fd72c5c12848eeda1017f8937b0ff7e4a36a0a7d.tar.gz mandoc-fd72c5c12848eeda1017f8937b0ff7e4a36a0a7d.tar.zst mandoc-fd72c5c12848eeda1017f8937b0ff7e4a36a0a7d.zip |
Fix expansion of escape sequences with incomplete arguments.
* For \* and \n, discard the incomplete arg, expand to empty string.
* For \B, discard the incomplete arg, expand to the digit 0.
* For \w, use the incomplete arg (behaviour unchanged).
Diffstat (limited to 'manpath.c')
0 files changed, 0 insertions, 0 deletions