aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/macro.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/macro.lux')
-rw-r--r--stdlib/source/library/lux/macro.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/macro.lux b/stdlib/source/library/lux/macro.lux
index cb81d841b..3f1d04553 100644
--- a/stdlib/source/library/lux/macro.lux
+++ b/stdlib/source/library/lux/macro.lux
@@ -128,7 +128,7 @@
(~ body))))))
_
- (//.failure (..wrong_syntax_error (name_of ..with_identifiers)))))
+ (//.failure (..wrong_syntax_error (symbol ..with_identifiers)))))
(def: .public (one_expansion token)
(-> Code (Meta Code))
@@ -143,8 +143,8 @@
(template [<macro> <func>]
[(macro: .public (<macro> tokens)
- (let [[module _] (name_of .._)
- [_ short] (name_of <macro>)
+ (let [[module _] (symbol .._)
+ [_ short] (symbol <macro>)
macro_name [module short]]
(case (: (Maybe [Bit Code])
(case tokens