D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 19360 - New C++ mangling syntax not specified in grammar
Summary: New C++ mangling syntax not specified in grammar
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P1 minor
Assignee: No Owner
URL:
Keywords: C++, spec
Depends on:
Blocks:
 
Reported: 2018-11-03 09:45 UTC by Peter Alexander
Modified: 2021-05-07 20:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Peter Alexander 2018-11-03 09:45:36 UTC
The new C++ mangling syntax, e.g.:

extern(C++, "std", "chrono") void bar();

is not specified in the grammar.

Grammar currently has:

LinkageAttribute:
    extern ( LinkageType )
    extern ( C++, IdentifierList )


Potential fix:

LinkageAttribute:
    extern ( LinkageType )
    extern ( C++, IdentifierList )
    extern ( C++, ArgumentList )