about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-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