From e9d24264e27dc7cfcd1fc87cd2e50cc710121ed5 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 2 Feb 2011 21:40:45 +0000 Subject: 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@. --- mandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandoc.h') diff --git a/mandoc.h b/mandoc.h index f9c77487..acef6815 100644 --- a/mandoc.h +++ b/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.53 2011/01/12 15:50:42 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.54 2011/02/02 21:40:45 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * @@ -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 */ -- cgit v1.2.3