summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-08 04:43:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-08 04:43:54 +0000
commitbdbb7d0355bd86cdd2bcaf08293edf32a911ebe5 (patch)
tree783b4adb0fd04a6698a987dd2282e5f9805dc654 /html.c
parentd3bc35e0fd4d9bed56d9663c0b330ceac96e4a9f (diff)
downloadmandoc-bdbb7d0355bd86cdd2bcaf08293edf32a911ebe5.tar.gz
Improve .if/.ie condition handling.
* Support string comparisons. * Support negation not only for numerical, but for all conditions. * Switch the `o' condition from false to true. * Handle the `c', `d', and `r' conditions as false for now. * Use int for boolean data instead of rolling our own "enum roffrule"; needed such that we can use the standard ! and == operators. Havard Eidnes reported via the NetBSD bug tracking system that some Tcl*(3) manuals need this, and Thomas Klausner <wiz at NetBSD> forwarded the report to me. This doesn't make the crazy Tcl*(3) macrology maze happy yet, but brings us a bit closer.
Diffstat (limited to 'html.c')
0 files changed, 0 insertions, 0 deletions