From d8e2dc40cb262e0a645395aa63ec461f77551ad0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 26 Jun 2009 22:43:41 +0000 Subject: the forms \*x, \*(xx and \*[xxx] are not deprecated, so revert most of 1.8; noticed by jmc@; ok kristaps@; to be included in 1.7.21 --- usr.bin/mandoc/mdoc_validate.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c index 0e91f843985..f6f481bfd6e 100644 --- a/usr.bin/mandoc/mdoc_validate.c +++ b/usr.bin/mandoc/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.12 2009/06/23 23:02:54 schwarze Exp $ */ +/* $Id: mdoc_validate.c,v 1.13 2009/06/26 22:43:40 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -55,7 +55,6 @@ enum mwarn { WNOWIDTH, WMISSWIDTH, WESCAPE, - WDEPESC, WDEPCOL, WWRONGMSEC, WSECOOO, @@ -481,9 +480,6 @@ pwarn(struct mdoc *m, int line, int pos, enum mwarn type) case (WESCAPE): p = "invalid escape sequence"; break; - case (WDEPESC): - p = "deprecated special-character escape"; - break; case (WNOLINE): p = "suggested no line arguments"; break; @@ -723,10 +719,6 @@ check_text(struct mdoc *mdoc, int line, int pos, const char *p) c = mdoc_isescape(p); if (c) { - /* See if form is deprecated. */ - if ('*' == p[1]) - if ( ! pwarn(mdoc, line, pos, WDEPESC)) - return(0); p += (int)c - 1; continue; } -- cgit v1.2.3