diff options
| author | seyko <seyko2@gmail.com> | 2015-03-07 09:40:12 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-07 09:40:12 +0300 |
| commit | 8d4c86114492e210f801ed98bfa0424645e14c8e (patch) | |
| tree | e7ce851472ef6208dfbdadb87cb168a36f34628c /include | |
| parent | 238e760a294ca74e46d8545f0fb80ea2af522f2b (diff) | |
| download | tinycc-8d4c86114492e210f801ed98bfa0424645e14c8e.tar.gz tinycc-8d4c86114492e210f801ed98bfa0424645e14c8e.tar.bz2 | |
fix for the array in struct initialization w/o '{', case 2
a test program:
struct {
int a[2], b[2];
} cases[] = {
{ ((int)0), (((int)0)) },
((int)0), (((int)0)) /* error: ',' expected (got ")") */
};
int main() { return 0; }
This commit allow to skip ')' in the decl_initializer() and to see ','
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
