aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-23 09:47:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-23 09:47:13 +0000
commit569291aa948d0c424a458fd6b732f178f8d52c30 (patch)
treee03eb56011bcca95bc8616ef623ffc9999e56e6e /main.c
parent35e4167ecdd8989ebb6e628716d98878b5e632fd (diff)
downloadmandoc-569291aa948d0c424a458fd6b732f178f8d52c30.tar.gz
mandoc-569291aa948d0c424a458fd6b732f178f8d52c30.tar.zst
mandoc-569291aa948d0c424a458fd6b732f178f8d52c30.zip
Make (e.g.) `SM' before `B' be only a warning. In reality, this refers
to ELINE macros ("next-line", but not unbreakable like the next-line paragraph macros) followed by other macros. This addresses a report by Christian Weisgerber, posted in the TODO by schwarze@, and aired on discuss@ (22/03/2011) for whether a fix is warranted.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index f6f52fda..0ea83604 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.158 2011/03/22 10:35:26 kristaps Exp $ */
+/* $Id: main.c,v 1.159 2011/03/23 09:47:13 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -106,6 +106,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"child violates parent syntax",
"nested displays are not portable",
"already in literal mode",
+ "line scope broken",
/* related to missing macro arguments */
"skipping empty macro",
@@ -153,7 +154,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"skipping text before the first section header",
"skipping unknown macro",
"NOT IMPLEMENTED, please use groff: skipping request",
- "line scope broken",
"argument count wrong",
"skipping end of block that is not open",
"missing end of block",