diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 16:28:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 16:28:23 +0000 |
commit | 290ee584e6797390d16f3ef4c49a9dadcbda3001 (patch) | |
tree | 218138182579906f38672a96e3c916f5f0e8324b /mdoc.7 | |
parent | 4798ad5268f825b6268dfc891ec2fa411f164558 (diff) | |
download | mandoc-290ee584e6797390d16f3ef4c49a9dadcbda3001.tar.gz |
Fix a subtle error in the new main.c where the parse type (mdoc/man) was
being inherited during the parse sequence, making pset() meaningless.
Make sure that the mdoc/man curp pointer is set for each parse from a
persistent object.
This flushes out an obscure error where `man' pages called with `mdoc'
will parse and segfault due to a missing title. Never happened earlier
because `mdoc' pages were guaranteed to have a prologue. Fix this
later.
Also document the new main.c functions. Please make sure these sort of
things are documented! Throw in some whitespace to make things a bit
more readable.
Diffstat (limited to 'mdoc.7')
0 files changed, 0 insertions, 0 deletions