Skip to content

Commit 7822d4f

Browse files
committed
神TM endif
1 parent eb96b02 commit 7822d4f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Diff for: meta/template/basic.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function loadfile(filename) end
108108
---@return function
109109
---@return string error_message
110110
function loadfile(filename, mode, env) end
111-
---#endif
111+
---#end
112112

113113
---@version 5.1
114114
---#DES 'loadstring'
@@ -251,7 +251,7 @@ function xpcall(f, err) end
251251
---@return any result
252252
---@return ...
253253
function xpcall(f, msgh, arg1, ...) end
254-
---#endif
254+
---#end
255255

256256
---@version 5.1
257257
---#DES 'unpack'

Diff for: meta/template/coroutine.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function coroutine.isyieldable(co) end
1818
---#DES 'coroutine.isyieldable'
1919
---@return boolean
2020
function coroutine.isyieldable() end
21-
---#endif
21+
---#end
2222

2323
---@version >5.4
2424
---#DES 'coroutine.close'

Diff for: meta/template/debug.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ debug = {}
1818
---#if VERSION >= 5.2 then
1919
---@field nparams integer
2020
---@field isvararg boolean
21-
---#endif
21+
---#end
2222
---@field func function
2323
---#if VERSION >= 5.4 then
2424
---@field ftransfer integer
2525
---@field ntransfer integer
26-
---#endif
26+
---#end
2727
---@field activelines table
2828

2929
---#DES 'debug.debug'
@@ -55,7 +55,7 @@ function debug.gethook(co) end
5555
---|+'"f"' # ---#DESENUM 'infowhat.f'
5656
---#if VERSION >= 5.4 then
5757
---|+'"r"' # ---#DESENUM 'infowhat.r'
58-
---#endif
58+
---#end
5959
---|+'"L"' # ---#DESENUM 'infowhat.L'
6060

6161
---#DES 'debug.getinfo'
@@ -112,7 +112,7 @@ function debug.getuservalue(u, n) end
112112
---@param u userdata
113113
---@return any
114114
function debug.getuservalue(u) end
115-
---#endif
115+
---#end
116116

117117
---#DES 'debug.setcstacklimit'
118118
---@deprecated

Diff for: meta/template/file.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ local file = {}
1616
---|>'"*l"' # ---#DESENUM 'readmode.l'
1717
---#if JIT then
1818
---| '"*L"' # ---#DESENUM 'readmode.L'
19-
---#endif
19+
---#end
2020
---#end
2121

2222
---@alias exitcode | '"exit"'|'"signal"'

0 commit comments

Comments
 (0)