diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-07 00:54:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-07 00:54:47 +0000 |
commit | 519840a05c6f8a0de798fef40491c9f81d7ecff0 (patch) | |
tree | 0c99faa6809c56312c452f31e8509db37dd3fda1 /usr.bin/mandoc/man.c | |
parent | 208fce3fea24bbb8803337f351b7875e81943a03 (diff) |
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); |