aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libman.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-03-22 05:59:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-03-22 05:59:32 +0000
commitf27e8dcec6089cf24702107e517e3c0c5950477d (patch)
tree820e7552a3bbb4dec58c8f24329f3bce76140c82 /libman.h
parentb89219869bcc53798ee875bb243b8c4f60b23bda (diff)
downloadmandoc-f27e8dcec6089cf24702107e517e3c0c5950477d.tar.gz
mandoc-f27e8dcec6089cf24702107e517e3c0c5950477d.tar.zst
mandoc-f27e8dcec6089cf24702107e517e3c0c5950477d.zip
Accomodate (libman) for next-line macros followed by non-text macros `na', `sp', and `br'.
Based on a patch by Ingo Schwarze.
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libman.h b/libman.h
index c0b5cb46..ad33e44f 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.23 2009/10/30 05:58:36 kristaps Exp $ */
+/* $Id: libman.h,v 1.24 2010/03/22 05:59:32 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -30,9 +30,10 @@ struct man {
int pflags;
int flags;
#define MAN_HALT (1 << 0)
-#define MAN_ELINE (1 << 1) /* Next-line element scope. */
-#define MAN_BLINE (1 << 2) /* Next-line block scope. */
-#define MAN_LITERAL (1 << 3) /* Literal input. */
+#define MAN_ELINE (1 << 1) /* Next-line element scope. */
+#define MAN_BLINE (1 << 2) /* Next-line block scope. */
+#define MAN_ILINE (1 << 3) /* Ignored in next-line scope. */
+#define MAN_LITERAL (1 << 4) /* Literal input. */
enum man_next next;
struct man_node *last;
struct man_node *first;
@@ -70,6 +71,7 @@ struct man_macro {
#define MAN_SCOPED (1 << 0)
#define MAN_EXPLICIT (1 << 1) /* See blk_imp(). */
#define MAN_FSCOPED (1 << 2) /* See blk_imp(). */
+#define MAN_NSCOPED (1 << 3) /* See in_line_eoln(). */
};
extern const struct man_macro *const man_macros;