From a8ab6484c1cf08bb5669b2f46f933845cc81f077 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 23 Oct 2017 22:47:46 +0200 Subject: Implement the .line filter Close #48 --- src/sp_config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sp_config.h') 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 { pcre *r_param; sp_php_type param_type; int pos; + unsigned int line; char *ret; pcre *r_ret; @@ -185,6 +186,7 @@ typedef struct { #define SP_TOKEN_VALUE ".value(" #define SP_TOKEN_VALUE_REGEXP ".value_r(" #define SP_TOKEN_VALUE_ARG_POS ".pos(" +#define SP_TOKEN_LINE_NUMBER ".line(" // cookies encryption #define SP_TOKEN_NAME ".cookie(" -- cgit v1.3