summaryrefslogtreecommitdiff
path: root/res/ael/ael.y
diff options
context:
space:
mode:
Diffstat (limited to 'res/ael/ael.y')
-rw-r--r--res/ael/ael.y9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/ael/ael.y b/res/ael/ael.y
index f8398dd2e..c8bc9c78e 100644
--- a/res/ael/ael.y
+++ b/res/ael/ael.y
@@ -402,6 +402,15 @@ hint_word : word { $$ = $1; }
free($3);
}
}
+ | hint_word AT word {
+ if (asprintf(&($$), "%s@%s", $1, $3) < 0) {
+ ast_log(LOG_WARNING, "asprintf() failed\n");
+ $$ = NULL;
+ } else {
+ free($1);
+ free($3);
+ }
+ }
;
word3_list : word { $$ = $1;}