diff options
author | 2009-06-23 22:31:26 +0000 | |
---|---|---|
committer | 2009-06-23 22:31:26 +0000 | |
commit | 0adfad74fcdc1750dc012ffadb8e0cc3651121ba (patch) | |
tree | bf1009ec6de302220bf7aa63eacedb8974951800 /usr.bin/mandoc/man.h | |
parent | Add some common config file examples to the quick start section. (diff) | |
download | wireguard-openbsd-0adfad74fcdc1750dc012ffadb8e0cc3651121ba.tar.xz wireguard-openbsd-0adfad74fcdc1750dc012ffadb8e0cc3651121ba.zip |
sync to 1.7.20: root and text validation for -man
Diffstat (limited to 'usr.bin/mandoc/man.h')
-rw-r--r-- | usr.bin/mandoc/man.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man.h b/usr.bin/mandoc/man.h index 8457a5fcc98..4b966542839 100644 --- a/usr.bin/mandoc/man.h +++ b/usr.bin/mandoc/man.h @@ -1,4 +1,4 @@ -/* $Id: man.h,v 1.3 2009/06/18 23:34:53 schwarze Exp $ */ +/* $Id: man.h,v 1.4 2009/06/23 22:31:26 schwarze 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; |