aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-04-24 23:51:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-04-24 23:51:17 +0000
commit38e9ca6f18d04678d360f464a272f9866b42e4a4 (patch)
treebf1429e93479982e858fb47f2610f5e61b8ea034 /roff.c
parent881f9b6e8cbd464bdb735222d3a2781bb49bd493 (diff)
downloadmandoc-38e9ca6f18d04678d360f464a272f9866b42e4a4.tar.gz
mandoc-38e9ca6f18d04678d360f464a272f9866b42e4a4.tar.zst
mandoc-38e9ca6f18d04678d360f464a272f9866b42e4a4.zip
User defined macros may invoke high-level macros.
The latter got lost due to a regression in rev. 1.130. ok kristaps@
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/roff.c b/roff.c
index 2029bd48..bb612385 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.136 2011/04/19 16:38:48 kristaps Exp $ */
+/* $Id: roff.c,v 1.137 2011/04/24 23:51:17 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -829,8 +829,7 @@ roff_block_sub(ROFF_ARGS)
* pulling it out of the hashtable.
*/
- if (ROFF_MAX == (t = roff_parse(r, *bufp, &pos)))
- return(ROFF_IGN);
+ t = roff_parse(r, *bufp, &pos);
/*
* Macros other than block-end are only significant