diff options
| author | Li Jin <dragon-fly@qq.com> | 2024-08-05 17:20:00 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2024-08-05 17:20:00 +0800 |
| commit | 94edfbc8c7d62d700dfb59334a0ed3beedd49493 (patch) | |
| tree | f695cec8b8873d5a6e763ac94bf3c81fb6ba0be9 /spec/outputs/codes_from_doc.lua | |
| parent | f8cd1220147d606b7e96f88c12fd0f163fb4e1c5 (diff) | |
| download | yuescript-94edfbc8c7d62d700dfb59334a0ed3beedd49493.tar.gz yuescript-94edfbc8c7d62d700dfb59334a0ed3beedd49493.tar.bz2 yuescript-94edfbc8c7d62d700dfb59334a0ed3beedd49493.zip | |
add macros generating macros feature.v0.23.9
Diffstat (limited to 'spec/outputs/codes_from_doc.lua')
| -rw-r--r-- | spec/outputs/codes_from_doc.lua | 2 |
1 files changed, 2 insertions, 0 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 |
