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: [email protected]
Reporter: [email protected]
See: https://forum.dlang.org/post/[email protected]
```
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.
--