diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-04-27 17:39:55 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-04-27 17:39:55 +0000 |
commit | 73ea5316b5fa7965d8956318cd2280eeda2cebfd (patch) | |
tree | ed07d698be9b8d27318b9c64c3656b0659105ad8 /pbx/ael/ael.tab.c | |
parent | b37af2f16cfae0c78ae74f0d404554377b615b9e (diff) |
fix a couple of bugs in arguments to npval
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael/ael.tab.c')
-rw-r--r-- | pbx/ael/ael.tab.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pbx/ael/ael.tab.c b/pbx/ael/ael.tab.c index 03d49f9f1..0dc33d508 100644 --- a/pbx/ael/ael.tab.c +++ b/pbx/ael/ael.tab.c @@ -2109,7 +2109,7 @@ yyreduce: case 47: #line 269 "ael.y" { - (yyval.pval) = npval(PV_EXTENSION,(yylsp[-3]).first_line,(yylsp[-1]).last_line, (yylsp[-3]).first_column, (yylsp[0]).last_column); + (yyval.pval) = npval(PV_EXTENSION,(yylsp[-3]).first_line,(yylsp[0]).last_line, (yylsp[-3]).first_column, (yylsp[0]).last_column); (yyval.pval)->u1.str = (yyvsp[-2].str); (yyval.pval)->u2.statements = (yyvsp[0].pval); (yyval.pval)->u4.regexten=1;;} @@ -2127,7 +2127,7 @@ yyreduce: case 49: #line 279 "ael.y" { - (yyval.pval) = npval(PV_EXTENSION,(yylsp[-7]).first_line,(yylsp[-4]).last_line, (yylsp[-7]).first_column, (yylsp[0]).last_column); + (yyval.pval) = npval(PV_EXTENSION,(yylsp[-7]).first_line,(yylsp[0]).last_line, (yylsp[-7]).first_column, (yylsp[0]).last_column); (yyval.pval)->u1.str = (yyvsp[-2].str); (yyval.pval)->u2.statements = (yyvsp[0].pval); (yyval.pval)->u4.regexten=1; @@ -3327,7 +3327,8 @@ void yyerror(YYLTYPE *locp, struct parse_io *parseio, char const *s) parseio->syntax_error_count++; } -static struct pval *npval(pvaltype type,int first_line, int last_line, int first_column, int last_column) +static struct pval *npval(pvaltype type, int first_line, int last_line, + int first_column, int last_column) { extern char *my_file; pval *z = (pval *)calloc(sizeof(struct pval),1); |