summaryrefslogtreecommitdiff
path: root/pbx/ael/ael.y
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-05-02 20:13:58 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-05-02 20:13:58 +0000
commit05d2b781327a3c5a58f2064bb14801ea15f0de30 (patch)
tree763af1f774d56eed036fb85e70fe04415f5cd8a4 /pbx/ael/ael.y
parent0e8e343e1f281cf3008effb9b088e1943de3a882 (diff)
one more instance of assignment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r--pbx/ael/ael.y5
1 files changed, 1 insertions, 4 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y
index 4e826169a..ccbb961d6 100644
--- a/pbx/ael/ael.y
+++ b/pbx/ael/ael.y
@@ -375,10 +375,7 @@ switch_head : KW_SWITCH test_expr LC {
statement : LC statements RC {
$$ = npval2(PV_STATEMENTBLOCK, &@1, &@3);
$$->u1.list = $2; }
- | word EQ {reset_semicount(parseio->scanner);} word SEMI {
- $$ = npval2(PV_VARDEC, &@1, &@5);
- $$->u1.str = $1;
- $$->u2.val = $4; }
+ | assignment { $$ = $1; }
| KW_GOTO target SEMI {
$$ = npval2(PV_GOTO, &@1, &@3);
$$->u1.list = $2;}