diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-11-09 14:39:49 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-11-09 14:39:49 +0000 |
commit | 819bd5dd19d9092c954577c8f97cf66eda73ed2e (patch) | |
tree | 7d50c7dd28b6bd80957a35892f273e44950901ed /compat_strsep.c | |
parent | e09d59cf42439508d8f8215526891a754c5e4ebd (diff) | |
download | mandoc-819bd5dd19d9092c954577c8f97cf66eda73ed2e.tar.gz |
In the past, generating comment nodes stopped at the .TH or .Dd
macro, which is usually close to the beginning of the file, right
after the Copyright header comments. But espie@ found horrible
input files in the textproc/fstrcmp port that generate lots of parse
nodes before even getting to the header macro. In some formatters,
comment nodes after some kinds of real content triggered assertions.
So make sure generation of comment nodes stops once real content is
encountered.
Diffstat (limited to 'compat_strsep.c')
0 files changed, 0 insertions, 0 deletions