=================================================================== RCS file: /cvs/mandoc/read.c,v retrieving revision 1.57 retrieving revision 1.62 diff -u -p -r1.57 -r1.62 --- mandoc/read.c 2014/07/02 13:10:45 1.57 +++ mandoc/read.c 2014/07/05 01:12:20 1.62 @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.57 2014/07/02 13:10:45 schwarze Exp $ */ +/* $Id: read.c,v 1.62 2014/07/05 01:12:20 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -128,12 +128,19 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "line scope broken", /* related to missing macro arguments */ + "skipping empty request", + "conditional request controls empty scope", "skipping empty macro", + "empty argument, using 0n", "argument count wrong", - "missing display type", - "list type must come first", - "tag lists require a width argument", - "missing font type", + "missing display type, using -ragged", + "list type is not the first argument", + "missing -width in -tag list, using 8n", + "empty head in list item", + "empty list item", + "missing font type, using \\fR", + "unknown font type, using \\fR", + "missing -std argument, adding it", /* related to bad macro arguments */ "skipping argument", @@ -187,12 +194,10 @@ 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", - "missing list type", - "line argument(s) will be lost", + "missing list type, using -item", + "skipping all arguments", + "skipping excess arguments", "generic fatal error", @@ -200,7 +205,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "not a manual", "column syntax is inconsistent", "NOT IMPLEMENTED: .Bd -file", - "argument count wrong, violates syntax", "child violates parent syntax", "argument count wrong, violates syntax", "NOT IMPLEMENTED: .so with absolute path or \"..\"",