summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-05-25 15:10:00 +0800
committerGitHub <noreply@github.com>2023-05-25 15:10:00 +0800
commitadc1c1ba2f1039d36655f9042f0e16053115e88a (patch)
tree633d8ed090514f296b503aeef331b80255c4b311 /meta
parent90cc228b936dfdcdf4a4dcf9cfd85d295bb71493 (diff)
parentc78612903cc053ed18a040f741bc39d5fdeda7e4 (diff)
downloadlua-language-server-adc1c1ba2f1039d36655f9042f0e16053115e88a.zip
Merge pull request #2130 from fesily/meta-fix-jit-module
format jit doc
Diffstat (limited to 'meta')
-rw-r--r--meta/template/jit.profile.lua4
-rw-r--r--meta/template/jit.util.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/jit.profile.lua b/meta/template/jit.profile.lua
index d0e788ce..a7db77bf 100644
--- a/meta/template/jit.profile.lua
+++ b/meta/template/jit.profile.lua
@@ -4,14 +4,14 @@
local profile = {}
---@param mode string
----@param func fun(L:thread,samples:integer,vmst:string)
+---@param func fun(L: thread, samples: integer, vmst: string)
function profile.start(mode, func)
end
function profile.stop()
end
----@overload fun(th:thread,fmt:string,depth:integer)
+---@overload fun(th: thread, fmt: string, depth: integer)
---@param fmt string
---@param depth integer
function profile.dumpstack(fmt, depth)
diff --git a/meta/template/jit.util.lua b/meta/template/jit.util.lua
index 08694286..cf525527 100644
--- a/meta/template/jit.util.lua
+++ b/meta/template/jit.util.lua
@@ -105,7 +105,7 @@ end
function util.tracemc(tr)
end
----@overload fun(exitno:integer):integer
+---@overload fun(exitno: integer): integer
---@param tr Trace
---@param exitno integer
---@return integer? addr