diff options
| author | Philipp Janda <siffiejoe@gmx.net> | 2016-05-19 00:23:14 +0200 |
|---|---|---|
| committer | Philipp Janda <siffiejoe@gmx.net> | 2016-05-19 00:23:14 +0200 |
| commit | 80588ca126d2d115437c5ebc85284f4cc6dd512e (patch) | |
| tree | dcce7528d09abf694c38c606004c49c993e5da10 | |
| parent | c3013bd037d42abec863cc566e3fef1fdf2d0367 (diff) | |
| parent | 0e4c9fc887a96a6d5878d7e46cef42ceacf6e7ba (diff) | |
| download | lua-compat-5.3-80588ca126d2d115437c5ebc85284f4cc6dd512e.tar.gz lua-compat-5.3-80588ca126d2d115437c5ebc85284f4cc6dd512e.tar.bz2 lua-compat-5.3-80588ca126d2d115437c5ebc85284f4cc6dd512e.zip | |
Merge pull request #18 from jvprat/loadstring
Fix loadstring on Lua 5.1
| -rw-r--r-- | compat53/module.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat53/module.lua b/compat53/module.lua index dad940b..30be6b5 100644 --- a/compat53/module.lua +++ b/compat53/module.lua | |||
| @@ -548,7 +548,7 @@ if lua_version < "5.3" then | |||
| 548 | return chunk | 548 | return chunk |
| 549 | end | 549 | end |
| 550 | 550 | ||
| 551 | M.loadstring = load | 551 | M.loadstring = M.load |
| 552 | 552 | ||
| 553 | function M.loadfile(file, mode, env) | 553 | function M.loadfile(file, mode, env) |
| 554 | mode = mode or "bt" | 554 | mode = mode or "bt" |
