]> git.cameronkatri.com Git - mandoc.git/commit
Fix expansion of escape sequences with incomplete arguments.
authorIngo Schwarze <schwarze@openbsd.org>
Sun, 6 Jul 2014 18:46:55 +0000 (18:46 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sun, 6 Jul 2014 18:46:55 +0000 (18:46 +0000)
commitfd72c5c12848eeda1017f8937b0ff7e4a36a0a7d
treef62fac921b7583648880029f5a5a1a07f98a98e7
parentccc85730690610c12755680ddc110bf6bde742cf
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).
roff.c