[Issue 21530] dtoh: Identifiers need to be sanitized wrt. reserved C++ keywords

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 10 16:09:58 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #12122 "Fix 21530 - dtoh:
Sanitize identifiers wrt. reserved C++ keywords" fixing this issue:

- Fix 21530 - dtoh: Sanitize identifiers wrt. reserved C++ keywords

  Extends the check for C++ keywords to append an underscore instead of
  raising an error whenever the actual name doesn't matter for binary
  compatibility.

https://github.com/dlang/dmd/pull/12122

--


More information about the Digitalmars-d-bugs mailing list