diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-10-15 09:38:01 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-10-15 09:38:01 +0800 |
| commit | 2a7256ea8cb8a292d8f395c13ed2462df4c084a0 (patch) | |
| tree | 03600fe01a7b4fd6c49f80eb1e570503bdc5bee4 /spec/inputs/macro_export.mp | |
| parent | b4687f90305c24149a5d43d84bf64fa192dae8f8 (diff) | |
| download | yuescript-2a7256ea8cb8a292d8f395c13ed2462df4c084a0.tar.gz yuescript-2a7256ea8cb8a292d8f395c13ed2462df4c084a0.tar.bz2 yuescript-2a7256ea8cb8a292d8f395c13ed2462df4c084a0.zip | |
add support to import all macros from a module with symbol '$' in import-as statement.
fix import macro rename issue.
Diffstat (limited to 'spec/inputs/macro_export.mp')
| -rw-r--r-- | spec/inputs/macro_export.mp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/macro_export.mp b/spec/inputs/macro_export.mp index 759c6d1..7208b2a 100644 --- a/spec/inputs/macro_export.mp +++ b/spec/inputs/macro_export.mp | |||
| @@ -11,7 +11,7 @@ export macro expr showMacro = (name,res)-> | |||
| 11 | print txt | 11 | print txt |
| 12 | txt" | 12 | txt" |
| 13 | else | 13 | else |
| 14 | "#{res}" | 14 | res |
| 15 | 15 | ||
| 16 | export macro block asserts = (cond)-> | 16 | export macro block asserts = (cond)-> |
| 17 | if debugMode | 17 | if debugMode |
