diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-03 16:37:14 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-03 16:37:14 +0000 |
commit | bc6ca5127d543801fb9a86579f4200e584dae84e (patch) | |
tree | 9c230e79efa4b0e05f6b4d9b8a4b1395644a39a0 /pbx/ael/ael.y | |
parent | cb2e7e5fe0e8aa10e1ae005d7451e34379d106e3 (diff) |
more simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24428 f38db490-d61c-443f-a65b-d21fe96a405b
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;} ; |