summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-02-06 17:33:22 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-02-06 17:33:22 +0000
commita6928409603f10c73b69d4cc2c551365dd354355 (patch)
treec0a885462a050f80d2d6dd4f23a2a5987ef4ca85 /usr.bin/mandoc/mandoc.h
parent8f2e7efff9716e926aceb6c52cffa81e1eac647a (diff)
If .Ns is specified on its own line, ignore it, like groff does;
from kristaps@.
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r--usr.bin/mandoc/mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h
index 923b3f774a7..6165e156caf 100644
--- a/usr.bin/mandoc/mandoc.h
+++ b/usr.bin/mandoc/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.31 2011/01/16 19:27:25 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.32 2011/02/06 17:33:20 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -68,6 +68,7 @@ enum mandocerr {
/* related to macros and nesting */
MANDOCERR_MACROOBS, /* skipping obsolete macro */
MANDOCERR_IGNPAR, /* skipping paragraph macro */
+ MANDOCERR_IGNNS, /* skipping no-space macro */
MANDOCERR_SCOPENEST, /* blocks badly nested */
MANDOCERR_CHILD, /* child violates parent syntax */
MANDOCERR_NESTEDDISP, /* nested displays are not portable */