summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-18 22:10:13 +0000
committerKarl Berry <karl@freefriends.org>2013-05-18 22:10:13 +0000
commit0ee744b73c1c0e6ead0d311c9ceeaa96c0a3ee7b (patch)
tree022d1e6a511f9b6fe864228ab4d1f164cbc1cc60 /Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua
parent83a088d792eae526aebb1961564db25fc6902ed1 (diff)
lualibs (18may13)
git-svn-id: svn://tug.org/texlive/trunk@30555 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua b/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua
index 7493f108d22..29587cd3834 100644
--- a/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua
+++ b/Master/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua
@@ -11,6 +11,9 @@ if not modules then modules = { } end modules ['util-jsn'] = {
-- a correct stream. If not, we have some fatal error anyway. So, we can just rely
-- on strings being strings (apart from the unicode escape which is not in 5.1) and
-- as we first catch known types we just assume that anything else is a number.
+--
+-- Reminder for me: check usage in framework and extend when needed. Also document
+-- it in the cld lib documentation.
local P, V, R, S, C, Cc, Cs, Ct, Cf, Cg = lpeg.P, lpeg.V, lpeg.R, lpeg.S, lpeg.C, lpeg.Cc, lpeg.Cs, lpeg.Ct, lpeg.Cf, lpeg.Cg
local lpegmatch = lpeg.match
@@ -141,5 +144,3 @@ end
-- inspect(tmp)
-- inspect(json.tostring(true))
-
-return json