diff options
| author | Li Jin <dragon-fly@qq.com> | 2025-09-15 19:59:55 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2025-09-15 19:59:55 +0800 |
| commit | 3b97540cc9a9b9409998454632d242b9bb12cb13 (patch) | |
| tree | e174ea74ae68cc8785688f3d6b6aca5bef2d9c2e | |
| parent | 55149f8864c6c3e1c1fff9268384f8302dc5488d (diff) | |
| download | yuescript-3b97540cc9a9b9409998454632d242b9bb12cb13.tar.gz yuescript-3b97540cc9a9b9409998454632d242b9bb12cb13.tar.bz2 yuescript-3b97540cc9a9b9409998454632d242b9bb12cb13.zip | |
Fix.
| -rw-r--r-- | spec/inputs/unicode/macro.yue | 1 | ||||
| -rw-r--r-- | spec/outputs/unicode/macro.lua | 23 |
2 files changed, 10 insertions, 14 deletions
diff --git a/spec/inputs/unicode/macro.yue b/spec/inputs/unicode/macro.yue index 79d3c07..50656ae 100644 --- a/spec/inputs/unicode/macro.yue +++ b/spec/inputs/unicode/macro.yue | |||
| @@ -201,7 +201,6 @@ $链式调用( | |||
| 201 | 选择可见! | 201 | 选择可见! |
| 202 | 标签等于 "fx" | 202 | 标签等于 "fx" |
| 203 | 其中 (x)-> x.名称\结尾为 "(克隆)" | 203 | 其中 (x)-> x.名称\结尾为 "(克隆)" |
| 204 | 摧毁! | ||
| 205 | ) | 204 | ) |
| 206 | 205 | ||
| 207 | macro 链式调用B = (...)-> | 206 | macro 链式调用B = (...)-> |
diff --git a/spec/outputs/unicode/macro.lua b/spec/outputs/unicode/macro.lua index b4e78cd..986ff32 100644 --- a/spec/outputs/unicode/macro.lua +++ b/spec/outputs/unicode/macro.lua | |||
| @@ -273,22 +273,19 @@ local _call_1 = ((function() | |||
| 273 | local _call_1 = ((function() | 273 | local _call_1 = ((function() |
| 274 | local _call_1 = ((function() | 274 | local _call_1 = ((function() |
| 275 | local _call_1 = ((function() | 275 | local _call_1 = ((function() |
| 276 | local _call_1 = ((function() | 276 | local _call_1 = (_anon_func_2(_u539f_u70b9)) |
| 277 | local _call_1 = (_anon_func_2(_u539f_u70b9)) | 277 | return _call_1["后代"](_call_1) |
| 278 | return _call_1["后代"](_call_1) | ||
| 279 | end)()) | ||
| 280 | return _call_1["选择启用"](_call_1) | ||
| 281 | end)()) | 278 | end)()) |
| 282 | return _call_1["选择见"](_call_1) | 279 | return _call_1["选择用"](_call_1) |
| 283 | end)()) | 280 | end)()) |
| 284 | return _call_1["标签于"](_call_1, "fx") | 281 | return _call_1["择可见"](_call_1) |
| 285 | end)()) | 282 | end)()) |
| 286 | return _call_1["其中"](_call_1, function(x) | 283 | return _call_1["标签等于"](_call_1, "fx") |
| 287 | local _call_2 = x["名称"] | ||
| 288 | return _call_2["结尾为"](_call_2, "(克隆)") | ||
| 289 | end) | ||
| 290 | end)()) | 284 | end)()) |
| 291 | _u7ed3_u679c = _call_1["摧毁"](_call_1) | 285 | _u7ed3_u679c = _call_1["其中"](_call_1, function(x) |
| 286 | local _call_2 = x["名称"] | ||
| 287 | return _call_2["结尾为"](_call_2, "(克隆)") | ||
| 288 | end) | ||
| 292 | do | 289 | do |
| 293 | do | 290 | do |
| 294 | local _1 | 291 | local _1 |
| @@ -346,7 +343,7 @@ _u6253_u5370((setmetatable({ | |||
| 346 | return 998 | 343 | return 998 |
| 347 | end | 344 | end |
| 348 | })) | 345 | })) |
| 349 | _u6253_u5370("当前代码行数: " .. tostring(268)) | 346 | _u6253_u5370("当前代码行数: " .. tostring(267)) |
| 350 | do | 347 | do |
| 351 | do | 348 | do |
| 352 | -- 待实现 | 349 | -- 待实现 |
