diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-01 23:03:50 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-01 23:03:50 +0000 |
commit | 9d3e81a7d888ae911aa91605061938464c2df682 (patch) | |
tree | 8c945ed915051a63fc9518a3955481f146ede938 /res/ael/ael.tab.c | |
parent | d8dcdb07402bc898a5ab47d09b86eeb7f660fb41 (diff) |
Merged revisions 84239 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84239 | murf | 2007-10-01 14:27:52 -0600 (Mon, 01 Oct 2007) | 1 line
closes issue #10777 -- by returning a null for the parse tree when there's really nothing there, and making sure we don't try to do checking on a null tree.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84327 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/ael/ael.tab.c')
-rw-r--r-- | res/ael/ael.tab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ael/ael.tab.c b/res/ael/ael.tab.c index c6d2ce4a6..1864c184f 100644 --- a/res/ael/ael.tab.c +++ b/res/ael/ael.tab.c @@ -2137,8 +2137,8 @@ yyreduce: if (!(yyvsp[(5) - (6)].pval)) { ast_log(LOG_WARNING, "==== File: %s, Line %d, Cols: %d-%d: Warning! The empty context %s will be IGNORED!\n", my_file, (yylsp[(4) - (6)]).first_line, (yylsp[(4) - (6)]).first_column, (yylsp[(4) - (6)]).last_column, (yyvsp[(3) - (6)].str) ); + (yyval.pval) = 0; free((yyvsp[(3) - (6)].str)); - } else { (yyval.pval) = npval2(PV_CONTEXT, &(yylsp[(1) - (6)]), &(yylsp[(6) - (6)])); (yyval.pval)->u1.str = (yyvsp[(3) - (6)].str); |