aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-lpeg
Commit message (Collapse)AuthorAgeFilesLines
* community/lua-lpeg: update checksumRoberto Oliveira2017-03-291-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Review notes by @jirutka: Upstream has republished the lpeg-1.0.1 tarball with two minor modifications in file test.lua: --- old/lpeg-1.0.1/test.lua +++ new/lpeg-1.0.1/test.lua @@ -1,6 +1,6 @@ #!/usr/bin/env lua --- $Id: test.lua,v 1.111 2016/09/20 17:51:30 roberto Exp $ +-- $Id: test.lua,v 1.112 2017/01/14 18:55:22 roberto Exp $ -- require"strict" -- just to be pedantic @@ -1132,7 +1132,7 @@ local function manyCmt (n) return m.Cmt("a", function () local a = {}; for i = 1, n do a[i] = n - i end - return true, table.unpack(a) + return true, unpack(a) end) end @@ -1147,7 +1147,7 @@ -- bug in 1.0: problems with math-times returning too many captures do - local lim = 2^15 - 10 + local lim = 2^11 - 10 local res = {m.match(manyCmt(lim), "a")} assert(#res == lim and res[1] == lim - 1 and res[lim] == 0) checkerr("too many", m.match, manyCmt(2^15), "a")
* community/lua-lpeg: upgrade to 1.0.1Jakub Jirutka2017-01-141-4/+4
|
* community/[various]: dont set arch in split functionTimo Teräs2016-11-021-2/+1
|
* community/lua-lpeg: move from testingJakub Jirutka2016-09-021-0/+65