diff options
author | mpeterv <mpeterval@gmail.com> | 2015-03-23 11:56:00 +0300 |
---|---|---|
committer | mpeterv <mpeterval@gmail.com> | 2015-04-12 18:35:13 +0300 |
commit | c5856f320cc5f5df78f8deb92b2a1186b9363a8e (patch) | |
tree | 92bb6ec264881894023d080340236c179f30d6be /src/lanes.lua | |
parent | 4f51dbba76b5a486d6935c2b9a2ac9086b9ea64e (diff) | |
download | lanes-c5856f320cc5f5df78f8deb92b2a1186b9363a8e.tar.gz lanes-c5856f320cc5f5df78f8deb92b2a1186b9363a8e.tar.bz2 lanes-c5856f320cc5f5df78f8deb92b2a1186b9363a8e.zip |
Fix standard library lists for Lua 5.3
Fixes crash on require under Lua 5.3 without LUA_COMPAT_5_2.
Fixes utf8 library not loaded under Lua 5.3.
Diffstat (limited to 'src/lanes.lua')
-rw-r--r-- | src/lanes.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lanes.lua b/src/lanes.lua index 210f325..5df406a 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -216,6 +216,7 @@ local valid_libs = | |||
216 | ["math"] = true, | 216 | ["math"] = true, |
217 | ["debug"] = true, | 217 | ["debug"] = true, |
218 | ["bit32"] = true, -- Lua 5.2 only, ignored silently under 5.1 | 218 | ["bit32"] = true, -- Lua 5.2 only, ignored silently under 5.1 |
219 | ["utf8"] = true, -- Lua 5.3 only, ignored silently under 5.1 and 5.2 | ||
219 | -- | 220 | -- |
220 | ["base"] = true, | 221 | ["base"] = true, |
221 | ["coroutine"] = true, -- part of "base" in Lua 5.1 | 222 | ["coroutine"] = true, -- part of "base" in Lua 5.1 |