diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-12 15:50:42 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-12 15:50:42 +0000 |
commit | 6e11d260e2b32511ddba61c5233b2ac3068e1118 (patch) | |
tree | 5f1ab304404ce42398e4cd8bbda9188835544a18 /main.c | |
parent | 5f6cfc51841517a03c234988b077d265f7bfcf38 (diff) | |
download | mandoc-6e11d260e2b32511ddba61c5233b2ac3068e1118.tar.gz mandoc-6e11d260e2b32511ddba61c5233b2ac3068e1118.tar.zst mandoc-6e11d260e2b32511ddba61c5233b2ac3068e1118.zip |
Make out-of-context `fi' invocations not cause an error, but just a
warning. From a TODO by schwarze@, originally noted by Brad Smith.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.137 2011/01/11 00:11:45 schwarze Exp $ */ +/* $Id: main.c,v 1.138 2011/01/12 15:50:42 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -158,6 +158,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "list type must come first", "tag lists require a width argument", "missing font type", + "skipping end of block that is not open", /* related to bad macro arguments */ "skipping argument", |