diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-23 17:32:44 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-23 17:32:44 +0400 |
commit | e956b46665a3176eeae4f8793f6e62ef73339c17 (patch) | |
tree | 7b2c5d606f7f351c605ad8d4c44e047787342a66 /src/expressions.h | |
parent | 926925fa66e6e3e7747c00997c1f8f285ebb326d (diff) | |
download | rspamd-e956b46665a3176eeae4f8793f6e62ef73339c17.tar.gz rspamd-e956b46665a3176eeae4f8793f6e62ef73339c17.zip |
* Another fix to regexps parser
Diffstat (limited to 'src/expressions.h')
-rw-r--r-- | src/expressions.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/expressions.h b/src/expressions.h index 9d80587b4..06034c485 100644 --- a/src/expressions.h +++ b/src/expressions.h @@ -34,7 +34,13 @@ struct expression_argument { * Logic expression */ struct expression { - enum { EXPR_REGEXP, EXPR_OPERATION, EXPR_FUNCTION, EXPR_STR } type; /**< expression type */ + enum { + EXPR_REGEXP, + EXPR_OPERATION, + EXPR_FUNCTION, + EXPR_STR, + EXPR_REGEXP_PARSED, + } type; /**< expression type */ union { void *operand; char operation; |