diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-02 15:03:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-02 15:03:14 +0000 |
commit | 04c0fb6aedd8b530745e03f63c8b188e7d2c7466 (patch) | |
tree | e3a52de1d3ede9a6386351492d792dad43688a99 /mdoc.h | |
parent | 63ed1f431a924feaf23069c7881c2520fbc991ae (diff) | |
download | mandoc-04c0fb6aedd8b530745e03f63c8b188e7d2c7466.tar.gz |
Cached `An' arguments in struct mdoc_an. Note that this isn't a
pointer like the other data members, as there's no need to copy it around.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -279,6 +279,12 @@ enum mdoc_disp { DISP_literal }; +enum mdoc_auth { + AUTH__NONE = 0, + AUTH_split, + AUTH_nosplit +}; + enum mdoc_font { FONT__NONE = 0, FONT_Em, @@ -303,6 +309,10 @@ struct mdoc_bf { enum mdoc_font font; /* font */ }; +struct mdoc_an { + enum mdoc_auth auth; /* -split, etc. */ +}; + /* Node in AST. */ struct mdoc_node { struct mdoc_node *parent; /* parent AST node */ @@ -332,6 +342,7 @@ struct mdoc_node { enum mdoc_endbody end; /* BODY */ union { + struct mdoc_an An; struct mdoc_bd *Bd; struct mdoc_bf *Bf; struct mdoc_bl *Bl; |