summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/files.isa
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-10-12 19:10:56 +0000
committerschwarze <schwarze@openbsd.org>2014-10-12 19:10:56 +0000
commita4dfe1bc99e24ab50d253bf2a4b6af2da7547d2b (patch)
tree4c22bcd99d2bb1eec15850cc1aefb78808523198 /sys/dev/isa/files.isa
parentdo not allow header to termine with pending flags (diff)
downloadwireguard-openbsd-a4dfe1bc99e24ab50d253bf2a4b6af2da7547d2b.tar.xz
wireguard-openbsd-a4dfe1bc99e24ab50d253bf2a4b6af2da7547d2b.zip
Improve error handling in the eqn(7) parser.
Get rid of the first fatal error, MANDOCERR_EQNSYNT. In eqn(7), there is no need to be bug-compatible with groff, so there is no need to abondon the whole equation in case of a syntax error. In particular: * Skip "back", "delim", "down", "fwd", "gfont", "gsize", "left", "right", "size", and "up" without arguments. * Skip "gsize" and "size" with a non-numeric argument. * Skip closing delimiters that are not open. * Skip "above" outside piles. * For diacritic marks and binary operators without a left operand, default to an empty box. * Let piles and matrices take one argument rather than insisting on a braced list. Let HTML output handle that, too. * When rewinding, if the root box is guaranteed to match the termination condition, no error handling is needed.
Diffstat (limited to 'sys/dev/isa/files.isa')
0 files changed, 0 insertions, 0 deletions