=================================================================== RCS file: /cvs/mandoc/man.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -p -r1.24 -r1.25 --- mandoc/man.c 2009/06/18 20:46:19 1.24 +++ mandoc/man.c 2009/06/22 13:09:17 1.25 @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.24 2009/06/18 20:46:19 kristaps Exp $ */ +/* $Id: man.c,v 1.25 2009/06/22 13:09:17 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -465,6 +465,12 @@ man_err(struct man *m, int line, int pos, break; case (WTQUOTE): p = "unterminated quotation"; + break; + case (WNODATA): + p = "document has no data"; + break; + case (WNOTITLE): + p = "document has no title/section"; break; } assert(p);