aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool
diff options
context:
space:
mode:
authorEduardo Julian2021-09-13 00:34:49 -0400
committerEduardo Julian2021-09-13 00:34:49 -0400
commit6368253e731bd20b5f9f6891306b8302ec330d38 (patch)
tree7193fe97b318a43214f547d0f640a1497d6c5957 /stdlib/source/library/lux/tool
parent376c3e472fbb1e2656f8c61b26e0276570609aa1 (diff)
Re-named #Label to #Tag.
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux4
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux2
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux2
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux2
-rw-r--r--stdlib/source/library/lux/tool/compiler/meta/io/archive.lux2
5 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux
index 0b05afdeb..877566e72 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux
@@ -53,7 +53,7 @@
{.#Type _}
(format "type " (%.name name))
- {.#Label _}
+ {.#Tag _}
(format "tag " (%.name name))
{.#Slot _}
@@ -219,5 +219,5 @@
(..define short
(if record?
{.#Slot [exported? type tags index]}
- {.#Label [exported? type tags index]})))
+ {.#Tag [exported? type tags index]})))
(list.enumeration tags))))
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux
index d80069d47..90143d032 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux
@@ -73,7 +73,7 @@
(/.except foreign_module_has_not_been_imported [current ::module])))
(/.except definition_has_not_been_exported def_name))))
- {.#Label _}
+ {.#Tag _}
(/.except labels_are_not_definitions [def_name])
{.#Slot _}
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux
index cc629f53d..bbac7e452 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux
@@ -218,7 +218,7 @@
{.#Type [exported? def_value labels]})
(in (:as Type def_value))
- (^or {.#Label _}
+ (^or {.#Tag _}
{.#Slot _})
(////.failure (exception.error ..not_a_type [(name_of .Macro')]))
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux
index 6cafe53ff..14d9b7e31 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux
@@ -332,7 +332,7 @@
{.#Type _})
(module.define alias {.#Alias original})
- (^or {.#Label _}
+ (^or {.#Tag _}
{.#Slot _})
(phase.except ..cannot_alias_a_label [[current_module alias] original]))))
diff --git a/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux
index f54bca93b..8c8df0a6f 100644
--- a/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux
+++ b/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux
@@ -327,7 +327,7 @@
[{<tag> payload}
(in [def_name {<tag> payload}])])
([.#Alias]
- [.#Label]
+ [.#Tag]
[.#Slot])
{.#Definition [exported? type _]}