From c77635473d2482e2462a6d24ba39e43e5ea6ed64 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 20 Mar 2009 15:14:01 +0000 Subject: Support for `Bd' of all types (see mdoc.7 for newline/tab rules). Renamed term.c and terminal.c functions to be term_. Some bugfixes to lists. --- private.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'private.h') diff --git a/private.h b/private.h index 597f6370..b8d7a461 100644 --- a/private.h +++ b/private.h @@ -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 * @@ -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 *); -- cgit v1.2.3