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, ... }
+}

          
M jasm/version.h +1 -1
@@ 1,1 1,1 @@ 
-1,33
+1,34

          
M jasm/website/site/index.html +8 -2
@@ 121,10 121,10 @@ 
 				<h1>The Binaries</h1>
 				<ul>
 					<li>
-						<a href="binaries/jasm_1.33_linux64.7z">jAsm 1.33 for 64-bit Linux</a>
+						<a href="binaries/jasm_1.34_linux64.7z">jAsm 1.34 for 64-bit Linux</a>
 					</li>
 					<li>
-						<a href="binaries/jasm_1.33_win64.7z">jAsm 1.33 for 64-bit Windows</a>
+						<a href="binaries/jasm_1.34_win64.7z">jAsm 1.34 for 64-bit Windows</a>
 					</li>
 				</ul>
 				<h1>The Source</h1>

          
@@ 139,6 139,12 @@ 
 				<h1>Version History</h1>
 				<ul>
 					<li>
+						1.34
+						<ul>
+							<li>Bug fix for array definitions using ellipsis. The array size was incorrect.</li>
+						</ul>
+					</li>
+					<li>
 						1.33
 						<ul>
 							<li>JSON export function.</li>