source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: test tbl_term.c rev.
Date: Sat, 11 Jan 2020 16:02:57 -0500 (EST)	[thread overview]
Message-ID: <ba40af2d53451126@mandoc.bsd.lv> (raw)

Log Message:
-----------
test tbl_term.c rev. 1.73 and tbl_data.c rev. 1.53:
incomplete short layout lines followed by longer lines,
and spans at the beginning of layout lines

Modified Files:
--------------
    mandoc/regress/tbl/layout:
        Makefile
        shortlines.in
        shortlines.out_ascii

Added Files:
-----------
    mandoc/regress/tbl/layout:
        badspan.in
        badspan.out_ascii
        badspan.out_lint

Revision Data
-------------
--- /dev/null
+++ regress/tbl/layout/badspan.in
@@ -0,0 +1,13 @@
+.\" $OpenBSD: badspan.in,v 1.1 2020/01/11 20:56:26 schwarze Exp $
+.TH TBL-LAYOUT-BADSPAN 1 "January 11, 2020"
+.SH NAME
+tbl-layout-badspan \- invalid spanned cells
+.SH DESCRIPTION
+normal text
+.TS
+allbox tab(:);
+S L S S
+L L L L L L.
+span:end
+1:2:3:4:5:6
+.TE
--- /dev/null
+++ regress/tbl/layout/badspan.out_lint
@@ -0,0 +1 @@
+mandoc: badspan.in:9:1: WARNING: tbl line starts with span
Index: shortlines.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/tbl/layout/shortlines.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/tbl/layout/shortlines.out_ascii -Lregress/tbl/layout/shortlines.out_ascii -u -p -r1.1 -r1.2
--- regress/tbl/layout/shortlines.out_ascii
+++ regress/tbl/layout/shortlines.out_ascii
@@ -43,6 +43,4 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
        +-----------+--------+-------+
 
 
-
-
-OpenBSD                          June 11, 2019        TBL-LAYOUT-SHORTLINES(1)
+OpenBSD                        January 11, 2020       TBL-LAYOUT-SHORTLINES(1)
Index: shortlines.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/tbl/layout/shortlines.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/tbl/layout/shortlines.in -Lregress/tbl/layout/shortlines.in -u -p -r1.1 -r1.2
--- regress/tbl/layout/shortlines.in
+++ regress/tbl/layout/shortlines.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: shortlines.in,v 1.1 2019/06/11 15:40:41 schwarze Exp $
-.TH TBL-LAYOUT-SHORTLINES 1 "June 11, 2019"
+.\" $OpenBSD: shortlines.in,v 1.2 2020/01/11 20:56:26 schwarze Exp $
+.TH TBL-LAYOUT-SHORTLINES 1 "January 11, 2020"
 .SH NAME
 tbl-layout-shortlines \- table lines of different length
 .SH DESCRIPTION
@@ -39,11 +39,9 @@ very short
 .TS
 allbox tab(:);
 L
-L L
+L
 L L L.
 very short
 short:line
 left:middle:right
 .TE
-
-
Index: Makefile
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/tbl/layout/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/tbl/layout/Makefile -Lregress/tbl/layout/Makefile -u -p -r1.4 -r1.5
--- regress/tbl/layout/Makefile
+++ regress/tbl/layout/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.5 2019/12/31 22:49:17 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2020/01/11 20:56:26 schwarze Exp $
 
-REGRESS_TARGETS	 = center complex empty emptycol emptyline
+REGRESS_TARGETS	 = badspan center complex empty emptycol emptyline
 REGRESS_TARGETS	+= lines lines-nogroff numbers shortlines span
-LINT_TARGETS	 = complex empty
+LINT_TARGETS	 = badspan complex empty
 
 # groff-1.22.3 defects:
 # - When the layout is completely empty,
--- /dev/null
+++ regress/tbl/layout/badspan.out_ascii
@@ -0,0 +1,18 @@
+TBL-LAYOUT-BADSPAN(1)       General Commands Manual      TBL-LAYOUT-BADSPAN(1)
+
+
+
+N\bNA\bAM\bME\bE
+       tbl-layout-badspan - invalid spanned cells
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       normal text
+
+       +--+-----------+-----+---+
+       |  | span      | end |   |
+       +--+---+---+---+-----+---+
+       |1 | 2 | 3 | 4 | 5   | 6 |
+       +--+---+---+---+-----+---+
+
+
+OpenBSD                        January 11, 2020          TBL-LAYOUT-BADSPAN(1)
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

                 reply	other threads:[~2020-01-11 21:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ba40af2d53451126@mandoc.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).