diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 16:11:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 16:11:14 +0000 |
commit | e653c8089f13da940f3273f95fca6e7098852332 (patch) | |
tree | e19a75aef0ae2a0f694afc55e78b9a8dc54e5a3f /mdoc.h | |
parent | af139bb8a38b36a5e3c8b1ce4b6455e65fcbb2e5 (diff) | |
download | mandoc-e653c8089f13da940f3273f95fca6e7098852332.tar.gz |
Finished initial parse sequence.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -265,6 +265,7 @@ enum mdoc_type { MDOC_TEXT, MDOC_ELEM, MDOC_HEAD, + MDOC_TAIL, MDOC_BODY, MDOC_BLOCK }; @@ -376,8 +377,10 @@ struct mdoc_block { }; struct mdoc_head { - size_t sz; - char **args; + int tok; +}; + +struct mdoc_tail { int tok; }; @@ -398,6 +401,7 @@ union mdoc_data { struct mdoc_elem elem; struct mdoc_body body; struct mdoc_head head; + struct mdoc_tail tail; struct mdoc_block block; }; |