diff options
author | 2010-12-01 16:28:23 +0000 | |
---|---|---|
committer | 2010-12-01 16:28:23 +0000 | |
commit | 0a046d18c4826bf5ad3f6c63da7f9469c43d26e1 (patch) | |
tree | 11eed7a7034f82e68c59afa8fc52efdb2c17a773 /external.png | |
parent | aaa622a8952d4f33ec6491e01e3ad46ec33bb809 (diff) | |
download | mandoc-0a046d18c4826bf5ad3f6c63da7f9469c43d26e1.tar.gz mandoc-0a046d18c4826bf5ad3f6c63da7f9469c43d26e1.tar.zst mandoc-0a046d18c4826bf5ad3f6c63da7f9469c43d26e1.zip |
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 'external.png')
0 files changed, 0 insertions, 0 deletions