diff options
author | 2011-01-03 23:53:51 +0000 | |
---|---|---|
committer | 2011-01-03 23:53:51 +0000 | |
commit | fc974a57cd34bcbd149a89e1e5927d795492b4aa (patch) | |
tree | 42c3baa6d57e10e3528ed913506d63c84312fd2d /libmdoc.h | |
parent | 0bca0ed29c146972c0bb416f86619a5a280c08cb (diff) | |
download | mandoc-fc974a57cd34bcbd149a89e1e5927d795492b4aa.tar.gz mandoc-fc974a57cd34bcbd149a89e1e5927d795492b4aa.tar.zst mandoc-fc974a57cd34bcbd149a89e1e5927d795492b4aa.zip |
Partial cleanup of argument count validation in mdoc(7):
* Do not segfault on empty .Db, .Rs, .Sm, and .St.
* Let check_count() really throw the requested level, not always ERROR.
* Downgrade most bad argument counts from ERROR to WARNING.
* And some related internal cleanup.
Looks fine to kristaps@.
Note that the macros using eerr_ge1() still need to be checked at a later
time; but as all the others are done, let's use what we already have.
Diffstat (limited to 'libmdoc.h')
0 files changed, 0 insertions, 0 deletions