aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libman.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-07 01:24:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-07 01:24:40 +0000
commit37dca223f8adbfb62ab71687a8b3f306804295c8 (patch)
tree942ccf5a988ea7f17a438ae03a60a6d5fe507e60 /libman.h
parent050315e505c48b0677069afc7175067e954adbea (diff)
downloadmandoc-37dca223f8adbfb62ab71687a8b3f306804295c8.tar.gz
mandoc-37dca223f8adbfb62ab71687a8b3f306804295c8.tar.zst
mandoc-37dca223f8adbfb62ab71687a8b3f306804295c8.zip
When the HEAD scope of .TP is broken by another block macro,
do not abort with a FATAL error, but report a report a WARNING, remove the broken .TP from the syntax tree, and prod on. Reported repeatedly by ports people, at least by brad@ and jeremy@. Also fixes rendition(4) in Xenocara. ok kristaps@
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libman.h b/libman.h
index cacb0275..4bc51282 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.54 2011/09/18 14:14:15 schwarze Exp $ */
+/* $Id: libman.h,v 1.55 2011/11/07 01:24:40 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -54,6 +54,7 @@ struct man_macro {
#define MAN_FSCOPED (1 << 2) /* See blk_imp(). */
#define MAN_NSCOPED (1 << 3) /* See in_line_eoln(). */
#define MAN_NOCLOSE (1 << 4) /* See blk_exp(). */
+#define MAN_BSCOPE (1 << 5) /* Break BLINE scope. */
};
extern const struct man_macro *const man_macros;