summaryrefslogtreecommitdiffstats
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
commitf1eb879e0eb3e0f4696cb9626224a8cc40918d6b (patch)
tree663728944c6fe383cb9d94e243b50403002baff5 /main.c
parent95efc599afc482072cf9239b5f78898fa1ea21e1 (diff)
downloadmandoc-f1eb879e0eb3e0f4696cb9626224a8cc40918d6b.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 591f3eca..3c0cb697 100644
--- a/main.c
+++ b/main.c
@@ -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",