about summary refs log tree commit diff stats
path: root/cpp/010vm
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-26 20:58:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-26 20:58:50 -0700
commitd265f2bd75bb193573931418288bbd031baa8705 (patch)
treed7246327d6634e577eedff43bd07b0e17ea6b3a6 /cpp/010vm
parentf48f6c143583d809984d8f3b902a99c00ba8a4a4 (diff)
downloadmu-d265f2bd75bb193573931418288bbd031baa8705.tar.gz
981
Diffstat (limited to 'cpp/010vm')
-rw-r--r--cpp/010vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/010vm b/cpp/010vm
index 1a33fe50..f1ab32b0 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -103,7 +103,7 @@ struct type_info {
   string name;
   bool is_record;
   bool is_array;
-  size_t size;  // only if is_record
+  size_t size;  // only if is_record; primitives and addresses have size 1 while arrays are dynamic
   vector<vector<type_number> > elements;  // only if is_record
   vector<string> element_names;  // only if is_record
   vector<type_number> element;  // only if is_array