Skip to content

extern(C++, ...) only supports identifiers #397

@MoonlightSentinel

Description

@MoonlightSentinel

The following declarations are rejected by libdparse:

enum abc = "abc";
__gshared:

extern(C++, "abc") int k;
extern(C++, "a", "b", "c") int m;
extern(C++, (abc)) int n;
extern(C++, ("abc")) int o;

(Allthough some of them aren't even documented in the spec)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions