From 1fb0cf9ef9e616163039fd4df6584c6c2ba68d23 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 12 May 2018 19:55:21 -0700 Subject: 4243 --- html/033exclusive_container.cc.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'html/033exclusive_container.cc.html') diff --git a/html/033exclusive_container.cc.html b/html/033exclusive_container.cc.html index bf6acc18..c1f9c9b9 100644 --- a/html/033exclusive_container.cc.html +++ b/html/033exclusive_container.cc.html @@ -73,7 +73,7 @@ if ('onhashchange' in window) { 9 { 10 type_ordinal tmp = put(Type_ordinal, "number-or-point", Next_type_ordinal++); 11 get_or_insert(Type, tmp); // initialize - 12 get(Type, tmp).kind = EXCLUSIVE_CONTAINER; + 12 get(Type, tmp).kind = EXCLUSIVE_CONTAINER; 13 get(Type, tmp).name = "number-or-point"; 14 get(Type, tmp).elements.push_back(reagent("i:number")); 15 get(Type, tmp).elements.push_back(reagent("p:point")); @@ -95,12 +95,12 @@ if ('onhashchange' in window) { 31 +mem: storing 35 in location 6 32 33 :(before "End size_of(type) Special-cases") - 34 if (t.kind == EXCLUSIVE_CONTAINER) { + 34 if (t.kind == EXCLUSIVE_CONTAINER) { 35 // Compute size_of Exclusive Container 36 return get(Container_metadata, type).size; 37 } 38 :(before "End compute_container_sizes Atom Special-cases") - 39 if (info.kind == EXCLUSIVE_CONTAINER) { + 39 if (info.kind == EXCLUSIVE_CONTAINER) { 40 compute_exclusive_container_sizes(info, type, pending_metadata, location_for_error_messages); 41 } 42 @@ -175,7 +175,7 @@ if ('onhashchange' in window) { 111 } 112 const type_tree* base_type = base.type; 113 // Update MAYBE_CONVERT base_type in Check -114 if (!base_type->atom || base_type->value == 0 || !contains_key(Type, base_type->value) || get(Type, base_type->value).kind != EXCLUSIVE_CONTAINER) { +114 if (!base_type->atom || base_type->value == 0 || !contains_key(Type, base_type->value) || get(Type, base_type->value).kind != EXCLUSIVE_CONTAINER) { 115 raise << maybe(caller.name) << "first ingredient of 'maybe-convert' should be an exclusive-container, but got '" << base.original_string << "'\n" << end(); 116 break; 117 } @@ -256,7 +256,7 @@ if ('onhashchange' in window) { 192 assert(contains_key(Type, root_type->value)); 193 assert(!get(Type, root_type->value).name.empty()); 194 const type_info& info = get(Type, root_type->value); -195 assert(info.kind == EXCLUSIVE_CONTAINER); +195 assert(info.kind == EXCLUSIVE_CONTAINER); 196 reagent/*copy*/ element = info.elements.at(tag); 197 // End variant_type Special-cases 198 return element; @@ -294,7 +294,7 @@ if ('onhashchange' in window) { 230 231 :(before "End Command Handlers") 232 else if (command == "exclusive-container") { -233 insert_container(command, EXCLUSIVE_CONTAINER, in); +233 insert_container(command, EXCLUSIVE_CONTAINER, in); 234 } 235 236 //: arrays are disallowed inside exclusive containers unless their length is @@ -380,7 +380,7 @@ if ('onhashchange' in window) { 316 $error: 0 317 318 :(before "End check_merge_call Special-cases") -319 case EXCLUSIVE_CONTAINER: { +319 case EXCLUSIVE_CONTAINER: { 320 assert(state.data.top().container_element_index == 0); 321 trace("transform") << "checking exclusive container " << to_string(container) << " vs ingredient " << ingredient_index << end(); 322 // easy case: exact match @@ -509,7 +509,7 @@ if ('onhashchange' in window) { 445 // Update size_mismatch Check for MERGE(x) 446 const type_tree* root_type = x.type->atom ? x.type : x.type->left; 447 assert(root_type->atom); -448 if (get(Type, root_type->value).kind == EXCLUSIVE_CONTAINER) +448 if (get(Type, root_type->value).kind == EXCLUSIVE_CONTAINER) 449 return size_of(x) < SIZE(data); 450 } 451 -- cgit 1.4.1-2-gfad0