remove another useless nonterminal

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Luigi Rizzo 20 years ago
parent 34d67f7d09
commit e5b0c721e5

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;}

Loading…
Cancel
Save