Version 0.3.0 from FTP
authorMark Spencer <markster@digium.com>
Fri, 25 Oct 2002 13:24:50 +0000 (13:24 +0000)
committerMark Spencer <markster@digium.com>
Fri, 25 Oct 2002 13:24:50 +0000 (13:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@540 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ast_expr.y

index f885c41..2b92097 100755 (executable)
@@ -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;