aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-03 14:12:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-03 14:12:48 +0000
commitc5cc5653b8df9a14f906682370580c05ea5b20ee (patch)
tree9e92c783c4d10a8f5c9626551b97df7e7271af69 /mdoc_validate.c
parent59c7bc58d7303ddeb6eb395dc50a072f2ed339f5 (diff)
downloadmandoc-c5cc5653b8df9a14f906682370580c05ea5b20ee.tar.gz
mandoc-c5cc5653b8df9a14f906682370580c05ea5b20ee.tar.zst
mandoc-c5cc5653b8df9a14f906682370580c05ea5b20ee.zip
Modified version of Ingo Schwarze's patch so that -man doesn't puke when a TH isn't specified.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index f63bae4e..d9f71ddf 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_validate.c,v 1.61 2010/04/03 14:02:10 kristaps Exp $ */
+/* $Id: mdoc_validate.c,v 1.62 2010/04/03 14:12:48 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -627,6 +627,8 @@ pre_bl(PRE_ARGS)
* over. If we don't do this, mdoc_action will
* become confused when it scans over multiple
* types whilst setting its bitmasks.
+ *
+ * FIXME: this should occur in mdoc_action.c.
*/
if (type >= 0) {
if ( ! mdoc_nwarn(mdoc, n, EMULTILIST))