diff options
author | Li Jin <dragon-fly@qq.com> | 2022-07-05 11:25:59 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-07-05 11:25:59 +0800 |
commit | 3106afc2473ce12787e1fcae2e2c3a101214045d (patch) | |
tree | d85296ea11e389fcd989ed5a4d3a71add73dde02 /spec/inputs/macro.yue | |
parent | ce9338c540ac3397f3d15c442033a618d12c5105 (diff) | |
download | yuescript-3106afc2473ce12787e1fcae2e2c3a101214045d.tar.gz yuescript-3106afc2473ce12787e1fcae2e2c3a101214045d.tar.bz2 yuescript-3106afc2473ce12787e1fcae2e2c3a101214045d.zip |
disable exporting macro from a normal module.
Diffstat (limited to 'spec/inputs/macro.yue')
-rw-r--r-- | spec/inputs/macro.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/macro.yue b/spec/inputs/macro.yue index 37702d1..e391b9e 100644 --- a/spec/inputs/macro.yue +++ b/spec/inputs/macro.yue | |||
@@ -3,7 +3,7 @@ $ -> | |||
3 | 3 | ||
4 | import "macro-export" as { | 4 | import "macro-export" as { |
5 | $, -- import all macros | 5 | $, -- import all macros |
6 | $config:$myconfig, -- rename macro $config to $myconfig | 6 | $config: $myconfig, -- rename macro $config to $myconfig |
7 | } | 7 | } |
8 | 8 | ||
9 | import "macro-todo" as $ | 9 | import "macro-todo" as $ |