diff options
author | Stefan Fritsch <sf@apache.org> | 2010-11-21 18:22:26 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2010-11-21 18:22:26 +0100 |
commit | 6ef1911acc7e848d88e3ff505cc2a018f41cd903 (patch) | |
tree | 1e7426949ebbbaabf473b1e173951a73435b3118 /server/util_expr_parse.h | |
parent | Fix extra word (diff) | |
download | apache2-6ef1911acc7e848d88e3ff505cc2a018f41cd903.tar.xz apache2-6ef1911acc7e848d88e3ff505cc2a018f41cd903.zip |
ap_expr related fixes/enhancements:
- implement regex backreferences and make them available for setting
envvars in SetEnvIfExpr
- implement nested function calls in %-syntax: %{func1:%{func2:arg}}
- actually implement evaluation of concatenation operator (oops...)
- Fix <If ... > treating an internal error as success
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037504 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_expr_parse.h')
-rw-r--r-- | server/util_expr_parse.h | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/server/util_expr_parse.h b/server/util_expr_parse.h index f806e0121f..f0f3431cb4 100644 --- a/server/util_expr_parse.h +++ b/server/util_expr_parse.h @@ -47,31 +47,32 @@ T_STRING = 263, T_REGEX = 264, T_REGEX_I = 265, - T_OP_UNARY = 266, - T_OP_BINARY = 267, - T_STR_BEGIN = 268, - T_STR_END = 269, - T_VAR_BEGIN = 270, - T_VAR_END = 271, - T_OP_EQ = 272, - T_OP_NE = 273, - T_OP_LT = 274, - T_OP_LE = 275, - T_OP_GT = 276, - T_OP_GE = 277, - T_OP_REG = 278, - T_OP_NRE = 279, - T_OP_IN = 280, - T_OP_STR_EQ = 281, - T_OP_STR_NE = 282, - T_OP_STR_LT = 283, - T_OP_STR_LE = 284, - T_OP_STR_GT = 285, - T_OP_STR_GE = 286, - T_OP_CONCAT = 287, - T_OP_OR = 288, - T_OP_AND = 289, - T_OP_NOT = 290 + T_REGEX_BACKREF = 266, + T_OP_UNARY = 267, + T_OP_BINARY = 268, + T_STR_BEGIN = 269, + T_STR_END = 270, + T_VAR_BEGIN = 271, + T_VAR_END = 272, + T_OP_EQ = 273, + T_OP_NE = 274, + T_OP_LT = 275, + T_OP_LE = 276, + T_OP_GT = 277, + T_OP_GE = 278, + T_OP_REG = 279, + T_OP_NRE = 280, + T_OP_IN = 281, + T_OP_STR_EQ = 282, + T_OP_STR_NE = 283, + T_OP_STR_LT = 284, + T_OP_STR_LE = 285, + T_OP_STR_GT = 286, + T_OP_STR_GE = 287, + T_OP_CONCAT = 288, + T_OP_OR = 289, + T_OP_AND = 290, + T_OP_NOT = 291 }; #endif @@ -86,11 +87,12 @@ typedef union YYSTYPE char *cpVal; ap_expr *exVal; + int num; /* Line 1676 of yacc.c */ -#line 94 "util_expr_parse.h" +#line 96 "util_expr_parse.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |