]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
keep the parse tree consistent if a binary operator occurs within
authorAndré Malo <nd@apache.org>
Sun, 21 Sep 2003 21:32:12 +0000 (21:32 +0000)
committerAndré Malo <nd@apache.org>
Sun, 21 Sep 2003 21:32:12 +0000 (21:32 +0000)
parentheses.

Reviewed by: Brian Pane, Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@101302 13f79535-47bb-0310-9956-ffa450edef68

src/modules/standard/mod_include.c

index fd3b019c8ea093d5365cb1603a3b816d27e53ee0..87e1cbdf046619c32ae77b6f1c3fd0c0531a8a87 100644 (file)
@@ -1506,6 +1506,7 @@ static int parse_expr(request_rec *r, const char *expr, const char *error)
             }
             else {
                 new->left = current->right;
+                new->left->parent = new;
                 current->right = new;
                 new->parent = current;
             }
@@ -1609,6 +1610,7 @@ static int parse_expr(request_rec *r, const char *expr, const char *error)
             }
             else {
                 new->left = current->right;
+                new->left->parent = new;
                 current->right = new;
                 new->parent = current;
             }