aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-05 01:12:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-05 01:12:20 +0000
commitd6a2384f7d4afffa920faf2c8f8b7801f84669fe (patch)
treebc65e001c7beac54494b8e0e27825c82d53c094e /read.c
parent50b8b4d12d3828eef15079704fdc9586de75c7ef (diff)
downloadmandoc-d6a2384f7d4afffa920faf2c8f8b7801f84669fe.tar.gz
mandoc-d6a2384f7d4afffa920faf2c8f8b7801f84669fe.tar.zst
mandoc-d6a2384f7d4afffa920faf2c8f8b7801f84669fe.zip
Cleanup regarding -offset and -width:
* Bugfix: Last one wins, not first one. * Fix .Bl -width without argument: it means 0n, so do not ignore it. * Report macro names, argument names and fallbacks in related messages. * Simplify: Garbage collect auxiliary variables in pre_bd() and pre_bl().
Diffstat (limited to 'read.c')
-rw-r--r--read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/read.c b/read.c
index 008fe2b2..5ad294f9 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.61 2014/07/04 16:12:08 schwarze Exp $ */
+/* $Id: read.c,v 1.62 2014/07/05 01:12:20 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -131,6 +131,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"skipping empty request",
"conditional request controls empty scope",
"skipping empty macro",
+ "empty argument, using 0n",
"argument count wrong",
"missing display type, using -ragged",
"list type is not the first argument",