summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-04-24 16:28:49 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-04-24 16:28:49 +0000
commitec07857083a37a02ba8a47859b2d5c415d7b6820 (patch)
tree93ec1e8bc0cd92430829f6b765a4bfeb258c5083 /usr.bin/mandoc
parent8f4d5715119f71fe84fabe1ac036212fb9cd6dd4 (diff)
User defined macros may invoke high-level macros.
The latter got lost due to a regression in bsd.lv rev. 1.130.
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/roff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c
index 74bb83e368a..6cf1164ba45 100644
--- a/usr.bin/mandoc/roff.c
+++ b/usr.bin/mandoc/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.35 2011/04/24 16:22:02 schwarze Exp $ */
+/* $Id: roff.c,v 1.36 2011/04/24 16:28:48 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -825,8 +825,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