diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-06-18 17:36:52 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-06-18 17:36:52 +0000 |
commit | 55d8e28ac565dbc5aecfd860a4d3fe6a7ac99c72 (patch) | |
tree | 7f64e9408bf7c65f4315b5f4fe84842d45fe00bd /man_macro.c | |
parent | 6def9e6849d2a7530ac499cd2b141353134283ac (diff) | |
download | mandoc-55d8e28ac565dbc5aecfd860a4d3fe6a7ac99c72.tar.gz mandoc-55d8e28ac565dbc5aecfd860a4d3fe6a7ac99c72.tar.zst mandoc-55d8e28ac565dbc5aecfd860a4d3fe6a7ac99c72.zip |
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.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 <kristaps@bsd.lv> * @@ -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)) |