=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/roff.c,v retrieving revision 1.156 retrieving revision 1.157 diff -c -r1.156 -r1.157 *** src/usr.bin/mandoc/roff.c 2016/01/08 17:48:04 1.156 --- src/usr.bin/mandoc/roff.c 2017/01/10 13:46:53 1.157 *************** *** 1,4 **** ! /* $OpenBSD: roff.c,v 1.156 2016/01/08 17:48:04 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2010-2015 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: roff.c,v 1.157 2017/01/10 13:46:53 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2010-2015 Ingo Schwarze *************** *** 989,999 **** n->sec = man->lastsec; if (man->flags & MDOC_SYNOPSIS) ! n->flags |= MDOC_SYNPRETTY; else ! n->flags &= ~MDOC_SYNPRETTY; if (man->flags & MDOC_NEWLINE) ! n->flags |= MDOC_LINE; man->flags &= ~MDOC_NEWLINE; return n; --- 989,999 ---- n->sec = man->lastsec; if (man->flags & MDOC_SYNOPSIS) ! n->flags |= NODE_SYNPRETTY; else ! n->flags &= ~NODE_SYNPRETTY; if (man->flags & MDOC_NEWLINE) ! n->flags |= NODE_LINE; man->flags &= ~MDOC_NEWLINE; return n; *************** *** 1058,1066 **** n->string = roff_strdup(man->roff, word); roff_node_append(man, n); if (man->macroset == MACROSET_MDOC) ! n->flags |= MDOC_VALID | MDOC_ENDED; else ! n->flags |= MAN_VALID; man->next = ROFF_NEXT_SIBLING; } --- 1058,1066 ---- n->string = roff_strdup(man->roff, word); roff_node_append(man, n); if (man->macroset == MACROSET_MDOC) ! n->flags |= NODE_VALID | NODE_ENDED; else ! n->flags |= NODE_VALID; man->next = ROFF_NEXT_SIBLING; } *************** *** 1130,1136 **** n = roff_node_alloc(man, eqn->ln, eqn->pos, ROFFT_EQN, TOKEN_NONE); n->eqn = eqn; if (eqn->ln > man->last->line) ! n->flags |= MDOC_LINE; roff_node_append(man, n); man->next = ROFF_NEXT_SIBLING; } --- 1130,1136 ---- n = roff_node_alloc(man, eqn->ln, eqn->pos, ROFFT_EQN, TOKEN_NONE); n->eqn = eqn; if (eqn->ln > man->last->line) ! n->flags |= NODE_LINE; roff_node_append(man, n); man->next = ROFF_NEXT_SIBLING; } *************** *** 1146,1154 **** n->span = tbl; roff_node_append(man, n); if (man->macroset == MACROSET_MDOC) ! n->flags |= MDOC_VALID | MDOC_ENDED; else ! n->flags |= MAN_VALID; man->next = ROFF_NEXT_SIBLING; } --- 1146,1154 ---- n->span = tbl; roff_node_append(man, n); if (man->macroset == MACROSET_MDOC) ! n->flags |= NODE_VALID | NODE_ENDED; else ! n->flags |= NODE_VALID; man->next = ROFF_NEXT_SIBLING; }