summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 16:04:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 16:04:48 +0000
commit08c41144962e9ec1a320addcf4b53dd63eb0a26c (patch)
treea4490d5fd67105d44be8621aab8018c614d24282
parent61de62274379bce7c675d463967d54b8b0762829 (diff)
downloadmandoc-08c41144962e9ec1a320addcf4b53dd63eb0a26c.tar.gz
Minor documentation.
-rw-r--r--macro.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/macro.c b/macro.c
index ee53ef7d..263c2d5a 100644
--- a/macro.c
+++ b/macro.c
@@ -713,6 +713,8 @@ macro_scoped(MACRO_PROT_ARGS)
assert ( ! (MDOC_CALLABLE & mdoc_macros[tok].flags));
+ /* First rewind extant implicit scope. */
+
if ( ! (MDOC_EXPLICIT & mdoc_macros[tok].flags)) {
if ( ! rewind_subblock(MDOC_BODY, mdoc, tok, line, ppos))
return(0);
@@ -720,6 +722,8 @@ macro_scoped(MACRO_PROT_ARGS)
return(0);
}
+ /* Parse arguments. */
+
for (argc = 0; argc < MDOC_LINEARG_MAX; argc++) {
lastarg = *pos;
c = mdoc_argv(mdoc, line, tok, &argv[argc], pos, buf);