From 15f79a66ee32a8cce7667a9c9ec718517a48f2bf Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 7 Nov 2015 08:27:16 -0800 Subject: 2385 - tests passing until layer 58 --- 055parse_tree.cc | 9 +++++++-- 1 file 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* -- cgit 1.4.1-2-gfad0