diff options
-rw-r--r-- | server/libs/bee/filesystem.lni | 11 | ||||
-rw-r--r-- | server/libs/jass/common.lni | 11 | ||||
-rw-r--r-- | server/libs/jass/japi.lni | 12 | ||||
-rw-r--r-- | server/libs/lua53/coroutine.lni | 16 | ||||
-rw-r--r-- | server/libs/lua53/debug.lni | 16 | ||||
-rw-r--r-- | server/libs/lua53/file.lni | 9 | ||||
-rw-r--r-- | server/libs/lua53/io.lni | 16 | ||||
-rw-r--r-- | server/libs/lua53/math.lni | 16 | ||||
-rw-r--r-- | server/libs/lua53/os.lni | 16 | ||||
-rw-r--r-- | server/libs/lua53/package.lni | 16 | ||||
-rw-r--r-- | server/libs/lua53/string.lni | 23 | ||||
-rw-r--r-- | server/libs/lua53/table.lni | 16 | ||||
-rw-r--r-- | server/libs/lua53/utf8.lni | 16 | ||||
-rw-r--r-- | server/test/main.lua | 2 |
14 files changed, 123 insertions, 73 deletions
diff --git a/server/libs/bee/filesystem.lni b/server/libs/bee/filesystem.lni index 51358065..627dbfe6 100644 --- a/server/libs/bee/filesystem.lni +++ b/server/libs/bee/filesystem.lni @@ -7,10 +7,13 @@ name = 'bee.filesystem' <default> type = 'function' -[[.parent]] -type = 'library' -name = 'bee.filesystem' -nick = 'fs' +parent = { + 1 = { + type = 'library', + name = 'bee.filesystem', + nick = 'fs', + }, +} [current_path] [[.args]] diff --git a/server/libs/jass/common.lni b/server/libs/jass/common.lni index a9c6b06e..3c0e3ae7 100644 --- a/server/libs/jass/common.lni +++ b/server/libs/jass/common.lni @@ -7,10 +7,13 @@ nick = 'jass' <default> type = 'function' -[[.parent]] -type = 'library' -name = 'jass.common' -nick = 'jass' +parent = { + 1 = { + type = 'library', + name = 'jass.common', + nick = 'jass', + }, +} [ConvertRace] [[.args]] diff --git a/server/libs/jass/japi.lni b/server/libs/jass/japi.lni index bbaee8c6..23d1b97c 100644 --- a/server/libs/jass/japi.lni +++ b/server/libs/jass/japi.lni @@ -7,10 +7,14 @@ nick = 'japi' <default> type = 'function' -[[.parent]] -type = 'library' -name = 'jass.japi' -nick = 'japi' +parent = { + 1 = { + type = 'library', + name = 'jass.japi', + nick = 'japi', + }, +} + [EXGetUnitAbility] [[.args]] name = "u" diff --git a/server/libs/lua53/coroutine.lni b/server/libs/lua53/coroutine.lni index 70b438fb..51b717b9 100644 --- a/server/libs/lua53/coroutine.lni +++ b/server/libs/lua53/coroutine.lni @@ -8,12 +8,16 @@ name = 'coroutine' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'coroutine' -`````````` -type = 'library' -name = 'coroutine' +parent = { + 1 = { + type = 'global', + name = 'coroutine', + }, + 2 = { + type = 'library', + name = 'coroutine', + } +} [create] [[.args]] diff --git a/server/libs/lua53/debug.lni b/server/libs/lua53/debug.lni index 33042a45..578b9e9e 100644 --- a/server/libs/lua53/debug.lni +++ b/server/libs/lua53/debug.lni @@ -8,12 +8,16 @@ name = 'debug' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'debug' -`````````` -type = 'library' -name = 'debug' +parent = { + 1 = { + type = 'global', + name = 'debug', + }, + 2 = { + type = 'library', + name = 'debug', + } +} ["debug.debug"] name = 'debug' diff --git a/server/libs/lua53/file.lni b/server/libs/lua53/file.lni index ec18bb5b..889cbf2d 100644 --- a/server/libs/lua53/file.lni +++ b/server/libs/lua53/file.lni @@ -1,8 +1,11 @@ <default> type = 'function' -[[.parent]] -type = 'object' -name = 'FILE*' +parent = { + 1 = { + type = 'object', + name = 'FILE*', + }, +} [close] [[.args]] diff --git a/server/libs/lua53/io.lni b/server/libs/lua53/io.lni index a50129bf..94e62ae9 100644 --- a/server/libs/lua53/io.lni +++ b/server/libs/lua53/io.lni @@ -8,12 +8,16 @@ name = 'io' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'io' -`````````` -type = 'library' -name = 'io' +parent = { + 1 = { + type = 'global', + name = 'io', + }, + 2 = { + type = 'library', + name = 'io', + } +} [stdin] type = 'FILE*' diff --git a/server/libs/lua53/math.lni b/server/libs/lua53/math.lni index 841bbd6a..6458ccf4 100644 --- a/server/libs/lua53/math.lni +++ b/server/libs/lua53/math.lni @@ -8,12 +8,16 @@ name = 'math' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'math' -`````````` -type = 'library' -name = 'math' +parent = { + 1 = { + type = 'global', + name = 'math', + }, + 2 = { + type = 'library', + name = 'math', + } +} [abs] [[.args]] diff --git a/server/libs/lua53/os.lni b/server/libs/lua53/os.lni index 3dea4a01..9e92de66 100644 --- a/server/libs/lua53/os.lni +++ b/server/libs/lua53/os.lni @@ -8,12 +8,16 @@ name = 'os' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'os' -`````````` -type = 'library' -name = 'os' +parent = { + 1 = { + type = 'global', + name = 'os', + }, + 2 = { + type = 'library', + name = 'os', + } +} [clock] [[.returns]] diff --git a/server/libs/lua53/package.lni b/server/libs/lua53/package.lni index 65855616..a0843cae 100644 --- a/server/libs/lua53/package.lni +++ b/server/libs/lua53/package.lni @@ -8,12 +8,16 @@ name = 'package' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'package' -`````````` -type = 'library' -name = 'package' +parent = { + 1 = { + type = 'global', + name = 'package', + }, + 2 = { + type = 'library', + name = 'package', + } +} [config] type = 'string' diff --git a/server/libs/lua53/string.lni b/server/libs/lua53/string.lni index e04b3f4f..d1754b74 100644 --- a/server/libs/lua53/string.lni +++ b/server/libs/lua53/string.lni @@ -8,15 +8,20 @@ name = 'string' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'string' -`````````` -type = 'library' -name = 'string' -`````````` -type = 'object' -name = 'string' +parent = { + 1 = { + type = 'global', + name = 'string', + }, + 2 = { + type = 'library', + name = 'string', + }, + 3 = { + type = 'object', + name = 'string', + } +} [byte] [[.args]] diff --git a/server/libs/lua53/table.lni b/server/libs/lua53/table.lni index 08d43f00..b3f3f113 100644 --- a/server/libs/lua53/table.lni +++ b/server/libs/lua53/table.lni @@ -8,12 +8,16 @@ name = 'table' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'table' -`````````` -type = 'library' -name = 'table' +parent = { + 1 = { + type = 'global', + name = 'table', + }, + 2 = { + type = 'library', + name = 'table', + } +} [concat] [[.args]] diff --git a/server/libs/lua53/utf8.lni b/server/libs/lua53/utf8.lni index 0296157f..0bdc3d52 100644 --- a/server/libs/lua53/utf8.lni +++ b/server/libs/lua53/utf8.lni @@ -8,12 +8,16 @@ name = 'utf8' <default> type = 'function' -[[.parent]] -type = 'global' -name = 'utf8' -`````````` -type = 'library' -name = 'utf8' +parent = { + 1 = { + type = 'global', + name = 'utf8', + }, + 2 = { + type = 'library', + name = 'utf8', + } +} [char] [[.args]] diff --git a/server/test/main.lua b/server/test/main.lua index 9fa46e26..37238e4f 100644 --- a/server/test/main.lua +++ b/server/test/main.lua @@ -16,7 +16,7 @@ ac = {} require 'utility' require 'global_protect' - local function convertLni() +local function convertLni() local function scan(path, callback) if fs.is_directory(path) then for child in path:list_directory() do |