aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/compiler/language/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/meta/compiler/language/lux.lux7
1 files changed, 3 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/meta/compiler/language/lux.lux b/stdlib/source/library/lux/meta/compiler/language/lux.lux
index d8fd8a22e..58b2833b9 100644
--- a/stdlib/source/library/lux/meta/compiler/language/lux.lux
+++ b/stdlib/source/library/lux/meta/compiler/language/lux.lux
@@ -23,7 +23,7 @@
(def .public format
(Format .Module)
(let [definition (is (Format Definition)
- (all _.and _.bit _.type _.any))
+ (all _.and _.type _.any))
alias (is (Format Alias)
(_.and _.text _.text))
global (is (Format Global)
@@ -37,7 +37,7 @@
... #module_aliases
(_.list alias)
... #definitions
- (_.list (_.and _.text global))
+ (_.list (_.and _.text (_.and _.bit global)))
... #imports
(_.list _.text)
... #module_state
@@ -47,7 +47,6 @@
(Parser .Module)
(let [definition (is (Parser Definition)
(all <>.and
- <binary>.bit
<binary>.type
<binary>.any))
alias (is (Parser Alias)
@@ -65,7 +64,7 @@
... #module_aliases
(<binary>.list alias)
... #definitions
- (<binary>.list (<>.and <binary>.text global))
+ (<binary>.list (<>.and <binary>.text (<>.and <binary>.bit global)))
... #imports
(<binary>.list <binary>.text)
... #module_state