aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-09-15 18:26:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-09-15 18:26:46 +0000
commitbcae865b5f52b7036c73ea5e88895b9b7e8c6b1e (patch)
tree3e869173b1af0ec3bdf06ea94f2e085a5ea07b34 /mdoc_man.c
parentfb1d9a8f6663d8c5321def7ad5c3cdab2451d965 (diff)
downloadmandoc-bcae865b5f52b7036c73ea5e88895b9b7e8c6b1e.tar.gz
mandoc-bcae865b5f52b7036c73ea5e88895b9b7e8c6b1e.tar.zst
mandoc-bcae865b5f52b7036c73ea5e88895b9b7e8c6b1e.zip
Block closing macros do not allocate a new node but finish an existing
one, so they miss the clearing of MDOC_NEWLINE in mdoc.c, node_alloc(). Consequently, MDOC_NEWLINE must be cleared before processing the next macro on the same line. This fixes horizontal spacing for input lines beginning like .Oc Ns ... Issue found by Franco Fichtner <franco at lastsummer dot de> while working on DragonFly mandoc integration.
Diffstat (limited to 'mdoc_man.c')
0 files changed, 0 insertions, 0 deletions