summaryrefslogtreecommitdiffstats
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-26 14:56:27 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-26 14:56:27 +0000
commit69eda203817e9dc1f6bf992ff8af90702f812b24 (patch)
tree8de43f7f541717ff9ad65a09eb8fa558824f8d42 /macro.c
parent854c97785aa7622023610b070d91abae644ed473 (diff)
downloadmandoc-69eda203817e9dc1f6bf992ff8af90702f812b24.tar.gz
Lists (scoped elements) now put delims in-scope.
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/macro.c b/macro.c
index b1f25505..4b2caf26 100644
--- a/macro.c
+++ b/macro.c
@@ -921,11 +921,8 @@ macro_scoped(MACRO_PROT_ARGS)
if (ARGS_ERROR == c)
return(0);
- if (ARGS_PUNCT == c)
- break;
if (ARGS_EOLN == c)
break;
-
if (ARGS_PHRASE == c) {
/*
if ( ! mdoc_phrase(mdoc, line, lastarg, buf))
@@ -952,10 +949,10 @@ macro_scoped(MACRO_PROT_ARGS)
break;
}
- if ( ! rewind_subblock(MDOC_HEAD, mdoc, tok, line, ppos))
- return(0);
if (1 == ppos && ! append_delims(mdoc, line, pos, buf))
return(0);
+ if ( ! rewind_subblock(MDOC_HEAD, mdoc, tok, line, ppos))
+ return(0);
if ( ! mdoc_body_alloc(mdoc, line, ppos, tok))
return(0);