Mercurial > projects > ldc
comparison dmd/init.c @ 1133:eeb8b95ea92e
Cleanup DMD 1.041 merge.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Mon, 23 Mar 2009 20:26:33 +0100 |
parents | aaade6ded589 |
children | 8026319762be |
comparison
equal
deleted
inserted
replaced
1132:76e72fdef04d | 1133:eeb8b95ea92e |
---|---|
382 if (length > dim) | 382 if (length > dim) |
383 dim = length; | 383 dim = length; |
384 } | 384 } |
385 unsigned long amax = 0x80000000; | 385 unsigned long amax = 0x80000000; |
386 if ((unsigned long) dim * t->next->size() >= amax) | 386 if ((unsigned long) dim * t->next->size() >= amax) |
387 error(loc, "array dimension %u exceeds max of %llu", dim, amax / t->next->size()); | 387 error(loc, "array dimension %u exceeds max of %ju", dim, amax / t->next->size()); |
388 return this; | 388 return this; |
389 } | 389 } |
390 | 390 |
391 /******************************** | 391 /******************************** |
392 * If possible, convert array initializer to array literal. | 392 * If possible, convert array initializer to array literal. |