mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 06:31:54 +00:00
remove another useless nonterminal
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
1222
pbx/ael/ael.tab.c
1222
pbx/ael/ael.tab.c
File diff suppressed because it is too large
Load Diff
@@ -117,7 +117,6 @@ static pval *update_last(pval *, YYLTYPE *);
|
|||||||
%type <pval>file
|
%type <pval>file
|
||||||
/* XXX lr changes */
|
/* XXX lr changes */
|
||||||
%type <pval>opt_else
|
%type <pval>opt_else
|
||||||
%type <pval>elements_block
|
|
||||||
%type <pval>timespec
|
%type <pval>timespec
|
||||||
%type <pval>included_entry
|
%type <pval>included_entry
|
||||||
|
|
||||||
@@ -166,7 +165,6 @@ static pval *update_last(pval *, YYLTYPE *);
|
|||||||
ignorepat element elements arglist assignment
|
ignorepat element elements arglist assignment
|
||||||
global_statements globals macro context object objects
|
global_statements globals macro context object objects
|
||||||
opt_else
|
opt_else
|
||||||
elements_block
|
|
||||||
timespec included_entry
|
timespec included_entry
|
||||||
|
|
||||||
%destructor { free($$);} word word_list goto_word word3_list opt_word context_name
|
%destructor { free($$);} word word_list goto_word word3_list opt_word context_name
|
||||||
@@ -194,10 +192,10 @@ context_name : word { $$ = $1; }
|
|||||||
| KW_DEFAULT { $$ = strdup("default"); }
|
| KW_DEFAULT { $$ = strdup("default"); }
|
||||||
;
|
;
|
||||||
|
|
||||||
context : opt_abstract KW_CONTEXT context_name elements_block {
|
context : opt_abstract KW_CONTEXT context_name LC elements RC {
|
||||||
$$ = npval2(PV_CONTEXT, &@1, &@4);
|
$$ = npval2(PV_CONTEXT, &@1, &@6);
|
||||||
$$->u1.str = $3;
|
$$->u1.str = $3;
|
||||||
$$->u2.statements = $4;
|
$$->u2.statements = $5;
|
||||||
$$->u3.abstract = $1; }
|
$$->u3.abstract = $1; }
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -233,9 +231,6 @@ arglist : /* empty */ { $$ = NULL; }
|
|||||||
| arglist error {$$=$1;}
|
| arglist error {$$=$1;}
|
||||||
;
|
;
|
||||||
|
|
||||||
elements_block : LC elements RC { $$ = $2; }
|
|
||||||
;
|
|
||||||
|
|
||||||
elements : {$$=0;}
|
elements : {$$=0;}
|
||||||
| element elements { $$ = linku1($1, $2); }
|
| element elements { $$ = linku1($1, $2); }
|
||||||
| elements error { $$=$1;}
|
| elements error { $$=$1;}
|
||||||
|
|||||||
Reference in New Issue
Block a user