diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-03 23:23:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-03 23:23:46 +0000 |
commit | cf1b4eae69f8c1fedf30843440f6f65e58f4c5c3 (patch) | |
tree | fcf90713cdb106b77499be9e22a382ca559fbd6e /usr.bin/mandoc/read.c | |
parent | a71e5f251abf21268562581aff82eb7c7c57175e (diff) |
Fix formatting of empty .Bl -inset item heads.
Downgrade empty item heads from ERROR to WARNING.
Show the list type in the error message.
Choose better variable names for nodes in post_it().
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r-- | usr.bin/mandoc/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c index c5d4781aec2..9381ae0407f 100644 --- a/usr.bin/mandoc/read.c +++ b/usr.bin/mandoc/read.c @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.36 2014/07/03 21:23:08 schwarze Exp $ */ +/* $Id: read.c,v 1.37 2014/07/03 23:23:45 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -127,6 +127,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "missing display type", "list type must come first", "tag lists require a width argument", + "missing head in list item", "missing font type", /* related to bad macro arguments */ @@ -181,7 +182,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "missing end of block", "scope open on exit", "uname(3) system call failed", - "macro requires line argument(s)", "macro requires body argument(s)", "macro requires argument(s)", "request requires a numeric argument", |