summaryrefslogtreecommitdiff
path: root/script/parser/grammar.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/grammar.lua')
-rw-r--r--script/parser/grammar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/grammar.lua b/script/parser/grammar.lua
index 1a3913e0..154bd7ba 100644
--- a/script/parser/grammar.lua
+++ b/script/parser/grammar.lua
@@ -557,7 +557,7 @@ Lua <- Head?
Head <- '#' (!%nl .)*
]]
-return function (self, lua, mode)
+return function (lua, mode)
local gram = compiled[mode] or compiled['Lua']
local r, _, pos = gram:match(lua)
if not r then