diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-08 04:43:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-08 04:43:54 +0000 |
commit | bdbb7d0355bd86cdd2bcaf08293edf32a911ebe5 (patch) | |
tree | 783b4adb0fd04a6698a987dd2282e5f9805dc654 /read.c | |
parent | d3bc35e0fd4d9bed56d9663c0b330ceac96e4a9f (diff) | |
download | mandoc-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 'read.c')
0 files changed, 0 insertions, 0 deletions