Bug 21942 – importC: Support parsing __inline__ keyword

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-05-21T08:54:11Z
Last change time
2021-05-23T09:20:23Z
Keywords
ImportC, pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2021-05-21T08:54:11Z
--- extern __inline__ void __debugbreak (void) { __asm__ __volatile__("int {$}3" :); } ---
Comment #1 by dlang-bot — 2021-05-21T16:17:10Z
@ibuclaw updated dlang/dmd pull request #12552 "fix Issue 21946, 21942: Remove __asm and __asm__ tokens" fixing this issue: - fix Issue 21946, 21942: Remove __asm and __asm__ tokens, add note about using macro to remove or replace alternate keywords https://github.com/dlang/dmd/pull/12552
Comment #2 by dlang-bot — 2021-05-23T09:20:23Z
dlang/dmd pull request #12552 "fix Issue 21946, 21942: Remove __asm and __asm__ tokens" was merged into master: - bd4045f45d6126b9da4e5d254acc73f6093f6398 by Iain Buclaw: fix Issue 21946, 21942: Remove __asm and __asm__ tokens, add note about using macro to remove or replace alternate keywords https://github.com/dlang/dmd/pull/12552