diff options
Diffstat (limited to 'compat53')
| -rw-r--r-- | compat53/module.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compat53/module.lua b/compat53/module.lua index 30be6b5..225d8ca 100644 --- a/compat53/module.lua +++ b/compat53/module.lua | |||
| @@ -67,6 +67,15 @@ if lua_version < "5.3" then | |||
| 67 | end | 67 | end |
| 68 | 68 | ||
| 69 | 69 | ||
| 70 | -- load io functions | ||
| 71 | local io_ok, iolib = pcall(require, "compat53.io") | ||
| 72 | if io_ok then | ||
| 73 | for k,v in pairs(iolib) do | ||
| 74 | M.io[k] = v | ||
| 75 | end | ||
| 76 | end | ||
| 77 | |||
| 78 | |||
| 70 | -- load string packing functions | 79 | -- load string packing functions |
| 71 | local str_ok, strlib = pcall(require, "compat53.string") | 80 | local str_ok, strlib = pcall(require, "compat53.string") |
| 72 | if str_ok then | 81 | if str_ok then |
