version 1.115, 2012/01/05 00:43:51 |
version 1.118, 2012/11/16 13:40:36 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2010, 2012 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 738 blk_exp_close(MACRO_PROT_ARGS) |
|
Line 738 blk_exp_close(MACRO_PROT_ARGS) |
|
if (later && |
if (later && |
MDOC_EXPLICIT & mdoc_macros[later->tok].flags) |
MDOC_EXPLICIT & mdoc_macros[later->tok].flags) |
continue; |
continue; |
if (MDOC_CALLABLE & mdoc_macros[n->tok].flags) |
if (MDOC_It != n->tok) |
later = n; |
later = n; |
} |
} |
|
|
Line 1358 blk_part_imp(MACRO_PROT_ARGS) |
|
Line 1358 blk_part_imp(MACRO_PROT_ARGS) |
|
|
|
if (n && ! rew_sub(MDOC_BLOCK, m, tok, line, ppos)) |
if (n && ! rew_sub(MDOC_BLOCK, m, tok, line, ppos)) |
return(0); |
return(0); |
|
|
|
/* Move trailing .Ns out of scope. */ |
|
|
|
for (n = body->child; n && n->next; n = n->next) |
|
/* Do nothing. */ ; |
|
if (n && MDOC_Ns == n->tok) |
|
mdoc_node_relink(m, n); |
|
|
return(1); |
return(1); |
} |
} |