summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-10 13:47:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-10 13:47:00 +0000
commit8d7c45893d14200cf487664ea9966f4c64db548d (patch)
tree1d3d7493d7bb10da3b43ff578cf8b4808127d552 /mdoc_validate.c
parentb0911daecba940ec62df1e631a2f8a01d7ffe641 (diff)
downloadmandoc-8d7c45893d14200cf487664ea9966f4c64db548d.tar.gz
unify names of AST node flags; no change of cpp output
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index a6225b49..b41125a5 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -317,9 +317,9 @@ mdoc_node_validate(struct roff_man *mdoc)
*/
if (n->child != NULL)
- n->child->flags &= ~MDOC_DELIMC;
+ n->child->flags &= ~NODE_DELIMC;
if (n->last != NULL)
- n->last->flags &= ~MDOC_DELIMO;
+ n->last->flags &= ~NODE_DELIMO;
/* Call the macro's postprocessor. */
@@ -1555,7 +1555,7 @@ static void
post_ns(POST_ARGS)
{
- if (mdoc->last->flags & MDOC_LINE)
+ if (mdoc->last->flags & NODE_LINE)
mandoc_msg(MANDOCERR_NS_SKIP, mdoc->parse,
mdoc->last->line, mdoc->last->pos, NULL);
}