dattalo - Added bank1.c and string1.c to test banking and character strings in the...
[fw/sdcc] / src / SDCCval.c
index e861392109534e828725b1876aff65189ed4483f..02172a723a5688fd649c822f3c7cb2eca4507977 100644 (file)
@@ -1457,7 +1457,7 @@ getNelements (sym_link * type, initList * ilist)
   if (!ilist)
     return 0;
 
-  if (ilist->type == INIT_DEEP)
+  while (ilist->type == INIT_DEEP)
     ilist = ilist->init.deep;
 
   /* if type is a character array and there is only one