Skip to content

Support for comma-separated list of declarations with attributes in non-leading position #76

@michael-schwarz

Description

@michael-schwarz

This issue was uncovered while trying to parse the source code of FFmpeg:

int i, __attribute__((unused))(version);
int __attribute__((unused))(version2),j;

gcc accepts both, whereas we reject the first one with a parse error.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions