summaryrefslogtreecommitdiff
path: root/ast_expr.y
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2002-10-25 13:24:50 +0000
committerMark Spencer <markster@digium.com>2002-10-25 13:24:50 +0000
commitbbfe0828125146a7ebe56aeca3607fb886c8e2d4 (patch)
tree6f8d9bfe864582acd19fc528fc68aa689e0af0b7 /ast_expr.y
parente4885444576a27c5678c57f3c917849117900738 (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-xast_expr.y2
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;