diff options
author | 2014-07-06 18:46:51 +0000 | |
---|---|---|
committer | 2014-07-06 18:46:51 +0000 | |
commit | ce205d5fb71711c106cf8281cc5c6a444c55e8dd (patch) | |
tree | 58be50df2b6e1e3ead98f7d58f42ca83164b468b /usr.bin/mandoc/mdoc.c | |
parent | Fix handling of escape sequences taking numeric arguments. (diff) | |
download | wireguard-openbsd-ce205d5fb71711c106cf8281cc5c6a444c55e8dd.tar.xz wireguard-openbsd-ce205d5fb71711c106cf8281cc5c6a444c55e8dd.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 'usr.bin/mandoc/mdoc.c')
0 files changed, 0 insertions, 0 deletions