summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-05-05 02:06:18 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-05-05 02:06:18 +0000
commite5de72981242cea4d66eabde05462c0b1065e3f1 (patch)
tree34fd2a9e89d4f23b3aee7cb3dab14f51e8a2e03b /usr.bin/mandoc/mdoc_validate.c
parent9fc7e677e42f5451f933614238ec5d4f5de5ac92 (diff)
Move handling of the roff(7) .ft request from the man(7)
modules to the new roff(7) modules. As a side effect, mdoc(7) now handles .ft, too. Of course, do not use that.
Diffstat (limited to 'usr.bin/mandoc/mdoc_validate.c')
-rw-r--r--usr.bin/mandoc/mdoc_validate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c
index b73c93416e3..c61aed58431 100644
--- a/usr.bin/mandoc/mdoc_validate.c
+++ b/usr.bin/mandoc/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_validate.c,v 1.239 2017/05/04 17:48:24 schwarze Exp $ */
+/* $OpenBSD: mdoc_validate.c,v 1.240 2017/05/05 02:06:17 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -330,7 +330,8 @@ mdoc_node_validate(struct roff_man *mdoc)
post_par(mdoc);
break;
default:
- abort();
+ roff_validate(mdoc);
+ break;
}
break;
}