diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-18 10:32:00 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-18 10:32:00 +0000 |
commit | e100896ec287b69a49978cc7502276f0759544b0 (patch) | |
tree | 42153c653b231d86d04266fc491c6fd101db5f4c /man.h | |
parent | 78e476a84b5b848e06913e55ae4c965faffa0358 (diff) | |
download | mandoc-e100896ec287b69a49978cc7502276f0759544b0.tar.gz mandoc-e100896ec287b69a49978cc7502276f0759544b0.tar.zst mandoc-e100896ec287b69a49978cc7502276f0759544b0.zip |
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.
Diffstat (limited to 'man.h')
-rw-r--r-- | man.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 <kristaps@kth.se> * @@ -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; |