diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-19 14:00:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-19 14:00:19 +0000 |
commit | 0e017743181b76a26d2758234eb98fc736acc722 (patch) | |
tree | 7ba171af8115765e30ae82c5cb2744c4f99fbf0b /man_term.c | |
parent | 8b443f186e2557df92e04f3b82a2ce9d2011cb7e (diff) | |
download | mandoc-0e017743181b76a26d2758234eb98fc736acc722.tar.gz mandoc-0e017743181b76a26d2758234eb98fc736acc722.tar.zst mandoc-0e017743181b76a26d2758234eb98fc736acc722.zip |
Decouple the token code for "no request or macro" from the individual
high-level parsers to allow further unification of functions that
only need to recognize this code, but that don't care about different
high-level macrosets beyond that.
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.181 2015/04/18 17:53:21 schwarze Exp $ */ +/* $Id: man_term.c,v 1.182 2015/04/19 14:00:19 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -756,7 +756,7 @@ pre_SS(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_SS && n->body->child == NULL)) break; |