summaryrefslogtreecommitdiffstats
path: root/lualib/lua_lexer.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-05 18:10:26 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-05 18:10:26 +0100
commitc33d98cf7705adbe73f997620e5c9bbede737c61 (patch)
treef65ebe0243438801d14802813f92da40aae83fff /lualib/lua_lexer.lua
parent61d435a8d120696a280db97bc28ceda3ae6d9781 (diff)
downloadrspamd-c33d98cf7705adbe73f997620e5c9bbede737c61.tar.gz
rspamd-c33d98cf7705adbe73f997620e5c9bbede737c61.zip
[Minor] Pet luacheck
Diffstat (limited to 'lualib/lua_lexer.lua')
-rw-r--r--lualib/lua_lexer.lua1
1 files changed, 0 insertions, 1 deletions
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.