aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-29 15:22:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-29 15:22:17 +0000
commit294cf32a27d430922b8f008f10b766ddce477cf6 (patch)
tree5d2f44c87d164c034525970057e994f303f21f89 /read.c
parent7ce799ea42df955972ae7d0c05eeb330a9864345 (diff)
downloadmandoc-294cf32a27d430922b8f008f10b766ddce477cf6.tar.gz
mandoc-294cf32a27d430922b8f008f10b766ddce477cf6.tar.zst
mandoc-294cf32a27d430922b8f008f10b766ddce477cf6.zip
warn about some non-portable idioms in .Bl -column;
triggered by a question from Yuri Pankov (illumos)
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/read.c b/read.c
index f1c14c1d..ab390334 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.182 2017/06/25 17:43:45 schwarze Exp $ */
+/* $Id: read.c,v 1.183 2017/06/29 15:22:17 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -151,6 +151,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"blocks badly nested",
"nested displays are not portable",
"moving content out of list",
+ "first macro on line",
"fill mode already enabled, skipping",
"fill mode already disabled, skipping",
"line scope broken",
@@ -169,6 +170,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"missing function name, using \"\"",
"empty head in list item",
"empty list item",
+ "missing argument, using next line",
"missing font type, using \\fR",
"unknown font type, using \\fR",
"nothing follows prefix",