diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-10-09 15:21:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-10-09 15:21:47 +0000 |
commit | a6350ffc4df7591ae5b3aa44a9d9933ceab23414 (patch) | |
tree | 474aca047213348dd5681af85f9fa9295c144146 /usr.bin/mandoc/mandoc.h | |
parent | f81a1189b760b302bc6406b047ada4fc05935d70 (diff) |
parse simultaneous sub- and superscripts
and make the eqn_box list doubly linked;
written by kristaps@ during EuroBSDCon
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r-- | usr.bin/mandoc/mandoc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h index 9a139ffe36f..c1c873dfba3 100644 --- a/usr.bin/mandoc/mandoc.h +++ b/usr.bin/mandoc/mandoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mandoc.h,v 1.100 2014/09/12 00:53:21 schwarze Exp $ */ +/* $OpenBSD: mandoc.h,v 1.101 2014/10/09 15:21:46 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -336,6 +336,7 @@ enum eqn_post { EQNPOS_NONE = 0, EQNPOS_OVER, EQNPOS_SUP, + EQNPOS_SUBSUP, EQNPOS_SUB, EQNPOS_TO, EQNPOS_FROM, @@ -366,6 +367,7 @@ struct eqn_box { struct eqn_box *first; /* first child node */ struct eqn_box *last; /* last child node */ struct eqn_box *next; /* node sibling */ + struct eqn_box *prev; /* node sibling */ struct eqn_box *parent; /* node sibling */ char *text; /* text (or NULL) */ char *left; |