From f5092a4e085c3ab07292c7c0cc94535aa747b884 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 15 Feb 2017 14:10:08 +0000 Subject: 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. --- man_term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index 0db372c4..b2732d45 100644 --- a/man_term.c +++ b/man_term.c @@ -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 * Copyright (c) 2010-2015, 2017 Ingo Schwarze @@ -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; -- cgit v1.2.3