From 36b9b1b8607f8e20639a96ce5ce177b83ec0f513 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Mon, 25 Aug 2003 23:37:47 +0000 Subject: [PATCH] TOKEN_RE is only valid on the right side of EQ or NE. (previously this error was caught during the evaluation stage) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101104 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_include.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 70f5211f7a..53e0d3f4f4 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -1147,7 +1147,6 @@ static int parse_expr(include_ctx_t *ctx, const char *expr, int *was_error) if (!current) { switch (new->token.type) { case TOKEN_STRING: - case TOKEN_RE: case TOKEN_NOT: case TOKEN_LBRACE: root = current = new; @@ -1192,10 +1191,6 @@ static int parse_expr(include_ctx_t *ctx, const char *expr, int *was_error) switch (current->token.type) { case TOKEN_EQ: case TOKEN_NE: - case TOKEN_AND: - case TOKEN_OR: - case TOKEN_LBRACE: - case TOKEN_NOT: new->parent = current; current = current->right = new; ++regex; -- 2.50.1