aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/ael/ael.y
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 16:58:16 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 16:58:16 +0000
commitaf3527e67dbbaf559147deb5e19e42dd0b36ce86 (patch)
tree5f04d4e7ba80e7f972c971e50a6ef04bdc594c0b /pbx/ael/ael.y
parent35c0f353a214a7b1f4b3db091b59be56b2478e4c (diff)
consistent rule for goto...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24431 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r--pbx/ael/ael.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y
index 11a8afb27..75cffb053 100644
--- a/pbx/ael/ael.y
+++ b/pbx/ael/ael.y
@@ -225,6 +225,7 @@ assignment : word EQ { reset_semicount(parseio->scanner); } word SEMI {
$$->u2.val = $4; }
;
+/* XXX this matches missing arguments, is this desired ? */
arglist : /* empty */ { $$ = NULL; }
| word { $$ = nword($1, &@1); }
| arglist COMMA word { $$ = linku1($1, nword($3, &@3)); }
@@ -475,7 +476,7 @@ target : goto_word { $$ = nword($1, &@1); }
jumptarget : goto_word { /* ext, 1 */
$$ = nword($1, &@1);
$$->next = nword(strdup("1"), &@1); } /* jump extension[,priority][@context] */
- | goto_word COMMA goto_word { /* ext, pri */
+ | goto_word COMMA word { /* ext, pri */
$$ = nword($1, &@1);
$$->next = nword($3, &@3); }
| goto_word COMMA word AT context_name { /* context, ext, pri */