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 | ebc04fb0a062bcf881ac1fbe0706af873a8fcfc8 (patch) | |
tree | 4b2ea5a500c75fe94b0859570317fbfcaadb41d5 /man.h | |
parent | ed2793f208e83ec93c078ea0592c4c8f1eff4649 (diff) | |
download | mandoc-ebc04fb0a062bcf881ac1fbe0706af873a8fcfc8.tar.gz |
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 | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |