aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-04 12:06:21 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-04 12:06:21 +0000
commit543980ff972d5b50a51593a306420bb65fbf6b61 (patch)
treea080fdde4da2d2ee8bef446c09ee6825a6215293 /main.c
parentbe25abe332d021e7a5092c3596a6ffc11e352da9 (diff)
downloadmandoc-543980ff972d5b50a51593a306420bb65fbf6b61.tar.gz
mandoc-543980ff972d5b50a51593a306420bb65fbf6b61.tar.zst
mandoc-543980ff972d5b50a51593a306420bb65fbf6b61.zip
Fix to make horizontal spanners in the layout be properly printed.
mandoc also now warns (so does tbl(1)) if a horizontal spanner is specified along with data. While here, fix up some documentation and uncomment the tbl reference.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2289de8a..63b778f4 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.133 2011/01/03 23:53:51 schwarze Exp $ */
+/* $Id: main.c,v 1.134 2011/01/04 12:06:21 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -189,6 +189,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"bad table layout",
"no table layout cells specified",
"no table data cells specified",
+ "ignore data in cell",
+
"input stack limit exceeded, infinite loop?",
"skipping bad character",
"skipping text before the first section header",