summaryrefslogtreecommitdiff
path: root/lualibs-lpeg.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-11-21 16:35:59 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-11-21 16:35:59 +0100
commitce17332266dff01cfb9f83edbf10b7e080a770ca (patch)
treefc842ed016caa9f5d20de15b8f9a706c009de5e9 /lualibs-lpeg.lua
parent4295a3eb51db73a87774d59fb3a38a54690319f7 (diff)
downloadlualibs-ce17332266dff01cfb9f83edbf10b7e080a770ca.tar.gz
sync with Context as of 2015-11-21
Diffstat (limited to 'lualibs-lpeg.lua')
-rw-r--r--lualibs-lpeg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualibs-lpeg.lua b/lualibs-lpeg.lua
index 55a0d89..5be1246 100644
--- a/lualibs-lpeg.lua
+++ b/lualibs-lpeg.lua
@@ -82,7 +82,7 @@ local lpegtype, lpegmatch, lpegprint = lpeg.type, lpeg.match, lpeg.print
-- let's start with an inspector:
if setinspector then
- setinspector(function(v) if lpegtype(v) then lpegprint(v) return true end end)
+ setinspector("lpeg",function(v) if lpegtype(v) then lpegprint(v) return true end end)
end
-- Beware, we predefine a bunch of patterns here and one reason for doing so