Commit e9fd48b6 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Fix parsing string as sizes (e.g. 3x4)

parent ec94a37e
......@@ -218,7 +218,7 @@ int blc_array::sscan_dims(char const *string){
size=get_type_size();
SSCANF(1, string, "%d%n", &length, &pos);
total_pos=pos;
total_pos=0;
dims_nb=0;
if (dims) FREE(dims);
if (length != 0){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment