summaryrefslogtreecommitdiffstats
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 11:58:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 11:58:22 +0000
commit9182860daa80b4a3002521ca4fdbd780d009b616 (patch)
tree1b81397d2d235aab70575465e1b8dd9152d84674 /mdoc.h
parent16173bda3531a2bb54b45b2e327c8b7e2cf37fd6 (diff)
downloadmandoc-9182860daa80b4a3002521ca4fdbd780d009b616.tar.gz
`Bl' is now using a struct instead of a single enum mdoc_list for its
cached values. You can probably guess where this is going.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc.h b/mdoc.h
index def26d77..1145efc2 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -278,6 +278,10 @@ struct mdoc_bd {
int comp;
};
+struct mdoc_bl {
+ enum mdoc_list type;
+};
+
/* Node in AST. */
struct mdoc_node {
struct mdoc_node *parent; /* parent AST node */
@@ -305,7 +309,7 @@ struct mdoc_node {
char *string; /* TEXT */
union {
- enum mdoc_list list; /* `Bl' nodes */
+ struct mdoc_bl Bl;
struct mdoc_bd Bd;
} data;
};