diff options
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 <kristaps@kth.se> * @@ -466,6 +466,12 @@ man_err(struct man *m, int line, int pos, 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); |