diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-02 12:54:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-02 12:54:33 +0000 |
commit | de81475355220cd15315b1eb9c0a33ce571ac512 (patch) | |
tree | 8fbf9592beb0a0a290b0ebaf537f2d2654031ee5 /mdoc.h | |
parent | 869286ca79b58cee9a78aae60175b751a96ea4ea (diff) | |
download | mandoc-de81475355220cd15315b1eb9c0a33ce571ac512.tar.gz |
Stash `Bf' parameters into struct mdoc_bf.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -279,6 +279,13 @@ enum mdoc_disp { DISP_literal }; +enum mdoc_font { + FONT__NONE = 0, + FONT_Em, + FONT_Li, + FONT_Sy +}; + struct mdoc_bd { const char *offs; /* -offset */ enum mdoc_disp type; /* -ragged, etc. */ @@ -292,6 +299,10 @@ struct mdoc_bl { int comp; /* -compact */ }; +struct mdoc_bf { + enum mdoc_font font; /* font */ +}; + /* Node in AST. */ struct mdoc_node { struct mdoc_node *parent; /* parent AST node */ @@ -321,8 +332,9 @@ struct mdoc_node { enum mdoc_endbody end; /* BODY */ union { - struct mdoc_bl *Bl; struct mdoc_bd *Bd; + struct mdoc_bf *Bf; + struct mdoc_bl *Bl; } data; }; |