]> granicus.if.org Git - apache/commitdiff
keep the parse tree consistent if a binary operator occurs within
authorAndré Malo <nd@apache.org>
Mon, 25 Aug 2003 01:46:24 +0000 (01:46 +0000)
committerAndré Malo <nd@apache.org>
Mon, 25 Aug 2003 01:46:24 +0000 (01:46 +0000)
parentheses.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101088 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index 7fdf7daf8814e7588cabca30e27d361890f91782..58c82cfc77920093b298703c2f239ef596c8799e 100644 (file)
@@ -1279,6 +1279,7 @@ static int parse_expr(include_ctx_t *ctx, const char *expr, int *was_error)
             }
             else {
                 new->left = current->right;
+                new->left->parent = new;
                 current->right = new;
                 new->parent = current;
             }
@@ -1373,6 +1374,7 @@ static int parse_expr(include_ctx_t *ctx, const char *expr, int *was_error)
             }
             else {
                 new->left = current->right;
+                new->left->parent = new;
                 current->right = new;
                 new->parent = current;
             }