commit c33d98c: [Minor] Pet luacheck

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Sep 5 17:14:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-05 18:10:26 +0100
URL: https://github.com/rspamd/rspamd/commit/c33d98cf7705adbe73f997620e5c9bbede737c61 (HEAD -> master)

[Minor] Pet luacheck

---
 lualib/lua_lexer.lua | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lualib/lua_lexer.lua b/lualib/lua_lexer.lua
index 8c751d82f..8ce803d59 100644
--- a/lualib/lua_lexer.lua
+++ b/lualib/lua_lexer.lua
@@ -25,7 +25,6 @@ local S = lpeg.S
 local D = R'09' -- Digits
 local I = R('AZ', 'az', '\127\255') + '_' -- Identifiers
 local B = -(I + D) -- Word boundary
-local SOS = lpeg.P(function(s, i) return i == 1 end) -- start of string
 local EOS = -lpeg.P(1) -- end of string
 
 -- Pattern for long strings and long comments.


More information about the Commits mailing list