aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/control/parser/code.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/control/parser/code.lux')
-rw-r--r--stdlib/source/test/lux/control/parser/code.lux11
1 files changed, 6 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/control/parser/code.lux b/stdlib/source/test/lux/control/parser/code.lux
index 70afee9b7..aee053104 100644
--- a/stdlib/source/test/lux/control/parser/code.lux
+++ b/stdlib/source/test/lux/control/parser/code.lux
@@ -10,7 +10,6 @@
["<>" parser]]
[data
["[0]" bit]
- ["[0]" name]
["[0]" text]
[collection
["[0]" list]]]
@@ -22,7 +21,9 @@
["[0]" nat]
["[0]" int]
["[0]" rev]
- ["[0]" frac]]]]]
+ ["[0]" frac]]]
+ [meta
+ ["[0]" symbol]]]]
[\\library
["[0]" /]])
@@ -34,8 +35,8 @@
_
false)])
-(def: random_name
- (Random Name)
+(def: random_symbol
+ (Random Symbol)
(random.and (random.unicode 1)
(random.unicode 1)))
@@ -74,7 +75,7 @@
[/.rev /.rev! random.rev code.rev rev.equivalence]
[/.frac /.frac! random.safe_frac code.frac frac.equivalence]
[/.text /.text! (random.unicode 1) code.text text.equivalence]
- [/.identifier /.identifier! ..random_name code.identifier name.equivalence]
+ [/.identifier /.identifier! ..random_symbol code.identifier symbol.equivalence]
[/.local_identifier /.local_identifier! (random.unicode 1) code.local_identifier text.equivalence]
))
(~~ (template [<query> <code>]