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: [email protected]
          Reporter: [email protected]

```
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

--

Reply via email to