diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-20 02:01:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-20 02:01:31 +0000 |
commit | 8a6d6ac9ce00755e9537a67b9a9dd8f4c4e76d09 (patch) | |
tree | cfc8f856e7b5ebdcad65963f0d3ad74169858e29 /roff_int.h | |
parent | 128ee8c8e1032e5e05f88acbd4000c8166085b25 (diff) | |
download | mandoc-8a6d6ac9ce00755e9537a67b9a9dd8f4c4e76d09.tar.gz mandoc-8a6d6ac9ce00755e9537a67b9a9dd8f4c4e76d09.tar.zst mandoc-8a6d6ac9ce00755e9537a67b9a9dd8f4c4e76d09.zip |
In order to become able to generate syntax tree nodes on the roff(7)
level, validation must be separated from parsing and rewinding.
This first big step moves calling of the mdoc(7) post_*() functions
out of the parser loop into their own mdoc_validate() pass, while
using a new mdoc_state() module to make syntax tree state handling
available to both the parser loop and the validation pass.
Diffstat (limited to 'roff_int.h')
-rw-r--r-- | roff_int.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: roff_int.h,v 1.3 2015/04/19 14:57:38 schwarze Exp $ */ +/* $Id: roff_int.h,v 1.4 2015/10/20 02:01:32 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -43,7 +43,6 @@ void man_breakscope(struct roff_man *, int); void man_valid_post(struct roff_man *); void mdoc_valid_pre(struct roff_man *, struct roff_node *); -void mdoc_valid_post(struct roff_man *); void mdoc_argv_free(struct mdoc_arg *); __END_DECLS |