aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl/data/escz.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-26 14:52:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-26 14:52:05 +0000
commitc2e70e08c4a052a976c913961c21ebe72ab8111e (patch)
treec077eaa18e4190d474428ba1049d0d27350101bf /regress/tbl/data/escz.in
parent8c8298198d4578f2d09c34f5b09dea2af3a45a19 (diff)
downloadmandoc-c2e70e08c4a052a976c913961c21ebe72ab8111e.tar.gz
mandoc-c2e70e08c4a052a976c913961c21ebe72ab8111e.tar.zst
mandoc-c2e70e08c4a052a976c913961c21ebe72ab8111e.zip
At the end of every tbl(7) cell, clear the \z state.
This is needed because the TERMP_MULTICOL mode is designed such that term_tbl() buffers all the cells of the table row before the normal reset logic near the end of term_flushln() can be reached. This fixes an assertion failure triggered by \z near the end of a table cell, found by tb@ using afl(1).
Diffstat (limited to 'regress/tbl/data/escz.in')
-rw-r--r--regress/tbl/data/escz.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/regress/tbl/data/escz.in b/regress/tbl/data/escz.in
new file mode 100644
index 00000000..406df48f
--- /dev/null
+++ b/regress/tbl/data/escz.in
@@ -0,0 +1,14 @@
+.\" $OpenBSD: escz.in,v 1.1 2022/04/26 14:46:30 schwarze Exp $
+.TH TBL-DATA-ESCZ 1 "April 26, 2022"
+.SH NAME
+tbl-data-escz \- non-advancing glyph at the end of a tbl(7) cell
+.SH DESCRIPTION
+initial text
+.TS
+tab(:);
+LL.
+a:b
+c\zd:e
+.TE
+.sp
+final text