summaryrefslogtreecommitdiffstats
path: root/man_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-06-18 17:36:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-06-18 17:36:52 +0000
commit56635f91688db2f5e34654a48a7297984673b807 (patch)
tree5e107a80c76ee6aa9df13e164f574c8a4ad94c72 /man_macro.c
parent62c13020786d9253993bfb33adb6d6499e650572 (diff)
downloadmandoc-56635f91688db2f5e34654a48a7297984673b807.tar.gz
Allow RS/RE blocks to nest. This requires first the syntax tree to
accomodate for the fix, then for the front-ends. -T[x]html accepted the syntax tree natively, but -Tascii had to use relative offsets. It's quite a simple fix. From a TODO by {dcoppa,dsoares}@openbsd.
Diffstat (limited to 'man_macro.c')
-rw-r--r--man_macro.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/man_macro.c b/man_macro.c
index aff3fb00..e320a6e2 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -307,11 +307,6 @@ blk_exp(MACRO_PROT_ARGS)
* anywhere.
*/
- if ( ! rew_scope(MAN_BODY, m, tok))
- return(0);
- if ( ! rew_scope(MAN_BLOCK, m, tok))
- return(0);
-
if ( ! man_block_alloc(m, line, ppos, tok))
return(0);
if ( ! man_head_alloc(m, line, ppos, tok))