From afc2eba9d73a43d2f3080cf12be4ffe977a79414 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 24 Feb 2026 16:02:05 +0800 Subject: Updated docs. [skip CI] --- spec/outputs/codes_from_doc_de.lua | 38 +++++++++++++++++------------------ spec/outputs/codes_from_doc_en.lua | 38 +++++++++++++++++------------------ spec/outputs/codes_from_doc_id-id.lua | 38 +++++++++++++++++------------------ spec/outputs/codes_from_doc_pt-br.lua | 38 +++++++++++++++++------------------ spec/outputs/codes_from_doc_zh.lua | 38 +++++++++++++++++------------------ 5 files changed, 95 insertions(+), 95 deletions(-) (limited to 'spec') diff --git a/spec/outputs/codes_from_doc_de.lua b/spec/outputs/codes_from_doc_de.lua index 70783f1..6bb5f2a 100644 --- a/spec/outputs/codes_from_doc_de.lua +++ b/spec/outputs/codes_from_doc_de.lua @@ -3,18 +3,6 @@ do print(var) end print(var) -local status, value -do - repeat - local n = 12 - if n > 10 then - status, value = "large", n - break - end - status, value = "small", n - break - until true -end local counter do local i = 0 @@ -31,11 +19,6 @@ local tbl = { return 1234 end)() } -do - local var = "hallo" - print(var) -end -print(var) local status, value do repeat @@ -48,6 +31,11 @@ do break until true end +do + local var = "hallo" + print(var) +end +print(var) local counter do local i = 0 @@ -64,6 +52,18 @@ local tbl = { return 1234 end)() } +local status, value +do + repeat + local n = 12 + if n > 10 then + status, value = "large", n + break + end + status, value = "small", n + break + until true +end if name == "Rob" then print("Hallo Welt") end @@ -2204,7 +2204,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local _with_0 = Person() _with_0.name = "Oswald" @@ -2262,7 +2262,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local hello = "world" local a, b, c = 1, 2, 3 diff --git a/spec/outputs/codes_from_doc_en.lua b/spec/outputs/codes_from_doc_en.lua index 4cfcaee..ec50f7e 100644 --- a/spec/outputs/codes_from_doc_en.lua +++ b/spec/outputs/codes_from_doc_en.lua @@ -3,18 +3,6 @@ do print(var) end print(var) -local status, value -do - repeat - local n = 12 - if n > 10 then - status, value = "large", n - break - end - status, value = "small", n - break - until true -end local counter do local i = 0 @@ -31,11 +19,6 @@ local tbl = { return 1234 end)() } -do - local var = "hello" - print(var) -end -print(var) local status, value do repeat @@ -48,6 +31,11 @@ do break until true end +do + local var = "hello" + print(var) +end +print(var) local counter do local i = 0 @@ -64,6 +52,18 @@ local tbl = { return 1234 end)() } +local status, value +do + repeat + local n = 12 + if n > 10 then + status, value = "large", n + break + end + status, value = "small", n + break + until true +end if name == "Rob" then print("hello world") end @@ -2204,7 +2204,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local _with_0 = Person() _with_0.name = "Oswald" @@ -2262,7 +2262,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local hello = "world" local a, b, c = 1, 2, 3 diff --git a/spec/outputs/codes_from_doc_id-id.lua b/spec/outputs/codes_from_doc_id-id.lua index a960fd6..c4795ac 100644 --- a/spec/outputs/codes_from_doc_id-id.lua +++ b/spec/outputs/codes_from_doc_id-id.lua @@ -3,18 +3,6 @@ do print(var) end print(var) -local status, value -do - repeat - local n = 12 - if n > 10 then - status, value = "large", n - break - end - status, value = "small", n - break - until true -end local counter do local i = 0 @@ -31,11 +19,6 @@ local tbl = { return 1234 end)() } -do - local var = "hello" - print(var) -end -print(var) local status, value do repeat @@ -48,6 +31,11 @@ do break until true end +do + local var = "hello" + print(var) +end +print(var) local counter do local i = 0 @@ -64,6 +52,18 @@ local tbl = { return 1234 end)() } +local status, value +do + repeat + local n = 12 + if n > 10 then + status, value = "large", n + break + end + status, value = "small", n + break + until true +end if name == "Rob" then print("hello world") end @@ -2204,7 +2204,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local _with_0 = Person() _with_0.name = "Oswald" @@ -2262,7 +2262,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local hello = "world" local a, b, c = 1, 2, 3 diff --git a/spec/outputs/codes_from_doc_pt-br.lua b/spec/outputs/codes_from_doc_pt-br.lua index d047596..927d05b 100644 --- a/spec/outputs/codes_from_doc_pt-br.lua +++ b/spec/outputs/codes_from_doc_pt-br.lua @@ -3,18 +3,6 @@ do print(var) end print(var) -local status, value -do - repeat - local n = 12 - if n > 10 then - status, value = "large", n - break - end - status, value = "small", n - break - until true -end local counter do local i = 0 @@ -31,11 +19,6 @@ local tbl = { return 1234 end)() } -do - local var = "hello" - print(var) -end -print(var) local status, value do repeat @@ -48,6 +31,11 @@ do break until true end +do + local var = "hello" + print(var) +end +print(var) local counter do local i = 0 @@ -64,6 +52,18 @@ local tbl = { return 1234 end)() } +local status, value +do + repeat + local n = 12 + if n > 10 then + status, value = "large", n + break + end + status, value = "small", n + break + until true +end if name == "Rob" then print("hello world") end @@ -2204,7 +2204,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local _with_0 = Person() _with_0.name = "Oswald" @@ -2262,7 +2262,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local hello = "world" local a, b, c = 1, 2, 3 diff --git a/spec/outputs/codes_from_doc_zh.lua b/spec/outputs/codes_from_doc_zh.lua index 2065307..5849e00 100644 --- a/spec/outputs/codes_from_doc_zh.lua +++ b/spec/outputs/codes_from_doc_zh.lua @@ -3,18 +3,6 @@ do print(var) end print(var) -local status, value -do - repeat - local n = 12 - if n > 10 then - status, value = "large", n - break - end - status, value = "small", n - break - until true -end local counter do local i = 0 @@ -31,11 +19,6 @@ local tbl = { return 1234 end)() } -do - local var = "hello" - print(var) -end -print(var) local status, value do repeat @@ -48,6 +31,11 @@ do break until true end +do + local var = "hello" + print(var) +end +print(var) local counter do local i = 0 @@ -64,6 +52,18 @@ local tbl = { return 1234 end)() } +local status, value +do + repeat + local n = 12 + if n > 10 then + status, value = "large", n + break + end + status, value = "small", n + break + until true +end if name == "Rob" then print("你好,世界") end @@ -2204,7 +2204,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local _with_0 = Person() _with_0.name = "Oswald" @@ -2262,7 +2262,7 @@ end _with_0[#_with_0 + 1] = "abc" local _with_0 = obj if _with_0 ~= nil then - print(obj.name) + print(_with_0.name) end local hello = "world" local a, b, c = 1, 2, 3 -- cgit v1.2.3-55-g6feb