ispc/ispc — Issue #123: Allow not-enough values in array/struct expr lists
Author: mmp
Created: 2011-11-30 18:28:17+00:00
State: open
Labels: c compatability

C says that it's ok to do things like:

```
int a[5] = { 1, 2 };
```

And that the trailing values will be initialized to zero. Currently, we issue an error. It'd be nice to have matching behavior.

As part of this, it would be good to unify the code that is used for processing these expr lists initializers for globals and for locals--currently they're handled separately in module.cpp and stmt.cpp, respectively.