diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-09 13:08:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-09 13:15:27 +0100 |
commit | 175d7ac25a9d638e859d677d662ced1cc746c6ce (patch) | |
tree | 997e9e89e20cb0432d2a105aceb8d8d261fd346b /contrib/lua-lpeg/lpcode.h | |
parent | 4eba0ef16211ae27f13e826fb1957858439666ec (diff) | |
download | rspamd-175d7ac25a9d638e859d677d662ced1cc746c6ce.tar.gz rspamd-175d7ac25a9d638e859d677d662ced1cc746c6ce.zip |
[Minor] Update lpeg to the upstream
Diffstat (limited to 'contrib/lua-lpeg/lpcode.h')
-rw-r--r-- | contrib/lua-lpeg/lpcode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/lua-lpeg/lpcode.h b/contrib/lua-lpeg/lpcode.h index 896d3c79a..34ee27637 100644 --- a/contrib/lua-lpeg/lpcode.h +++ b/contrib/lua-lpeg/lpcode.h @@ -1,5 +1,5 @@ /* -** $Id: lpcode.h,v 1.7 2015/06/12 18:24:45 roberto Exp $ +** $Id: lpcode.h $ */ #if !defined(lpcode_h) @@ -13,7 +13,7 @@ int tocharset (TTree *tree, Charset *cs); int checkaux (TTree *tree, int pred); -int fixedlenx (TTree *tree, int count, int len); +int fixedlen (TTree *tree); int hascaptures (TTree *tree); int lp_gc (lua_State *L); Instruction *compile (lua_State *L, Pattern *p); @@ -35,8 +35,6 @@ int sizei (const Instruction *i); */ #define nullable(t) checkaux(t, PEnullable) -#define fixedlen(t) fixedlenx(t, 0, 0) - #endif |