diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-18 20:58:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-18 20:58:01 +0000 |
commit | 07def54fd26412ddd605c19319930bf2261c9eeb (patch) | |
tree | 30247293415334a90b941bcfb6f7acd71e9ac3ab /regress/usr.bin | |
parent | 5f4b891e0c9b089b6d923059a4db3a6979185ec6 (diff) |
Don't let .Ta creep into an already-closed list; same as for .It.
Fixes an assertion found by jsg@ with afl.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/bareTa.in | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_ascii | 3 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_lint | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/bareTa.in b/regress/usr.bin/mandoc/mdoc/Bl/bareTa.in index 20f003766a9..12eaf45e21b 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/bareTa.in +++ b/regress/usr.bin/mandoc/mdoc/Bl/bareTa.in @@ -18,4 +18,9 @@ middle text .It Ta ignored arguments indented text .El +middle text +.Bl -column "a" "b" -offset indent +.It a Ta b +.El +.It ignored arguments final text diff --git a/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_ascii b/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_ascii index d1378e08719..831ffee8335 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_ascii +++ b/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_ascii @@ -10,6 +10,9 @@ DDEESSCCRRIIPPTTIIOONN middle text -- indented text + middle text + + a b final text OpenBSD November 12, 2012 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_lint b/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_lint index e663e421f8e..141e1bd8a2b 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Bl/bareTa.out_lint @@ -2,3 +2,4 @@ mandoc: bareTa.in:9:2: ERROR: skipping column outside column list: Ta mandoc: bareTa.in:13:2: ERROR: skipping column outside column list: Ta mandoc: bareTa.in:18:5: ERROR: skipping column outside column list: Ta mandoc: bareTa.in:18:2: ERROR: skipping all arguments: It ignored arguments +mandoc: bareTa.in:25:2: ERROR: skipping item outside list: It ignored arguments |