diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-05-03 16:37:14 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-05-03 16:37:14 +0000 |
commit | 49227c7ba1d8b3d8c4c76b531b360c465cee38d2 (patch) | |
tree | 9c230e79efa4b0e05f6b4d9b8a4b1395644a39a0 /pbx/ael/ael.y | |
parent | 7695df3896a212ceda53b26cf45e31fdc21f1b90 (diff) |
more simplifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r-- | pbx/ael/ael.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y index bf3e56061..a7bd7108a 100644 --- a/pbx/ael/ael.y +++ b/pbx/ael/ael.y @@ -579,11 +579,10 @@ eswitches : KW_ESWITCHES switchlist_block { ; switchlist_block : LC switchlist RC { $$ = $2; } - | LC RC { $$ = NULL; } ; -switchlist : word SEMI { $$ = nword($1, &@1); } - | switchlist word SEMI { $$ = linku1($1, nword($2, &@2)); } +switchlist : /* empty */ { $$ = NULL; } + | word SEMI switchlist { $$ = linku1(nword($1, &@1), $3); } | switchlist error {$$=$1;} ; |