Version 0.3.0 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2002-10-25 13:24:50 +00:00
parent e488544457
commit bbfe082812

View File

@@ -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;