aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/macro.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-07-05 11:25:59 +0800
committerLi Jin <dragon-fly@qq.com>2022-07-05 11:25:59 +0800
commit3106afc2473ce12787e1fcae2e2c3a101214045d (patch)
treed85296ea11e389fcd989ed5a4d3a71add73dde02 /spec/inputs/macro.yue
parentce9338c540ac3397f3d15c442033a618d12c5105 (diff)
downloadyuescript-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.yue2
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
4import "macro-export" as { 4import "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
9import "macro-todo" as $ 9import "macro-todo" as $