X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=res%2Fael%2Fael.y;h=c8bc9c78ebfa6d119db89a2c539adaaa347e0c5e;hp=f8398dd2e521eacd392f634bc6b12fd3eff6ed53;hb=e74239070632a3acdac75987d26306165db51019;hpb=9c2ff7bb1e5f7d80e273653e06b85a6cb69ef086 diff --git a/res/ael/ael.y b/res/ael/ael.y index f8398dd..c8bc9c7 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;}