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 /main.c | |
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 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -232,10 +232,12 @@ man_init(struct curparse *curp) /* Defaults from mandoc.1. */ - pflags = MAN_IGN_MACRO; + pflags = MAN_IGN_MACRO | MAN_IGN_CHARS; if (curp->fflags & NO_IGN_MACRO) pflags &= ~MAN_IGN_MACRO; + if (curp->fflags & NO_IGN_CHARS) + pflags &= ~MAN_IGN_CHARS; if (NULL == (man = man_alloc(curp, pflags, &mancb))) warnx("memory exhausted"); |