From 55d8e28ac565dbc5aecfd860a4d3fe6a7ac99c72 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 18 Jun 2011 17:36:52 +0000 Subject: 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. --- man_macro.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'man_macro.c') diff --git a/man_macro.c b/man_macro.c index 915648b4..c5a7d4ab 100644 --- a/man_macro.c +++ b/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.62 2011/04/19 16:38:48 kristaps Exp $ */ +/* $Id: man_macro.c,v 1.63 2011/06/18 17:36:52 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -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)) -- cgit v1.2.3