From: Vsevolod Stakhov Date: Thu, 5 Sep 2019 17:10:26 +0000 (+0100) Subject: [Minor] Pet luacheck X-Git-Tag: 2.0~271 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c33d98cf7705adbe73f997620e5c9bbede737c61;p=rspamd.git [Minor] Pet luacheck --- 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.