diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2010-06-30 04:05:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2010-06-30 04:05:02 +0000 |
commit | 25b3bcbde4cab98bd4a3175d20053187201d2dce (patch) | |
tree | 87ee4f656dcc58da214d2b0190916785fae6b479 /main.c | |
parent | 72452c8d8f8859768d309309a7ebca1cb366e063 (diff) | |
download | mandoc-25b3bcbde4cab98bd4a3175d20053187201d2dce.tar.gz |
Closing of full blocks (Bd Bf Bk Bl It Fo Nd Rs Sh Ss) may never be
delayed: It must either succeed right away or fail outright.
As noticed by Kristaps, neglecting to fail properly when required
could make invalid input screw up the syntax tree and ultimately
trigger assertions in other, unrelated parts of the program.
This fix tested by and OK by kristaps@.
While here, comment the rather tricky function rew_dohalt().
This function will probably need more tweaks later on.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions