Bug 22544 – [spec] C++ and Objective-C are not single tokens
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-11-25T12:25:19Z
Last change time
2021-11-26T00:36:36Z
Keywords
pull
Assigned to
No Owner
Creator
Dennis
Comments
Comment #0 by dkorpel — 2021-11-25T12:25:19Z
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.
Comment #1 by dlang-bot — 2021-11-25T12:30:36Z
@dkorpel created dlang/dlang.org pull request #3127 "Fix Issue 22544 - [spec] C++ and Objective-C are not single tokens" fixing this issue:
- Fix Issue 22544 - [spec] C++ and Objective-C are not single tokens
https://github.com/dlang/dlang.org/pull/3127
Comment #2 by dlang-bot — 2021-11-26T00:36:36Z
dlang/dlang.org pull request #3127 "Fix Issue 22544 - [spec] C++ and Objective-C are not single tokens" was merged into master:
- 5ecbb5459ac18c24ffddbd27bca28fa2d8bb9057 by dkorpel:
Fix Issue 22544 - [spec] C++ and Objective-C are not single tokens
https://github.com/dlang/dlang.org/pull/3127