www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19360] New: New C++ mangling syntax not specified in grammar

https://issues.dlang.org/show_bug.cgi?id=19360

          Issue ID: 19360
           Summary: New C++ mangling syntax not specified in grammar
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: peter.alexander.au gmail.com

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 )

--
Nov 03 2018