From 932efdfad9d884037594aa7efa93d0afedd6de99 Mon Sep 17 00:00:00 2001 From: Zeex Date: Sat, 4 Apr 2015 14:35:07 +0600 Subject: [PATCH] Fix 2d ellips initializer not increasing on next element Closes #48. --- source/compiler/sc1.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index 0600da7..53d4483 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -2460,7 +2460,7 @@ static cell initarray(int ident,int tag,int dim[],int numdim,int cur, constvalue *enumroot,int *errorfound) { cell dsize,totalsize=0; - int idx=0,vec_idx,abortparse=FALSE; + int idx=0,idx_ellips,vidx,abortparse=FALSE; cell *prev1=NULL,*prev2=NULL; assert(cur>=0 && cur