summaryrefslogtreecommitdiffstats
path: root/roff.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 16:28:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 16:28:23 +0000
commit290ee584e6797390d16f3ef4c49a9dadcbda3001 (patch)
tree218138182579906f38672a96e3c916f5f0e8324b /roff.7
parent4798ad5268f825b6268dfc891ec2fa411f164558 (diff)
downloadmandoc-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 'roff.7')
0 files changed, 0 insertions, 0 deletions