diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-22 05:59:32 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-22 05:59:32 +0000 |
commit | f27e8dcec6089cf24702107e517e3c0c5950477d (patch) | |
tree | 820e7552a3bbb4dec58c8f24329f3bce76140c82 /libman.h | |
parent | b89219869bcc53798ee875bb243b8c4f60b23bda (diff) | |
download | mandoc-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.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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; |