diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-10 13:47:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-10 13:47:00 +0000 |
commit | 8d7c45893d14200cf487664ea9966f4c64db548d (patch) | |
tree | 1d3d7493d7bb10da3b43ff578cf8b4808127d552 /tree.c | |
parent | b0911daecba940ec62df1e631a2f8a01d7ffe641 (diff) | |
download | mandoc-8d7c45893d14200cf487664ea9966f4c64db548d.tar.gz |
unify names of AST node flags; no change of cpp output
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -159,14 +159,14 @@ print_mdoc(const struct roff_node *n, int indent) } putchar(' '); - if (MDOC_DELIMO & n->flags) + if (NODE_DELIMO & n->flags) putchar('('); - if (MDOC_LINE & n->flags) + if (NODE_LINE & n->flags) putchar('*'); printf("%d:%d", n->line, n->pos + 1); - if (MDOC_DELIMC & n->flags) + if (NODE_DELIMC & n->flags) putchar(')'); - if (MDOC_EOS & n->flags) + if (NODE_EOS & n->flags) putchar('.'); if (NODE_NOSRC & n->flags) printf(" NOSRC"); @@ -252,10 +252,10 @@ print_man(const struct roff_node *n, int indent) for (i = 0; i < indent; i++) putchar(' '); printf("%s (%s) ", p, t); - if (MAN_LINE & n->flags) + if (NODE_LINE & n->flags) putchar('*'); printf("%d:%d", n->line, n->pos + 1); - if (MAN_EOS & n->flags) + if (NODE_EOS & n->flags) putchar('.'); putchar('\n'); } |