summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r--usr.bin/mandoc/man.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c
index cfa06a08604..5e0a1c4133c 100644
--- a/usr.bin/mandoc/man.c
+++ b/usr.bin/mandoc/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.5 2009/06/23 22:31:26 schwarze Exp $ */
+/* $Id: man.c,v 1.6 2009/07/07 00:54:46 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -472,6 +472,9 @@ man_err(struct man *m, int line, int pos,
case (WNOTITLE):
p = "document has no title/section";
break;
+ case (WESCAPE):
+ p = "invalid escape sequence";
+ break;
}
assert(p);