From 95356d6189f5e5d41011a7cb60176f147e1fff7d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 17 May 2010 22:11:42 +0000 Subject: Enable the unified error/warning enumeration in mandoc.h that's stringified in main.c. Allow `An' to handle an argument and child (with a warning). Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a warning). Allow inconsistent column syntax to only raise a warning. --- mdoc_strings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mdoc_strings.c') diff --git a/mdoc_strings.c b/mdoc_strings.c index c80308f5..60af80c1 100644 --- a/mdoc_strings.c +++ b/mdoc_strings.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_strings.c,v 1.21 2010/05/15 17:26:34 kristaps Exp $ */ +/* $Id: mdoc_strings.c,v 1.22 2010/05/17 22:11:42 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -26,6 +26,7 @@ #include #include +#include "mandoc.h" #include "libmdoc.h" static const char * const secnames[SEC__MAX] = { -- cgit v1.2.3