aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/extension.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/extension.lux')
-rw-r--r--stdlib/source/library/lux/extension.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/library/lux/extension.lux b/stdlib/source/library/lux/extension.lux
index 87812cb08..91c86641e 100644
--- a/stdlib/source/library/lux/extension.lux
+++ b/stdlib/source/library/lux/extension.lux
@@ -12,7 +12,7 @@
["[0]" product]
[collection
["[0]" list ("[1]#[0]" functor)]]]
- [macro {"+" with_identifiers}
+ [macro {"+" with_symbols}
["[0]" code]
[syntax {"+" syntax:}]]
[tool
@@ -31,18 +31,18 @@
(-> Code (Parser Declaration))
(<c>.form ($_ <>.and
<c>.any
- <c>.local_identifier
- <c>.local_identifier
- <c>.local_identifier
+ <c>.local_symbol
+ <c>.local_symbol
+ <c>.local_symbol
(<c>.tuple (<>.some <c>.any)))))
(template [<any> <end> <and> <result> <extension> <name>]
[(syntax: .public (<name> [[name extension phase archive inputs] (..declaration (` <any>))
body <c>.any])
- (let [g!name (code.local_identifier extension)
- g!phase (code.local_identifier phase)
- g!archive (code.local_identifier archive)]
- (with_identifiers [g!handler g!inputs g!error g!_]
+ (let [g!name (code.local_symbol extension)
+ g!phase (code.local_symbol phase)
+ g!archive (code.local_symbol archive)]
+ (with_symbols [g!handler g!inputs g!error g!_]
(in (list (` (<extension> (~ name)
(.function ((~ g!handler) (~ g!name) (~ g!phase) (~ g!archive) (~ g!inputs))
(.case ((~! <result>)