From 6e11d260e2b32511ddba61c5233b2ac3068e1118 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 12 Jan 2011 15:50:42 +0000 Subject: Make out-of-context `fi' invocations not cause an error, but just a warning. From a TODO by schwarze@, originally noted by Brad Smith. --- mandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandoc.h') diff --git a/mandoc.h b/mandoc.h index 9cfb350a..f9c77487 100644 --- a/mandoc.h +++ b/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.52 2011/01/11 00:11:45 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.53 2011/01/12 15:50:42 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * @@ -80,6 +80,7 @@ enum mandocerr { MANDOCERR_LISTFIRST, /* list type must come first */ MANDOCERR_NOWIDTHARG, /* tag lists require a width argument */ MANDOCERR_FONTTYPE, /* missing font type */ + MANDOCERR_WNOSCOPE, /* skipping end of block that is not open */ /* related to bad macro arguments */ MANDOCERR_IGNARGV, /* skipping argument */ -- cgit v1.2.3-56-ge451