diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-09-15 00:52:08 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-09-15 00:52:08 -0700 |
commit | fa2554eb0e5dc49f0e30b2e38eab705612c22a9a (patch) | |
tree | 62a5e3a0e14ce489609136b772e693f9a407deb4 | |
parent | 2d8870d90386ec1255538fbced1c5e3cc5869204 (diff) | |
download | mu-fa2554eb0e5dc49f0e30b2e38eab705612c22a9a.tar.gz |
3999
-rw-r--r-- | 043space.cc | 8 | ||||
-rw-r--r-- | 044space_surround.cc | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/043space.cc b/043space.cc index 647176c4..76faa5d3 100644 --- a/043space.cc +++ b/043space.cc @@ -12,7 +12,7 @@ put(Type_abbreviations, "scope", new_type_tree("address:array:location")); # if default-space is 10, and if an array of 5 locals lies from location 12 to 16 (inclusive), # then local 0 is really location 12, local 1 is really location 13, and so on. def main [ - # pretend address:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use 'new' 10:num <- copy 0 # refcount 11:num <- copy 5 # length default-space:space <- copy 10/unsafe @@ -24,7 +24,7 @@ def main [ def main [ # pretend pointer from outside (2000 reserved for refcount) 2001:num <- copy 34 - # pretend address:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use 'new" 1000:num <- copy 0 # refcount 1001:num <- copy 5 # length # actual start of this recipe @@ -120,7 +120,7 @@ def main [ # pretend pointer to container from outside (2000 reserved for refcount) 2001:num <- copy 34 2002:num <- copy 35 - # pretend address:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use 'new' 1000:num <- copy 0 # refcount 1001:num <- copy 5 # length # actual start of this recipe @@ -141,7 +141,7 @@ def main [ 2001:num <- copy 2 # length 2002:num <- copy 34 2003:num <- copy 35 - # pretend address:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use 'new' 1000:num <- copy 0 # refcount 1001:num <- copy 5 # length # actual start of this recipe diff --git a/044space_surround.cc b/044space_surround.cc index f274f2d0..a8529adb 100644 --- a/044space_surround.cc +++ b/044space_surround.cc @@ -7,10 +7,10 @@ :(scenario surrounding_space) # location 1 in space 1 refers to the space surrounding the default space, here 20. def main [ - # pretend address:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use 'new' 10:num <- copy 0 # refcount 11:num <- copy 5 # length - # pretend address:array:location; in practice we'll use new + # pretend address:array:location; in practice we'll use 'new" 20:num <- copy 0 # refcount 21:num <- copy 5 # length # actual start of this recipe |