[exim-dev] [Bug 167] Make "true" and "false" valid expansion…

Top Pagina
Delete this message
Reply to this message
Auteur: Jakob Hirsch
Datum:  
Aan: exim-dev
Onderwerp: [exim-dev] [Bug 167] Make "true" and "false" valid expansion conditions
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=167




--- Comment #18 from Jakob Hirsch <jh.exim-bugzilla@???> 2008-09-16 08:40:51 ---
(In reply to comment #16)
> What do you think of wrapping the generic condition in bare braces, i.e.
> eliminating the bool keyword? So the following would be roughly equivalent...


Shouldn't we make this consistent with "def:"? Otherwise it would be new
syntax.
Like that:

${if bool:some_var {do-if-true...} {do-if-false...}}

and

${if and {{bool:some_var} {bool:another_var}} {do-if-true...} {do-if-false...}}

Same applies to the other syntax ${if bool {$some_var}...}.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email