summaryrefslogtreecommitdiffstats
path: root/mandoc.h
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 /mandoc.h
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 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 9dbfdc2e..e629016c 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -74,6 +74,7 @@ enum mandocerr {
MANDOCERR_CHILD, /* child violates parent syntax */
MANDOCERR_NESTEDDISP, /* nested displays are not portable */
MANDOCERR_SCOPEREP, /* already in literal mode */
+ MANDOCERR_LINESCOPE, /* line scope broken */
/* related to missing macro arguments */
MANDOCERR_MACROEMPTY, /* skipping empty macro */
@@ -121,7 +122,6 @@ enum mandocerr {
MANDOCERR_NOTEXT, /* skipping text before the first section header */
MANDOCERR_MACRO, /* skipping unknown macro */
MANDOCERR_REQUEST, /* NOT IMPLEMENTED: skipping request */
- MANDOCERR_LINESCOPE, /* line scope broken */
MANDOCERR_ARGCOUNT, /* argument count wrong */
MANDOCERR_NOSCOPE, /* skipping end of block that is not open */
MANDOCERR_SCOPEBROKEN, /* missing end of block */