[Issue 22429] New: importC: designator-list not supported yet
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 19 13:22:28 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22429
Issue ID: 22429
Summary: importC: designator-list not supported yet
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: dkorpel at live.nl
```
int a[2] = {
[0] = 1,
[1] = 2,
};
```
```
parser.c(2): Error: C designator-list not supported yet
```
Needed for compiling tree-sitter parsers, for example:
https://github.com/tree-sitter/tree-sitter-json/blob/master/src/parser.c
--
More information about the Digitalmars-d-bugs
mailing list