[Issue 22544] New: [spec] C++ and Objective-C are not single tokens
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 25 12:25:19 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22544
Issue ID: 22544
Summary: [spec] C++ and Objective-C are not single tokens
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dlang.org
Assignee: nobody at puremagic.com
Reporter: dkorpel at live.nl
See: https://forum.dlang.org/post/paykebwkhaxnkqazjnxo@forum.dlang.org
```
LinkageAttribute:
extern ( LinkageType )
extern ( C++ , )
extern ( C++ , QualifiedIdentifier )
extern ( C++ , NamespaceList )
LinkageType:
C
C++
D
Windows
System
Objective-C
```
C++ and Objective-C are not single tokens, this is allowed:
```
extern(C
++)
void f() {}
extern(Objective
-
C)
void g() {}
```
The spec should reflect that.
--
More information about the Digitalmars-d-bugs
mailing list