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 | 305a1c805ebbdca0c2e2de3a301a7f6759d2e200 (patch) | |
tree | a2ceb4a968963c27576e246394c6c007722311cf /mdoc.h | |
parent | 9e1c8c4504be3ee8555871134f21b59fba7bd8ac (diff) | |
download | mandoc-305a1c805ebbdca0c2e2de3a301a7f6759d2e200.tar.gz mandoc-305a1c805ebbdca0c2e2de3a301a7f6759d2e200.tar.zst mandoc-305a1c805ebbdca0c2e2de3a301a7f6759d2e200.zip |
`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 | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.85 2010/06/12 11:21:44 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.86 2010/06/12 11:58:22 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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; }; |