summaryrefslogtreecommitdiff
path: root/pbx/ael/ael.y
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r--pbx/ael/ael.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y
index c7b6e7469..51561a651 100644
--- a/pbx/ael/ael.y
+++ b/pbx/ael/ael.y
@@ -564,7 +564,10 @@ macro_call : word LP {reset_argcount(parseio->scanner);} eval_arglist RP {
$$->u1.str = $1; }
;
-application_call_head: word {reset_argcount(parseio->scanner);} LP {
+/* XXX application_call_head must be revised. Having 'word LP { ...'
+ * just as above should work fine, however it gives a different result.
+ */
+application_call_head: word LP {reset_argcount(parseio->scanner);} {
if (strcasecmp($1,"goto") == 0) {
$$= npval2(PV_GOTO, &@1, &@3);
free($1); /* won't be using this */