diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-03 17:00:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-03 17:00:52 +0000 |
commit | 1836f1200e62a14bb66082294fd8b074d788ea7a (patch) | |
tree | bc741ada53c99250d88054dbf5bdc8253b6b7407 | |
parent | 0c21d1c8c1bb268a19ad34087970b45ef88f2936 (diff) | |
download | mandoc-1836f1200e62a14bb66082294fd8b074d788ea7a.tar.gz |
It turns out the man(7) parser suffers from unintelligible handling
of block rewinding, just like then mdoc(7) parser did.
First step in getting rid of rew_scope():
Replace the only call where the target block is known.
This commit is analogous to mdoc_macro.c rev. 1.167.
One down, three to go.
-rw-r--r-- | man_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man_macro.c b/man_macro.c index 74f962aa..d030360f 100644 --- a/man_macro.c +++ b/man_macro.c @@ -401,7 +401,7 @@ blk_imp(MACRO_PROT_ARGS) /* Close out the head and open the body. */ - rew_scope(ROFFT_HEAD, man, tok); + man_unscope(man, n); man_body_alloc(man, line, ppos, tok); } |