diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-03 16:38:50 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-03 16:38:50 +0000 |
commit | 5fbd74dfef97a428e2aba8bb9cd08a7a0f97d1a9 (patch) | |
tree | adc04667be4edbe4ef7b50ec1be156f123305e7b /pbx/ael/ael.y | |
parent | bc6ca5127d543801fb9a86579f4200e584dae84e (diff) |
remove a useless nonterminal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24429 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r-- | pbx/ael/ael.y | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y index a7bd7108a..1f1799d1f 100644 --- a/pbx/ael/ael.y +++ b/pbx/ael/ael.y @@ -118,7 +118,6 @@ static pval *update_last(pval *, YYLTYPE *); /* XXX lr changes */ %type <pval>opt_else %type <pval>elements_block -%type <pval>switchlist_block %type <pval>timespec %type <pval>included_entry @@ -167,7 +166,7 @@ static pval *update_last(pval *, YYLTYPE *); ignorepat element elements arglist assignment global_statements globals macro context object objects opt_else - elements_block switchlist_block + elements_block timespec included_entry %destructor { free($$);} word word_list goto_word word3_list opt_word context_name @@ -568,17 +567,14 @@ macro_statement : statement {$$=$1;} $$->u2.statements = $4;} ; -switches : KW_SWITCHES switchlist_block { +switches : KW_SWITCHES LC switchlist RC { $$ = npval2(PV_SWITCHES, &@1, &@2); - $$->u1.list = $2; } + $$->u1.list = $3; } ; -eswitches : KW_ESWITCHES switchlist_block { +eswitches : KW_ESWITCHES LC switchlist RC { $$ = npval2(PV_ESWITCHES, &@1, &@2); - $$->u1.list = $2; } - ; - -switchlist_block : LC switchlist RC { $$ = $2; } + $$->u1.list = $3; } ; switchlist : /* empty */ { $$ = NULL; } |