summaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
Diffstat (limited to 'lualib')
-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.