aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-19 14:00:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-19 14:00:19 +0000
commit0e017743181b76a26d2758234eb98fc736acc722 (patch)
tree7ba171af8115765e30ae82c5cb2744c4f99fbf0b /man_term.c
parent8b443f186e2557df92e04f3b82a2ce9d2011cb7e (diff)
downloadmandoc-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_term.c b/man_term.c
index 08a87f0f..2ab8ea3e 100644
--- a/man_term.c
+++ b/man_term.c
@@ -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;