diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-15 14:10:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-15 14:10:08 +0000 |
commit | f5092a4e085c3ab07292c7c0cc94535aa747b884 (patch) | |
tree | c2a1209948516dc387205c7bb2603fa3d4d8f7bc /man_term.c | |
parent | a0500c3d4259db15e5b11c0d7cded19840efa3e5 (diff) | |
download | mandoc-f5092a4e085c3ab07292c7c0cc94535aa747b884.tar.gz mandoc-f5092a4e085c3ab07292c7c0cc94535aa747b884.tar.zst mandoc-f5092a4e085c3ab07292c7c0cc94535aa747b884.zip |
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 'man_term.c')
-rw-r--r-- | man_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.190 2017/02/11 21:49:50 schwarze Exp $ */ +/* $Id: man_term.c,v 1.191 2017/02/15 14:10:08 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -822,7 +822,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; |