diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-12 11:58:22 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-12 11:58:22 +0000 |
commit | 9182860daa80b4a3002521ca4fdbd780d009b616 (patch) | |
tree | 1b81397d2d235aab70575465e1b8dd9152d84674 /mdoc.h | |
parent | 16173bda3531a2bb54b45b2e327c8b7e2cf37fd6 (diff) | |
download | mandoc-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; }; |