summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mandoc/man.h')
-rw-r--r--usr.bin/mandoc/man.h6
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;