aboutsummaryrefslogtreecommitdiffstats
path: root/ast_expr.y
diff options
context:
space:
mode:
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;