about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--055parse_tree.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/055parse_tree.cc b/055parse_tree.cc
index 1260bf36..8f93c1c7 100644
--- a/055parse_tree.cc
+++ b/055parse_tree.cc
@@ -59,9 +59,14 @@ string_tree* parse_string_tree(istream& in) {
 :(scenario dilated_reagent_with_type_tree)
 % Hide_errors = true;  // 'map' isn't defined yet
 recipe main [
-  {1: (map (address array character) (list number))} <- copy 34
+  {1: (foo (address array character) (bar number))} <- copy 34
 ]
-+parse:   product: {"1": <"map" : <<"address" : <"array" : <"character" : <>>>> : <<"list" : <"number" : <>>> : <>>>>}
+# just to avoid errors
+container foo [
+]
+container bar [
+]
++parse:   product: {"1": <"foo" : <<"address" : <"array" : <"character" : <>>>> : <<"bar" : <"number" : <>>> : <>>>>}
 
 //: an exception is 'new', which takes a type tree as its ingredient *value*