diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-05-03 16:00:49 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-05-03 16:00:49 +0000 |
commit | 7cc4511fa28d995540563f113dd145490c1b872f (patch) | |
tree | f77da61cf5b6c05f90c87b711a264f7b469450c2 /pbx/ael/ael.y | |
parent | 9c60f78ea16bdde1268ae79fb2707da926fd4b11 (diff) |
common syntax for context name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r-- | pbx/ael/ael.y | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y index f799b5b70..2ef55c37d 100644 --- a/pbx/ael/ael.y +++ b/pbx/ael/ael.y @@ -492,14 +492,10 @@ jumptarget : goto_word { /* ext, 1 */ $$ = nword($5, &@5); $$->next = nword($1, &@1); $$->next->next = nword($3, &@3); } - | goto_word AT goto_word { /* context, ext, 1 */ + | goto_word AT context_name { /* context, ext, 1 */ $$ = nword($3, &@3); $$->next = nword($1, &@1); $$->next->next = nword(strdup("1"), &@3); } - | goto_word AT KW_DEFAULT { /* default, ext, 1 */ - $$ = nword(strdup("default"), &@1); - $$->next = nword($1, &@3); - $$->next->next = nword( strdup("1"), &@3); } ; macro_call : word LP {reset_argcount(parseio->scanner);} eval_arglist RP { |