cimplec/sim-c

[BUG REPORT] Array initializer must detect too many commas

Chasmiccoder opened this issue · 0 comments

Describe the bug
Array initializer should detect too many commas

To Reproduce
Simc Code:
var arr[] = {2,3,,,}

Should throw an error. Instead, we get the following C code:
int arr[] = {2,3,,,};