January 09, 2021 [Issue 21530] New: dtoh: Identifiers need to be sanitized wrt. reserved C++ keywords | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21530 Issue ID: 21530 Summary: dtoh: Identifiers need to be sanitized wrt. reserved C++ keywords Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: kinke@gmx.net E.g., from frontend.h: enum class PASS { inline = 7 // needs to be sanitized to `inline_` or so }; See https://en.cppreference.com/w/cpp/keyword. -- |
Copyright © 1999-2021 by the D Language Foundation