groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] condition: OR of two string comparisons


From: Tadziu Hoffmann
Subject: Re: [Groff] condition: OR of two string comparisons
Date: Sun, 16 Nov 2014 15:17:14 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

> [...] maybe we should bear in mind having a .elif and .else
> too that don't need the .ifx to be .iex.

I don't think that's possible.  Since the code can't look ahead,
it will not know whether an else is coming or not, so the "if"
has to know whether (.ie) or not (.if) to save the test outcome
for a following "else".  Else we needlessly fill up the stack,
which is simply bad design.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]