diff options
Diffstat (limited to '054parse_tree.cc')
-rw-r--r-- | 054parse_tree.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/054parse_tree.cc b/054parse_tree.cc index 8724b6f4..0ad8773f 100644 --- a/054parse_tree.cc +++ b/054parse_tree.cc @@ -72,10 +72,10 @@ container bar [ :(scenario dilated_reagent_in_static_array) def main [ {1: (array (address shared number) 3)} <- create-array - 5:address:address:shared:number <- index-address {1: (array (address shared number) 3)}, 0 - *5:address:address:shared:number <- new number:type - **5:address:address:shared:number <- copy 34 - 6:number <- copy **5:address:address:shared:number + 5:address:shared:number <- new number:type + {1: (array (address shared number) 3)} <- put-index {1: (array (address shared number) 3)}, 0, 5:address:shared:number + *5:address:shared:number <- copy 34 + 6:number <- copy *5:address:shared:number ] +run: creating array of size 4 +mem: storing 34 in location 6 |