aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn_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
commitb84bd4ac18eff0a7d806eaa88660b64abf998cf2 (patch)
treea2ab8260e46e4b33b1b1ddbfbe4d576fe52defb2 /eqn_html.c
parentd806944940b787e24fae0b8cd31a3b81855822b7 (diff)
downloadmandoc-b84bd4ac18eff0a7d806eaa88660b64abf998cf2.tar.gz
mandoc-b84bd4ac18eff0a7d806eaa88660b64abf998cf2.tar.zst
mandoc-b84bd4ac18eff0a7d806eaa88660b64abf998cf2.zip
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 'eqn_html.c')
0 files changed, 0 insertions, 0 deletions