diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-06-30 20:42:23 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-06-30 20:42:23 +0200 |
commit | 87d82131e6359a9bb3fb4e85e2f26f6864de8ac9 (patch) | |
tree | d9a1ff89b1167c926e7c12d0664b5923ba695b6b /tex/context/base/mkiv/l-string.lua | |
parent | 852668a65c878fee10d21fb7cefafb390e083075 (diff) | |
download | context-87d82131e6359a9bb3fb4e85e2f26f6864de8ac9.tar.gz |
2017-06-30 19:51:00
Diffstat (limited to 'tex/context/base/mkiv/l-string.lua')
-rw-r--r-- | tex/context/base/mkiv/l-string.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/l-string.lua b/tex/context/base/mkiv/l-string.lua index e0fb28445..cda837615 100644 --- a/tex/context/base/mkiv/l-string.lua +++ b/tex/context/base/mkiv/l-string.lua @@ -18,7 +18,7 @@ local P, S, C, Ct, Cc, Cs = lpeg.P, lpeg.S, lpeg.C, lpeg.Ct, lpeg.Cc, lpeg.Cs -- -- function string.split(str,pattern) -- local t = { } --- if #str > 0 then +-- if str ~= "" then -- local n = 1 -- for s in gmatch(str..pattern,"(.-)"..pattern) do -- t[n] = s |