aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-02 21:40:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-02 21:40:45 +0000
commite9d24264e27dc7cfcd1fc87cd2e50cc710121ed5 (patch)
treee45a33bb7cba55f4a325e4e49cd0380a16a0f11a /main.c
parent17d423d4ef829d89f4e0673f7324d66e126702f0 (diff)
downloadmandoc-e9d24264e27dc7cfcd1fc87cd2e50cc710121ed5.tar.gz
mandoc-e9d24264e27dc7cfcd1fc87cd2e50cc710121ed5.tar.zst
mandoc-e9d24264e27dc7cfcd1fc87cd2e50cc710121ed5.zip
If `Ns' is specified on its own line, it should be ignored. This is
shitty groff behaviour. Do the same, but raise a warning to this effect. This from a TODO noted by schwarze@.
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index f21ce6f5..5896d5ff 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.141 2011/01/25 12:24:27 schwarze Exp $ */
+/* $Id: main.c,v 1.142 2011/02/02 21:40:45 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -146,6 +146,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",