From ebc04fb0a062bcf881ac1fbe0706af873a8fcfc8 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 18 Jun 2009 10:32:00 +0000 Subject: Added -fno-ign-chars support to libman. man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7. --- man.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man.h') diff --git a/man.h b/man.h index 2b31637b..497b237c 100644 --- a/man.h +++ b/man.h @@ -63,6 +63,7 @@ struct man_node { struct man_node *child; struct man_node *next; struct man_node *prev; + int nchild; int line; int pos; int tok; @@ -73,7 +74,8 @@ struct man_node { char *string; }; -#define MAN_IGN_MACRO (1 << 0) /* Ignore unknown macros. */ +#define MAN_IGN_MACRO (1 << 0) +#define MAN_IGN_CHARS (1 << 1) extern const char *const *man_macronames; -- cgit