diff options
-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; |