Fixed bug where array size was wrong when defined using ellipsis.
M jasm/assemble/assembler_impl/syntax_impl.cpp +5 -1
@@ 993,8 993,12 @@ const SyntaxToken *Assembler::parse_defi
 		return t;
 	}
 	
+	if (!is_fixed_array) {
+		array_length = defined_array_elements;
+	}
+
 	// create a type description for this array length
-	return_type_hash = add_array_type_description(child_type_hash, defined_array_elements);
+	return_type_hash = add_array_type_description(child_type_hash, array_length);
 
 	success = true;
 	return t;

          
A => jasm/unit_tests/results/test_array_index_with_ellipsis.bin +0 -0

        
A => jasm/unit_tests/test_array_index_with_ellipsis.asm +10 -0
@@ 0,0 1,10 @@ 
+// assembler command line arguments: 6502 65c02 65ce02 45gs02 [-v0]
+
+section code, "main", $1000, $1100
+{
+	lda array[0]
+	lda array[1]
+	rts
+
+	define byte[2] array = { 0, ... }
+}