diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-20 15:14:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-20 15:14:01 +0000 |
commit | c77635473d2482e2462a6d24ba39e43e5ea6ed64 (patch) | |
tree | 27fdbb70907287167ccf1c7366ff0a668e882c8d /private.h | |
parent | b4ee9d6b1b8964750454bb66e67aa323b06752a9 (diff) | |
download | mandoc-c77635473d2482e2462a6d24ba39e43e5ea6ed64.tar.gz mandoc-c77635473d2482e2462a6d24ba39e43e5ea6ed64.tar.zst mandoc-c77635473d2482e2462a6d24ba39e43e5ea6ed64.zip |
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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.89 2009/03/16 22:19:19 kristaps Exp $ */ +/* $Id: private.h,v 1.90 2009/03/20 15:14:01 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -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 *); |