aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--mdoc.74
-rw-r--r--mdoc_validate.c13
2 files changed, 4 insertions, 13 deletions
diff --git a/mdoc.7 b/mdoc.7
index e3245300..1087e001 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.89 2010/04/06 11:19:57 kristaps Exp $
+.\" $Id: mdoc.7,v 1.90 2010/04/06 17:01:27 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -1635,7 +1635,7 @@ Examples:
.Ss \&En
.Ss \&Eo
.Ss \&Er
-Error constants (suggested for use only in section two manuals).
+Display error constants.
.Pp
Examples:
.Bd -literal -offset indent
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 0f28fa3c..03486978 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_validate.c,v 1.66 2010/04/06 16:27:53 kristaps Exp $ */
+/* $Id: mdoc_validate.c,v 1.67 2010/04/06 17:01:27 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -102,7 +102,6 @@ static int pre_cd(PRE_ARGS);
static int pre_dd(PRE_ARGS);
static int pre_display(PRE_ARGS);
static int pre_dt(PRE_ARGS);
-static int pre_er(PRE_ARGS);
static int pre_ex(PRE_ARGS);
static int pre_fd(PRE_ARGS);
static int pre_it(PRE_ARGS);
@@ -142,7 +141,7 @@ static v_pre pres_cd[] = { pre_cd, NULL };
static v_pre pres_d1[] = { pre_display, NULL };
static v_pre pres_dd[] = { pre_dd, NULL };
static v_pre pres_dt[] = { pre_dt, NULL };
-static v_pre pres_er[] = { pre_er, NULL };
+static v_pre pres_er[] = { NULL, NULL };
static v_pre pres_ex[] = { pre_ex, NULL };
static v_pre pres_fd[] = { pre_fd, NULL };
static v_pre pres_it[] = { pre_it, NULL };
@@ -804,14 +803,6 @@ pre_ex(PRE_ARGS)
static int
-pre_er(PRE_ARGS)
-{
-
- return(check_msec(mdoc, n, 2, 3, 9, 0));
-}
-
-
-static int
pre_cd(PRE_ARGS)
{