diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 22:30:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 22:30:10 +0000 |
commit | 9428c0388cfeb9544f5ffec7200f5fbee7da4727 (patch) | |
tree | 09ad909823009a69446d079d83d7de4a08b95855 /mandoc.1 | |
parent | 58bcb2f42259b0f030965cd8437c90e4704edb0e (diff) | |
download | mandoc-9428c0388cfeb9544f5ffec7200f5fbee7da4727.tar.gz |
Discard excess head arguments for .Bd .Bl .Bk and delete hwarn_eq0().
Discard empty .Bk blocks.
Improve related diagnostics.
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -994,7 +994,8 @@ except that it may control a following clause. .It Sy "skipping empty macro" .Pq mdoc -The indicated macro has no arguments and hence no effect. +The indicated macro has no arguments or no body content +and hence no effect. .It Sy "empty argument, using 0n" .Pq mdoc The required width is missing after @@ -1636,14 +1637,16 @@ macro is invoked with another argument after .Fl split or .Fl nosplit , -the -.Ic \&Bf -macro or the -.Ic \&sp -request is invoked with more than one argument, the +.Ic \&Bd , +.Ic \&Bk , +or +.Ic \&Bl +are invoked with invalid arguments, the .Ic \&RE macro is invoked with more than one argument -or with a non-integer argument, or a request of the +or with a non-integer argument, the +.Ic \&sp +request is invoked with more than one argument, or a request of the .Ic \&de family is invoked with more than two arguments. The excess arguments are ignored. |