aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/ael/ael.y
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 16:00:49 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 16:00:49 +0000
commitf2f9525d91c31184795fdf709a6694c25f39ef00 (patch)
treef77da61cf5b6c05f90c87b711a264f7b469450c2 /pbx/ael/ael.y
parentdc4868e5e681d0c643b243fddd5a7f58b3f0d8a8 (diff)
common syntax for context name
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24421 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r--pbx/ael/ael.y6
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 {