summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/main.c
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/main.c
parent8f2e7efff9716e926aceb6c52cffa81e1eac647a (diff)
If .Ns is specified on its own line, ignore it, like groff does;
from kristaps@.
Diffstat (limited to 'usr.bin/mandoc/main.c')
-rw-r--r--usr.bin/mandoc/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c
index 30cd1db3cba..3f26a6ce6a9 100644
--- a/usr.bin/mandoc/main.c
+++ b/usr.bin/mandoc/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.71 2011/01/25 12:24:26 schwarze Exp $ */
+/* $Id: main.c,v 1.72 2011/02/06 17:33:20 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -131,6 +131,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
/* related to macros and nesting */
"skipping obsolete macro",
"skipping paragraph macro",
+ "skipping no-space macro",
"blocks badly nested",
"child violates parent syntax",
"nested displays are not portable",