diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 23:30:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 23:30:39 +0000 |
commit | 561fdaf67b6be484562a755697a834c21b10e4d9 (patch) | |
tree | 3f7792cc5662c919c2fc20e0490f6ec09d7e41a4 /libroff.h | |
parent | ff6ddfd72fee08b3063dffb618af31325e51beea (diff) | |
download | mandoc-561fdaf67b6be484562a755697a834c21b10e4d9.tar.gz |
Complete eqn.7 parsing. Features all productions from the original 1975
CACM paper in an LR(1) parse (1 -> eqn_rewind()). Right now the code is
a little jungly, but will clear up as I consolidate parse components.
The AST structure will also be cleaned up, as right now it's pretty ad
hoc (this won't change the parse itself). I added the mandoc_strndup()
function will here.
Diffstat (limited to 'libroff.h')
-rw-r--r-- | libroff.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ struct eqn_node { struct eqn_def *defs; size_t defsz; char *data; + size_t rew; size_t cur; size_t sz; struct eqn eqn; |