summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-02-15 14:09:08 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-02-15 14:09:08 +0000
commit149f3cac44b272f07363ab4cb015e844a5c5d293 (patch)
treee7b9ebb883f7bbc75b43e24722e49ed59f4037ad /usr.bin
parent9bcc51a94aec84b100b5fcadc80553581b1b55ef (diff)
Fix previous: I forgot that i had to change the convention how
a node is marked as "not a macro" when unifying the parsers. Confirmed to work by Sevan Janiyan.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/man_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c
index 1594f3312f8..a4dfb648e99 100644
--- a/usr.bin/mandoc/man_term.c
+++ b/usr.bin/mandoc/man_term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: man_term.c,v 1.143 2017/02/11 21:49:43 schwarze Exp $ */
+/* $OpenBSD: man_term.c,v 1.144 2017/02/15 14:09:07 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -820,7 +820,7 @@ pre_SH(DECL_ARGS)
do {
n = n->prev;
- } while (n != NULL && n->tok < MAN_MAX &&
+ } while (n != NULL && n->tok != TOKEN_NONE &&
termacts[n->tok].flags & MAN_NOTEXT);
if (n == NULL || (n->tok == MAN_SH && n->body->child == NULL))
break;