about summary refs log tree commit diff stats
path: root/cpp/010vm
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-21 21:53:41 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-21 21:53:41 -0800
commitfe67d47aa4598497e295510cf27f702a3e118632 (patch)
treeda8d72108543168dc6c0ceee252fa82158639582 /cpp/010vm
parent35e535712d43031d97a5da5fcbc38fb946c0b9dd (diff)
downloadmu-fe67d47aa4598497e295510cf27f702a3e118632.tar.gz
810
Diffstat (limited to 'cpp/010vm')
-rw-r--r--cpp/010vm3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/010vm b/cpp/010vm
index cf064581..2f2268ba 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -99,7 +99,8 @@ struct type_info {
   bool is_record;
   bool is_array;
   vector<type_number> target;  // only if is_address
-  vector<vector<type_number> > elements;  // only if is_record or is_array
+  vector<vector<type_number> > elements;  // only if is_record
+  vector<type_number> element;  // only if is_array
   type_info() :size(0), is_address(false), is_record(false), is_array(false) {}
 };