diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 13:18:24 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 13:18:24 +0000 |
commit | d98b3838b2d49efc6220b1dc7bdb995e37cd4d10 (patch) | |
tree | 78b6d8a9ac3e4bf00688322b73cc0728f1ee1fa1 /mandoc.h | |
parent | 5bbaf34f67268b1270c7dd46448c7cf7556805f8 (diff) | |
download | mandoc-d98b3838b2d49efc6220b1dc7bdb995e37cd4d10.tar.gz |
Add support for markers. These decorate the last box: see eqn.7.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -285,6 +285,19 @@ enum eqn_boxt { EQN_SUBEXPR /* nested subexpression */ }; +enum eqn_markt { + EQNMARK_NONE = 0, + EQNMARK_DOT, + EQNMARK_DOTDOT, + EQNMARK_HAT, + EQNMARK_TILDE, + EQNMARK_VEC, + EQNMARK_DYAD, + EQNMARK_BAR, + EQNMARK_UNDER, + EQNMARK__MAX +}; + /* * A "box" is a parsed mathematical expression as defined by the eqn.7 * grammar. @@ -294,6 +307,7 @@ struct eqn_box { struct eqn_box *child; /* child node */ struct eqn_box *next; /* next in tree */ char *text; /* text (or NULL) */ + enum eqn_markt mark; /* whether 'marked' */ }; struct eqn { |