mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
add conditional operator to expression parser, and various cleanups (bug #4459)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -518,6 +518,12 @@ of possible concern with "legacy" extension.conf files:
|
||||
** match anywhere in the string. The only diff with the ':' is that
|
||||
** match doesn't have to be anchored to the beginning of the string.
|
||||
|
||||
**9. Added the conditional operator 'expr1 ? true_expr :: false_expr'
|
||||
** First, all 3 exprs are evaluated, and if expr1 is false, the 'false_expr'
|
||||
** is returned as the result. See above for details.
|
||||
|
||||
**10. Unary operators '-' and '!' were made right associative.
|
||||
|
||||
--------------------------------------------------------
|
||||
DEBUGGING HINTS FOR $[ ] EXPRESSIONS
|
||||
--------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user