]> git.ipfire.org Git - thirdparty/asterisk.git/commit
(closes issue #13197)
authorSteve Murphy <murf@digium.com>
Wed, 30 Jul 2008 22:02:07 +0000 (22:02 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 30 Jul 2008 22:02:07 +0000 (22:02 +0000)
commitaaf314cf46886e907c6b9607cc665312f95f77d0
tree71464bb0d0881340b23edeaaf56e73175b679466
parentef03217c4bf6ecc6ffbacf6c24bff7e2707e182b
(closes issue #13197)
Reported by: pj

(closes issue #13051)
Reported by: pj

This patch substitutes commas in the expr
supplied to the if () statement, as in
if ( expr ) ...

This solves both the bugs above, and makes
the source symmetric with switch statements,
which were earlier reported to need this sort
of treatment.

I tested this using the examples, both for
the compiler and at run time. Looks good.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@134652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_ael.c