diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-17 13:05:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-17 13:05:48 +0000 |
commit | cdbfa511a5933b62104b29e9276dab972655dd5e (patch) | |
tree | 0bdeebf90edfb9f3459a4ca14ec3039260d9e09e /regress/usr.bin | |
parent | 5edccafdb4140a4354321620f61b9e92b36eb2ae (diff) |
correct handling of blank lines after \c
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/c.in | 9 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/c.out_ascii | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/c_man.in | 9 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/c_man.out_ascii | 3 |
4 files changed, 25 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/roff/esc/c.in b/regress/usr.bin/mandoc/roff/esc/c.in index c3b7a912c51..b7b47bc155a 100644 --- a/regress/usr.bin/mandoc/roff/esc/c.in +++ b/regress/usr.bin/mandoc/roff/esc/c.in @@ -15,3 +15,12 @@ word one\c word .Ed +Blank line after \ec: +one\c + +word +.Bd -literal +one\c + +word +.Ed diff --git a/regress/usr.bin/mandoc/roff/esc/c.out_ascii b/regress/usr.bin/mandoc/roff/esc/c.out_ascii index a0f6a9964a5..9f8570c47d9 100644 --- a/regress/usr.bin/mandoc/roff/esc/c.out_ascii +++ b/regress/usr.bin/mandoc/roff/esc/c.out_ascii @@ -7,5 +7,9 @@ DDEESSCCRRIIPPTTIIOONN No space between "one" and "word": oneword oneword + Blank line after \c: one word + + one + word OpenBSD December 2, 2014 OpenBSD diff --git a/regress/usr.bin/mandoc/roff/esc/c_man.in b/regress/usr.bin/mandoc/roff/esc/c_man.in index c18fad10c99..09e1ed3b226 100644 --- a/regress/usr.bin/mandoc/roff/esc/c_man.in +++ b/regress/usr.bin/mandoc/roff/esc/c_man.in @@ -9,4 +9,13 @@ word one\c word .fi +Blank line after \ec: +one\c + +word +.nf +one\c + +word +.fi final text diff --git a/regress/usr.bin/mandoc/roff/esc/c_man.out_ascii b/regress/usr.bin/mandoc/roff/esc/c_man.out_ascii index d00b1b48d21..9062c335ae2 100644 --- a/regress/usr.bin/mandoc/roff/esc/c_man.out_ascii +++ b/regress/usr.bin/mandoc/roff/esc/c_man.out_ascii @@ -8,6 +8,9 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN No space between "one" and "word": oneword oneword + Blank line after \c: one word + one + word final text |