diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/outputs/codes_from_doc_de.lua | 38 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_en.lua | 38 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_id-id.lua | 38 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_pt-br.lua | 38 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_zh.lua | 38 |
5 files changed, 95 insertions, 95 deletions
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 | |||
| 3 | print(var) | 3 | print(var) |
| 4 | end | 4 | end |
| 5 | print(var) | 5 | print(var) |
| 6 | local status, value | ||
| 7 | do | ||
| 8 | repeat | ||
| 9 | local n = 12 | ||
| 10 | if n > 10 then | ||
| 11 | status, value = "large", n | ||
| 12 | break | ||
| 13 | end | ||
| 14 | status, value = "small", n | ||
| 15 | break | ||
| 16 | until true | ||
| 17 | end | ||
| 18 | local counter | 6 | local counter |
| 19 | do | 7 | do |
| 20 | local i = 0 | 8 | local i = 0 |
| @@ -31,11 +19,6 @@ local tbl = { | |||
| 31 | return 1234 | 19 | return 1234 |
| 32 | end)() | 20 | end)() |
| 33 | } | 21 | } |
| 34 | do | ||
| 35 | local var = "hallo" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 39 | local status, value | 22 | local status, value |
| 40 | do | 23 | do |
| 41 | repeat | 24 | repeat |
| @@ -48,6 +31,11 @@ do | |||
| 48 | break | 31 | break |
| 49 | until true | 32 | until true |
| 50 | end | 33 | end |
| 34 | do | ||
| 35 | local var = "hallo" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 51 | local counter | 39 | local counter |
| 52 | do | 40 | do |
| 53 | local i = 0 | 41 | local i = 0 |
| @@ -64,6 +52,18 @@ local tbl = { | |||
| 64 | return 1234 | 52 | return 1234 |
| 65 | end)() | 53 | end)() |
| 66 | } | 54 | } |
| 55 | local status, value | ||
| 56 | do | ||
| 57 | repeat | ||
| 58 | local n = 12 | ||
| 59 | if n > 10 then | ||
| 60 | status, value = "large", n | ||
| 61 | break | ||
| 62 | end | ||
| 63 | status, value = "small", n | ||
| 64 | break | ||
| 65 | until true | ||
| 66 | end | ||
| 67 | if name == "Rob" then | 67 | if name == "Rob" then |
| 68 | print("Hallo Welt") | 68 | print("Hallo Welt") |
| 69 | end | 69 | end |
| @@ -2204,7 +2204,7 @@ end | |||
| 2204 | _with_0[#_with_0 + 1] = "abc" | 2204 | _with_0[#_with_0 + 1] = "abc" |
| 2205 | local _with_0 = obj | 2205 | local _with_0 = obj |
| 2206 | if _with_0 ~= nil then | 2206 | if _with_0 ~= nil then |
| 2207 | print(obj.name) | 2207 | print(_with_0.name) |
| 2208 | end | 2208 | end |
| 2209 | local _with_0 = Person() | 2209 | local _with_0 = Person() |
| 2210 | _with_0.name = "Oswald" | 2210 | _with_0.name = "Oswald" |
| @@ -2262,7 +2262,7 @@ end | |||
| 2262 | _with_0[#_with_0 + 1] = "abc" | 2262 | _with_0[#_with_0 + 1] = "abc" |
| 2263 | local _with_0 = obj | 2263 | local _with_0 = obj |
| 2264 | if _with_0 ~= nil then | 2264 | if _with_0 ~= nil then |
| 2265 | print(obj.name) | 2265 | print(_with_0.name) |
| 2266 | end | 2266 | end |
| 2267 | local hello = "world" | 2267 | local hello = "world" |
| 2268 | local a, b, c = 1, 2, 3 | 2268 | 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 | |||
| 3 | print(var) | 3 | print(var) |
| 4 | end | 4 | end |
| 5 | print(var) | 5 | print(var) |
| 6 | local status, value | ||
| 7 | do | ||
| 8 | repeat | ||
| 9 | local n = 12 | ||
| 10 | if n > 10 then | ||
| 11 | status, value = "large", n | ||
| 12 | break | ||
| 13 | end | ||
| 14 | status, value = "small", n | ||
| 15 | break | ||
| 16 | until true | ||
| 17 | end | ||
| 18 | local counter | 6 | local counter |
| 19 | do | 7 | do |
| 20 | local i = 0 | 8 | local i = 0 |
| @@ -31,11 +19,6 @@ local tbl = { | |||
| 31 | return 1234 | 19 | return 1234 |
| 32 | end)() | 20 | end)() |
| 33 | } | 21 | } |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 39 | local status, value | 22 | local status, value |
| 40 | do | 23 | do |
| 41 | repeat | 24 | repeat |
| @@ -48,6 +31,11 @@ do | |||
| 48 | break | 31 | break |
| 49 | until true | 32 | until true |
| 50 | end | 33 | end |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 51 | local counter | 39 | local counter |
| 52 | do | 40 | do |
| 53 | local i = 0 | 41 | local i = 0 |
| @@ -64,6 +52,18 @@ local tbl = { | |||
| 64 | return 1234 | 52 | return 1234 |
| 65 | end)() | 53 | end)() |
| 66 | } | 54 | } |
| 55 | local status, value | ||
| 56 | do | ||
| 57 | repeat | ||
| 58 | local n = 12 | ||
| 59 | if n > 10 then | ||
| 60 | status, value = "large", n | ||
| 61 | break | ||
| 62 | end | ||
| 63 | status, value = "small", n | ||
| 64 | break | ||
| 65 | until true | ||
| 66 | end | ||
| 67 | if name == "Rob" then | 67 | if name == "Rob" then |
| 68 | print("hello world") | 68 | print("hello world") |
| 69 | end | 69 | end |
| @@ -2204,7 +2204,7 @@ end | |||
| 2204 | _with_0[#_with_0 + 1] = "abc" | 2204 | _with_0[#_with_0 + 1] = "abc" |
| 2205 | local _with_0 = obj | 2205 | local _with_0 = obj |
| 2206 | if _with_0 ~= nil then | 2206 | if _with_0 ~= nil then |
| 2207 | print(obj.name) | 2207 | print(_with_0.name) |
| 2208 | end | 2208 | end |
| 2209 | local _with_0 = Person() | 2209 | local _with_0 = Person() |
| 2210 | _with_0.name = "Oswald" | 2210 | _with_0.name = "Oswald" |
| @@ -2262,7 +2262,7 @@ end | |||
| 2262 | _with_0[#_with_0 + 1] = "abc" | 2262 | _with_0[#_with_0 + 1] = "abc" |
| 2263 | local _with_0 = obj | 2263 | local _with_0 = obj |
| 2264 | if _with_0 ~= nil then | 2264 | if _with_0 ~= nil then |
| 2265 | print(obj.name) | 2265 | print(_with_0.name) |
| 2266 | end | 2266 | end |
| 2267 | local hello = "world" | 2267 | local hello = "world" |
| 2268 | local a, b, c = 1, 2, 3 | 2268 | 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 | |||
| 3 | print(var) | 3 | print(var) |
| 4 | end | 4 | end |
| 5 | print(var) | 5 | print(var) |
| 6 | local status, value | ||
| 7 | do | ||
| 8 | repeat | ||
| 9 | local n = 12 | ||
| 10 | if n > 10 then | ||
| 11 | status, value = "large", n | ||
| 12 | break | ||
| 13 | end | ||
| 14 | status, value = "small", n | ||
| 15 | break | ||
| 16 | until true | ||
| 17 | end | ||
| 18 | local counter | 6 | local counter |
| 19 | do | 7 | do |
| 20 | local i = 0 | 8 | local i = 0 |
| @@ -31,11 +19,6 @@ local tbl = { | |||
| 31 | return 1234 | 19 | return 1234 |
| 32 | end)() | 20 | end)() |
| 33 | } | 21 | } |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 39 | local status, value | 22 | local status, value |
| 40 | do | 23 | do |
| 41 | repeat | 24 | repeat |
| @@ -48,6 +31,11 @@ do | |||
| 48 | break | 31 | break |
| 49 | until true | 32 | until true |
| 50 | end | 33 | end |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 51 | local counter | 39 | local counter |
| 52 | do | 40 | do |
| 53 | local i = 0 | 41 | local i = 0 |
| @@ -64,6 +52,18 @@ local tbl = { | |||
| 64 | return 1234 | 52 | return 1234 |
| 65 | end)() | 53 | end)() |
| 66 | } | 54 | } |
| 55 | local status, value | ||
| 56 | do | ||
| 57 | repeat | ||
| 58 | local n = 12 | ||
| 59 | if n > 10 then | ||
| 60 | status, value = "large", n | ||
| 61 | break | ||
| 62 | end | ||
| 63 | status, value = "small", n | ||
| 64 | break | ||
| 65 | until true | ||
| 66 | end | ||
| 67 | if name == "Rob" then | 67 | if name == "Rob" then |
| 68 | print("hello world") | 68 | print("hello world") |
| 69 | end | 69 | end |
| @@ -2204,7 +2204,7 @@ end | |||
| 2204 | _with_0[#_with_0 + 1] = "abc" | 2204 | _with_0[#_with_0 + 1] = "abc" |
| 2205 | local _with_0 = obj | 2205 | local _with_0 = obj |
| 2206 | if _with_0 ~= nil then | 2206 | if _with_0 ~= nil then |
| 2207 | print(obj.name) | 2207 | print(_with_0.name) |
| 2208 | end | 2208 | end |
| 2209 | local _with_0 = Person() | 2209 | local _with_0 = Person() |
| 2210 | _with_0.name = "Oswald" | 2210 | _with_0.name = "Oswald" |
| @@ -2262,7 +2262,7 @@ end | |||
| 2262 | _with_0[#_with_0 + 1] = "abc" | 2262 | _with_0[#_with_0 + 1] = "abc" |
| 2263 | local _with_0 = obj | 2263 | local _with_0 = obj |
| 2264 | if _with_0 ~= nil then | 2264 | if _with_0 ~= nil then |
| 2265 | print(obj.name) | 2265 | print(_with_0.name) |
| 2266 | end | 2266 | end |
| 2267 | local hello = "world" | 2267 | local hello = "world" |
| 2268 | local a, b, c = 1, 2, 3 | 2268 | 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 | |||
| 3 | print(var) | 3 | print(var) |
| 4 | end | 4 | end |
| 5 | print(var) | 5 | print(var) |
| 6 | local status, value | ||
| 7 | do | ||
| 8 | repeat | ||
| 9 | local n = 12 | ||
| 10 | if n > 10 then | ||
| 11 | status, value = "large", n | ||
| 12 | break | ||
| 13 | end | ||
| 14 | status, value = "small", n | ||
| 15 | break | ||
| 16 | until true | ||
| 17 | end | ||
| 18 | local counter | 6 | local counter |
| 19 | do | 7 | do |
| 20 | local i = 0 | 8 | local i = 0 |
| @@ -31,11 +19,6 @@ local tbl = { | |||
| 31 | return 1234 | 19 | return 1234 |
| 32 | end)() | 20 | end)() |
| 33 | } | 21 | } |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 39 | local status, value | 22 | local status, value |
| 40 | do | 23 | do |
| 41 | repeat | 24 | repeat |
| @@ -48,6 +31,11 @@ do | |||
| 48 | break | 31 | break |
| 49 | until true | 32 | until true |
| 50 | end | 33 | end |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 51 | local counter | 39 | local counter |
| 52 | do | 40 | do |
| 53 | local i = 0 | 41 | local i = 0 |
| @@ -64,6 +52,18 @@ local tbl = { | |||
| 64 | return 1234 | 52 | return 1234 |
| 65 | end)() | 53 | end)() |
| 66 | } | 54 | } |
| 55 | local status, value | ||
| 56 | do | ||
| 57 | repeat | ||
| 58 | local n = 12 | ||
| 59 | if n > 10 then | ||
| 60 | status, value = "large", n | ||
| 61 | break | ||
| 62 | end | ||
| 63 | status, value = "small", n | ||
| 64 | break | ||
| 65 | until true | ||
| 66 | end | ||
| 67 | if name == "Rob" then | 67 | if name == "Rob" then |
| 68 | print("hello world") | 68 | print("hello world") |
| 69 | end | 69 | end |
| @@ -2204,7 +2204,7 @@ end | |||
| 2204 | _with_0[#_with_0 + 1] = "abc" | 2204 | _with_0[#_with_0 + 1] = "abc" |
| 2205 | local _with_0 = obj | 2205 | local _with_0 = obj |
| 2206 | if _with_0 ~= nil then | 2206 | if _with_0 ~= nil then |
| 2207 | print(obj.name) | 2207 | print(_with_0.name) |
| 2208 | end | 2208 | end |
| 2209 | local _with_0 = Person() | 2209 | local _with_0 = Person() |
| 2210 | _with_0.name = "Oswald" | 2210 | _with_0.name = "Oswald" |
| @@ -2262,7 +2262,7 @@ end | |||
| 2262 | _with_0[#_with_0 + 1] = "abc" | 2262 | _with_0[#_with_0 + 1] = "abc" |
| 2263 | local _with_0 = obj | 2263 | local _with_0 = obj |
| 2264 | if _with_0 ~= nil then | 2264 | if _with_0 ~= nil then |
| 2265 | print(obj.name) | 2265 | print(_with_0.name) |
| 2266 | end | 2266 | end |
| 2267 | local hello = "world" | 2267 | local hello = "world" |
| 2268 | local a, b, c = 1, 2, 3 | 2268 | 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 | |||
| 3 | print(var) | 3 | print(var) |
| 4 | end | 4 | end |
| 5 | print(var) | 5 | print(var) |
| 6 | local status, value | ||
| 7 | do | ||
| 8 | repeat | ||
| 9 | local n = 12 | ||
| 10 | if n > 10 then | ||
| 11 | status, value = "large", n | ||
| 12 | break | ||
| 13 | end | ||
| 14 | status, value = "small", n | ||
| 15 | break | ||
| 16 | until true | ||
| 17 | end | ||
| 18 | local counter | 6 | local counter |
| 19 | do | 7 | do |
| 20 | local i = 0 | 8 | local i = 0 |
| @@ -31,11 +19,6 @@ local tbl = { | |||
| 31 | return 1234 | 19 | return 1234 |
| 32 | end)() | 20 | end)() |
| 33 | } | 21 | } |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 39 | local status, value | 22 | local status, value |
| 40 | do | 23 | do |
| 41 | repeat | 24 | repeat |
| @@ -48,6 +31,11 @@ do | |||
| 48 | break | 31 | break |
| 49 | until true | 32 | until true |
| 50 | end | 33 | end |
| 34 | do | ||
| 35 | local var = "hello" | ||
| 36 | print(var) | ||
| 37 | end | ||
| 38 | print(var) | ||
| 51 | local counter | 39 | local counter |
| 52 | do | 40 | do |
| 53 | local i = 0 | 41 | local i = 0 |
| @@ -64,6 +52,18 @@ local tbl = { | |||
| 64 | return 1234 | 52 | return 1234 |
| 65 | end)() | 53 | end)() |
| 66 | } | 54 | } |
| 55 | local status, value | ||
| 56 | do | ||
| 57 | repeat | ||
| 58 | local n = 12 | ||
| 59 | if n > 10 then | ||
| 60 | status, value = "large", n | ||
| 61 | break | ||
| 62 | end | ||
| 63 | status, value = "small", n | ||
| 64 | break | ||
| 65 | until true | ||
| 66 | end | ||
| 67 | if name == "Rob" then | 67 | if name == "Rob" then |
| 68 | print("你好,世界") | 68 | print("你好,世界") |
| 69 | end | 69 | end |
| @@ -2204,7 +2204,7 @@ end | |||
| 2204 | _with_0[#_with_0 + 1] = "abc" | 2204 | _with_0[#_with_0 + 1] = "abc" |
| 2205 | local _with_0 = obj | 2205 | local _with_0 = obj |
| 2206 | if _with_0 ~= nil then | 2206 | if _with_0 ~= nil then |
| 2207 | print(obj.name) | 2207 | print(_with_0.name) |
| 2208 | end | 2208 | end |
| 2209 | local _with_0 = Person() | 2209 | local _with_0 = Person() |
| 2210 | _with_0.name = "Oswald" | 2210 | _with_0.name = "Oswald" |
| @@ -2262,7 +2262,7 @@ end | |||
| 2262 | _with_0[#_with_0 + 1] = "abc" | 2262 | _with_0[#_with_0 + 1] = "abc" |
| 2263 | local _with_0 = obj | 2263 | local _with_0 = obj |
| 2264 | if _with_0 ~= nil then | 2264 | if _with_0 ~= nil then |
| 2265 | print(obj.name) | 2265 | print(_with_0.name) |
| 2266 | end | 2266 | end |
| 2267 | local hello = "world" | 2267 | local hello = "world" |
| 2268 | local a, b, c = 1, 2, 3 | 2268 | local a, b, c = 1, 2, 3 |
