diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-23 09:47:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-23 09:47:13 +0000 |
commit | 569291aa948d0c424a458fd6b732f178f8d52c30 (patch) | |
tree | e03eb56011bcca95bc8616ef623ffc9999e56e6e /mandoc.h | |
parent | 35e4167ecdd8989ebb6e628716d98878b5e632fd (diff) | |
download | mandoc-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 'mandoc.h')
-rw-r--r-- | mandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.67 2011/03/22 14:05:45 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.68 2011/03/23 09:47:13 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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 */ |