about summary refs log tree commit diff stats
path: root/032array.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-26 13:47:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-26 13:47:39 -0700
commit2efceef6c1626698984ee725ff733c2e0860a79e (patch)
treebca37265ed71fd1ca1436d91e534f77f193e990e /032array.cc
parent7fd010710c0a34ff103bec3fb271f0c207bfcc53 (diff)
downloadmu-2efceef6c1626698984ee725ff733c2e0860a79e.tar.gz
3260
array length = number of elements
array size = in locations
Diffstat (limited to '032array.cc')
-rw-r--r--032array.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/032array.cc b/032array.cc
index 2a4f83ae..0cb27bd3 100644
--- a/032array.cc
+++ b/032array.cc
@@ -50,7 +50,7 @@ case CREATE_ARRAY: {
   // Update CREATE_ARRAY product in Run
   int base_address = product.value;
   int array_length = to_integer(product.type->right->right->name);
-  // initialize array size, so that size_of will work
+  // initialize array length, so that size_of will work
   trace(9999, "mem") << "storing " << array_length << " in location " << base_address << end();
   put(Memory, base_address, array_length);  // in array elements
   int size = size_of(product);  // in locations