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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 14 22:42:07 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12122 "Fix 21530 - dtoh: Sanitize identifiers wrt.
reserved C++ keywords" was merged into master:

- 843bc8549e264b9a4b127a6da8f98524d52f23b1 by MoonlightSentinel:
  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