From 7fc8bcc7ce494daa94a0e6fced0c1d78947c2125 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 10 Jan 2017 13:47:00 +0000 Subject: unify names of AST node flags; no change of cpp output --- tree.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tree.c') diff --git a/tree.c b/tree.c index 2e85727b..ec8f6045 100644 --- a/tree.c +++ b/tree.c @@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.70 2017/01/10 12:53:08 schwarze Exp $ */ +/* $Id: tree.c,v 1.71 2017/01/10 13:47:00 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015 Ingo Schwarze @@ -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'); } -- cgit v1.2.3-56-ge451