From e100896ec287b69a49978cc7502276f0759544b0 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'man.h') diff --git a/man.h b/man.h index 0efbebdc..1d6e8468 100644 --- a/man.h +++ b/man.h @@ -1,4 +1,4 @@ -/* $Id: man.h,v 1.13 2009/06/16 19:55:28 kristaps Exp $ */ +/* $Id: man.h,v 1.14 2009/06/18 10:32:00 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -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 v1.2.3