TIL lua's loadstring is now simply 'load'

Former-commit-id: 2e2ee60f28eb3cbdeb9da7877eba4d0774590f87
Former-commit-id: 81c4274951d08267adb5380d5f4fa351ace25fff
This commit is contained in:
Song Minjae
2016-09-18 20:31:59 +09:00
parent e2b0ebbb87
commit 90ecda108d
4 changed files with 4 additions and 11 deletions

View File

@@ -6,9 +6,10 @@
fs.run = function(p)
local f = fs.open(p, "r")
local s = f.readAll()
fs.dostring(s)
load(s)()
end
_G.loadstring = _G.load
--------------
-- HEXUTILS --