diff options
author | Mark Spencer <markster@digium.com> | 2002-10-25 13:24:50 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2002-10-25 13:24:50 +0000 |
commit | bbfe0828125146a7ebe56aeca3607fb886c8e2d4 (patch) | |
tree | 6f8d9bfe864582acd19fc528fc68aa689e0af0b7 /ast_expr.y | |
parent | e4885444576a27c5678c57f3c917849117900738 (diff) |
Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'ast_expr.y')
-rwxr-xr-x | ast_expr.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ast_expr.y b/ast_expr.y index f885c418b..2b9209797 100755 --- a/ast_expr.y +++ b/ast_expr.y @@ -104,6 +104,7 @@ static int ast_yylex __P(()); %% start: expr { ((struct parser_control *)kota)->result = $$; } + ; expr: TOKEN | '(' expr ')' { $$ = $2; } @@ -299,6 +300,7 @@ char *ast_expr (char *arg) char *pirouni; kota=strdup(arg); + karoto.result = NULL; karoto.firsttoken=1; karoto.argv=kota; |