diff options
author | 2009-07-07 00:54:46 +0000 | |
---|---|---|
committer | 2009-07-07 00:54:46 +0000 | |
commit | d31954ece77dad873aa0f0a000abc4dda17e9bc4 (patch) | |
tree | 67e3616aefa5ccef595f2a86ee0a7333f764f55c /usr.bin/mandoc/man.c | |
parent | The word "indent" has a special meaning in ".Bd -tag -offset indent", (diff) | |
download | wireguard-openbsd-d31954ece77dad873aa0f0a000abc4dda17e9bc4.tar.xz wireguard-openbsd-d31954ece77dad873aa0f0a000abc4dda17e9bc4.zip |
sync to 1.7.21: provide WESCAPE and MAN_IGN_ESCAPE,
to be used soon in man_validate.c
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r-- | usr.bin/mandoc/man.c | 5 |
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); |