diff options
Diffstat (limited to '')
-rw-r--r-- | spec/outputs/codes_from_doc.lua | 2 | ||||
-rw-r--r-- | spec/outputs/codes_from_doc_zh.lua | 2 | ||||
-rw-r--r-- | spec/outputs/macro.lua | 11 |
3 files changed, 14 insertions, 1 deletions
diff --git a/spec/outputs/codes_from_doc.lua b/spec/outputs/codes_from_doc.lua index 6f61569..4073056 100644 --- a/spec/outputs/codes_from_doc.lua +++ b/spec/outputs/codes_from_doc.lua | |||
@@ -71,6 +71,7 @@ if cond then | |||
71 | end | 71 | end |
72 | print("yuescript") | 72 | print("yuescript") |
73 | print(3) | 73 | print(3) |
74 | print("Valid enum type:", "Static") | ||
74 | if tb ~= nil then | 75 | if tb ~= nil then |
75 | tb:func() | 76 | tb:func() |
76 | end | 77 | end |
@@ -2068,6 +2069,7 @@ if cond then | |||
2068 | end | 2069 | end |
2069 | print("yuescript") | 2070 | print("yuescript") |
2070 | print(3) | 2071 | print(3) |
2072 | print("Valid enum type:", "Static") | ||
2071 | if tb ~= nil then | 2073 | if tb ~= nil then |
2072 | tb:func() | 2074 | tb:func() |
2073 | end | 2075 | end |
diff --git a/spec/outputs/codes_from_doc_zh.lua b/spec/outputs/codes_from_doc_zh.lua index aa53926..f251450 100644 --- a/spec/outputs/codes_from_doc_zh.lua +++ b/spec/outputs/codes_from_doc_zh.lua | |||
@@ -71,6 +71,7 @@ if cond then | |||
71 | end | 71 | end |
72 | print("yuescript") | 72 | print("yuescript") |
73 | print(3) | 73 | print(3) |
74 | print("有效的枚举类型:", "Static") | ||
74 | if tb ~= nil then | 75 | if tb ~= nil then |
75 | tb:func() | 76 | tb:func() |
76 | end | 77 | end |
@@ -2062,6 +2063,7 @@ if cond then | |||
2062 | end | 2063 | end |
2063 | print("yuescript") | 2064 | print("yuescript") |
2064 | print(3) | 2065 | print(3) |
2066 | print("有效的枚举类型:", "Static") | ||
2065 | if tb ~= nil then | 2067 | if tb ~= nil then |
2066 | tb:func() | 2068 | tb:func() |
2067 | end | 2069 | end |
diff --git a/spec/outputs/macro.lua b/spec/outputs/macro.lua index 2ee3e0a..953c260 100644 --- a/spec/outputs/macro.lua +++ b/spec/outputs/macro.lua | |||
@@ -1,3 +1,12 @@ | |||
1 | print("AlwaysAutoResize") | ||
2 | print({ | ||
3 | "NoNav", | ||
4 | "NoDecoration", | ||
5 | "NoTitleBar", | ||
6 | "NoResize", | ||
7 | "NoMove", | ||
8 | "NoScrollbar" | ||
9 | }) | ||
1 | do | 10 | do |
2 | assert(item == nil) | 11 | assert(item == nil) |
3 | end | 12 | end |
@@ -285,7 +294,7 @@ print((setmetatable({ | |||
285 | return 998 | 294 | return 998 |
286 | end | 295 | end |
287 | })) | 296 | })) |
288 | print("current line: " .. tostring(268)) | 297 | print("current line: " .. tostring(301)) |
289 | do | 298 | do |
290 | -- TODO | 299 | -- TODO |
291 | end | 300 | end |