Skip to content

Commit 0c46ce1

Browse files
initialising a vector with no dimension (CPC) #961
1 parent 56c5e67 commit 0c46ce1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ugbc/src/ugbc.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6555,6 +6555,7 @@ array_assign:
65556555
}
65566556
} else {
65576557
((struct _Environment *)_environment)->currentArray->arrayDimensionsEach[0] = size / ( VT_BITWIDTH( ((struct _Environment *)_environment)->currentArray->arrayType ) / 8 );
6558+
((struct _Environment *)_environment)->currentArray->size = size;
65586559
}
65596560
}
65606561

0 commit comments

Comments
 (0)