aboutsummaryrefslogtreecommitdiffstats
path: root/res/ael/ael.y
diff options
context:
space:
mode:
Diffstat (limited to 'res/ael/ael.y')
-rw-r--r--res/ael/ael.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/ael/ael.y b/res/ael/ael.y
index 97558eca4..bd5af447c 100644
--- a/res/ael/ael.y
+++ b/res/ael/ael.y
@@ -34,6 +34,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/hashtab.h"
#include "asterisk/ael_structs.h"
+#include "asterisk/utils.h"
pval * linku1(pval *head, pval *tail);
static void set_dads(pval *dad, pval *child_list);
@@ -49,6 +50,7 @@ extern char *my_file;
int ael_is_funcname(char *name);
#endif
static char *ael_token_subst(const char *mess);
+static int only_one_app_set_warning = 0;
%}
@@ -238,6 +240,10 @@ global_statements : { $$ = NULL; }
assignment : word EQ { reset_semicount(parseio->scanner); } word SEMI {
$$ = npval2(PV_VARDEC, &@1, &@5);
+ if (!ast_compat_app_set && !only_one_app_set_warning && strchr($4,'"')) {
+ ast_log(LOG_NOTICE,"Note: In asterisk.conf, in the [compat] section, the app_set is set to 1.6 or greater. The Set() function no longer removes double quotes from the value. If this is a surprise to you, you can set app_set to 1.4.\n");
+ only_one_app_set_warning = 1;
+ }
$$->u1.str = $1;
$$->u2.val = $4; }
;