=================================================================== RCS file: /cvs/mandoc/read.c,v retrieving revision 1.59 retrieving revision 1.61 diff -u -p -r1.59 -r1.61 --- mandoc/read.c 2014/07/03 23:24:56 1.59 +++ mandoc/read.c 2014/07/04 16:12:08 1.61 @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.59 2014/07/03 23:24:56 schwarze Exp $ */ +/* $Id: read.c,v 1.61 2014/07/04 16:12:08 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -132,11 +132,14 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "conditional request controls empty scope", "skipping empty macro", "argument count wrong", - "missing display type", - "list type must come first", - "tag lists require a width argument", - "missing head in list item", - "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", @@ -190,11 +193,10 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "missing end of block", "scope open on exit", "uname(3) system call failed", - "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", @@ -202,7 +204,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 \"..\"",