aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/compiler/default/syntax.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/compiler/default/syntax.lux')
-rw-r--r--stdlib/source/lux/compiler/default/syntax.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/lux/compiler/default/syntax.lux b/stdlib/source/lux/compiler/default/syntax.lux
index 5b20dcff5..7faa5a4ea 100644
--- a/stdlib/source/lux/compiler/default/syntax.lux
+++ b/stdlib/source/lux/compiler/default/syntax.lux
@@ -40,9 +40,10 @@
format]
[collection
["." row (#+ Row)]
- ["dict" dictionary (#+ Dictionary)]]]])
+ ["." dictionary (#+ Dictionary)]]]])
(type: #export Aliases (Dictionary Text Text))
+(def: #export no-aliases Aliases (dictionary.new text.Hash<Text>))
(def: white-space Text "\t\v \r\f")
(def: new-line Text "\n")
@@ -555,7 +556,7 @@
(p.either (do @
[_ (l.this name-separator)
second-part name-part^]
- (wrap [[(|> aliases (dict.get first-part) (maybe.default first-part))
+ (wrap [[(|> aliases (dictionary.get first-part) (maybe.default first-part))
second-part]
($_ n/+
(text.size first-part)