CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/06/29 21:57:50
Modified files:
usr.bin/mandoc : mdoc_macro.c
Log message:
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 krist...@.
While here, comment the rather tricky function rew_dohalt().
This function will probably need more tweaks later on.