summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-20 15:14:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-20 15:14:01 +0000
commit00aebf138812dfbbad4079310459c4a98d262466 (patch)
tree3813b36b1d67ea89983a0d62631f94c74e9c2c65 /private.h
parente594e9b96619e9def1bb676274977cb0d37fdd1b (diff)
downloadmandoc-00aebf138812dfbbad4079310459c4a98d262466.tar.gz
Support for `Bd' of all types (see mdoc.7 for newline/tab rules).VERSION.1.6.2
Renamed term.c and terminal.c functions to be term_. Some bugfixes to lists.
Diffstat (limited to 'private.h')
-rw-r--r--private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/private.h b/private.h
index 56c31cf3..f28a3ef5 100644
--- a/private.h
+++ b/private.h
@@ -33,6 +33,7 @@ struct mdoc {
int linetok;
int flags;
#define MDOC_HALT (1 << 0)
+#define MDOC_LITERAL (1 << 1)
int pflags;
enum mdoc_next next;
struct mdoc_node *last;
@@ -126,7 +127,8 @@ const char *mdoc_a2msec(const char *);
int mdoc_valid_pre(struct mdoc *,
const struct mdoc_node *);
int mdoc_valid_post(struct mdoc *);
-int mdoc_action_pre(struct mdoc *, struct mdoc_node *);
+int mdoc_action_pre(struct mdoc *,
+ const struct mdoc_node *);
int mdoc_action_post(struct mdoc *);
int mdoc_argv(struct mdoc *, int, int,
struct mdoc_arg **, int *, char *);