diff options
author | Li Jin <dragon-fly@qq.com> | 2023-07-28 11:53:04 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-07-28 11:53:04 +0800 |
commit | 5497775534d20ba06ab9c13bc4db1c5bee877513 (patch) | |
tree | be68d03cf0928efca4a579125e4ba15ef3ab9325 /spec/inputs/macro.yue | |
parent | f415df9617d251abd802257d9750618ccc71ca93 (diff) | |
download | yuescript-5497775534d20ba06ab9c13bc4db1c5bee877513.tar.gz yuescript-5497775534d20ba06ab9c13bc4db1c5bee877513.tar.bz2 yuescript-5497775534d20ba06ab9c13bc4db1c5bee877513.zip |
fix xpcall usages in different Lua version.
Diffstat (limited to 'spec/inputs/macro.yue')
-rw-r--r-- | spec/inputs/macro.yue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/macro.yue b/spec/inputs/macro.yue index ac51d85..ae14f53 100644 --- a/spec/inputs/macro.yue +++ b/spec/inputs/macro.yue | |||
@@ -1,9 +1,9 @@ | |||
1 | import "macro-export" as { | 1 | import "macro_export" as { |
2 | $, -- import all macros | 2 | $, -- import all macros |
3 | $config: $myconfig, -- rename macro $config to $myconfig | 3 | $config: $myconfig, -- rename macro $config to $myconfig |
4 | } | 4 | } |
5 | 5 | ||
6 | import "macro-todo" as $ | 6 | import "macro_todo" as $ |
7 | 7 | ||
8 | $asserts item == nil | 8 | $asserts item == nil |
9 | 9 | ||