From 7e9c69251b700dbdec47dee47f37ba1194ad88e9 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 26 Mar 2015 21:47:29 -0700 Subject: 983 - arc 'integer-array' => c++ 'array:integer' --- cpp/010vm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/010vm') diff --git a/cpp/010vm b/cpp/010vm index c54e5441..c3f3286d 100644 --- a/cpp/010vm +++ b/cpp/010vm @@ -86,6 +86,8 @@ void setup_types() { Type[address].name = "address"; int boolean = Type_number["boolean"] = Next_type_number++; Type[boolean].name = "boolean"; + int array = Type_number["array"] = Next_type_number++; + Type[array].name = "array"; // End Mu Types Initialization. } :(before "End Setup") @@ -101,13 +103,11 @@ void setup_types() { struct type_info { string name; bool is_record; - bool is_array; size_t size; // only if is_record; primitives and addresses have size 1 while arrays are dynamic vector > elements; // only if is_record vector element_names; // only if is_record - vector element; // only if is_array // End type_info Fields. - type_info() :is_record(false), is_array(false), size(0) {} + type_info() :is_record(false), size(0) {} }; :(before "End Globals") -- cgit 1.4.1-2-gfad0