summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorjvoisin2017-10-23 22:47:46 +0200
committerGitHub2017-10-23 22:47:46 +0200
commita8ab6484c1cf08bb5669b2f46f933845cc81f077 (patch)
tree06bcfc62b03c2113277385073294bcb27f30d643 /src/sp_config.h
parenta50fe60a3d736bce1a1838d4e736f80af1ee7bbc (diff)
Implement the .line filter
Close #48
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index c005206..c6de8ba 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -78,6 +78,7 @@ typedef struct {
78 pcre *r_param; 78 pcre *r_param;
79 sp_php_type param_type; 79 sp_php_type param_type;
80 int pos; 80 int pos;
81 unsigned int line;
81 82
82 char *ret; 83 char *ret;
83 pcre *r_ret; 84 pcre *r_ret;
@@ -185,6 +186,7 @@ typedef struct {
185#define SP_TOKEN_VALUE ".value(" 186#define SP_TOKEN_VALUE ".value("
186#define SP_TOKEN_VALUE_REGEXP ".value_r(" 187#define SP_TOKEN_VALUE_REGEXP ".value_r("
187#define SP_TOKEN_VALUE_ARG_POS ".pos(" 188#define SP_TOKEN_VALUE_ARG_POS ".pos("
189#define SP_TOKEN_LINE_NUMBER ".line("
188 190
189// cookies encryption 191// cookies encryption
190#define SP_TOKEN_NAME ".cookie(" 192#define SP_TOKEN_NAME ".cookie("