diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-06 16:06:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-06 16:06:25 +0000 |
commit | f5b94dbc5c8c520ba699b3625ee96b70beec3a75 (patch) | |
tree | 71ec0c7d6d8a379984f45d96e9e75b7d77eafaa4 /read.c | |
parent | 70a62057d81d665dae089691140a2714bd510348 (diff) | |
download | mandoc-f5b94dbc5c8c520ba699b3625ee96b70beec3a75.tar.gz mandoc-f5b94dbc5c8c520ba699b3625ee96b70beec3a75.tar.zst mandoc-f5b94dbc5c8c520ba699b3625ee96b70beec3a75.zip |
replace the last legacy generic message type, "argument count wrong",
by more specific messages, improving diagnostics for .cc .tr .Bl -column
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.125 2015/02/06 11:54:36 schwarze Exp $ */ +/* $Id: read.c,v 1.126 2015/02/06 16:06:25 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -161,12 +161,14 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "skipping duplicate display type", "skipping duplicate list type", "skipping -width argument", + "wrong number of cells", "unknown AT&T UNIX version", "comma in function argument", "parenthesis in function name", "invalid content in Rs block", "invalid Boolean argument", "unknown font, skipping request", + "odd number of characters in request", /* related to plain text */ "blank line in fill mode, using .sp", @@ -211,7 +213,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { /* related to request and macro arguments */ "escaped character not allowed in a name", - "argument count wrong", "NOT IMPLEMENTED: Bd -file", "missing list type, using -item", "missing manual name, using \"\"", |