Bug 8271 – [Ddoc] non-ascii character string macro names cannot be replaced
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-20T07:08:00Z
Last change time
2015-06-09T05:11:35Z
Assigned to
nobody
Creator
zan77137
Comments
Comment #0 by zan77137 — 2012-06-20T07:08:33Z
This documentation comment doesn't work well:
---------------------------
/**
* $(まくろ)
*
* Macros:
* まくろ = マクロ
*/
void main(){}
/* まくろ = Ma Ku Ro(macro) in Japanese Hiragana */
/* マクロ = Ma Ku Ro(macro) in Japanese Katakana */
---------------------------
dmd replace only the macro name which [A-Za-z_][A-Za-z0-9_]* matches as a macro name of Ddoc now.
The macro name should accept non-ascii character string like 'Identifier'.
Comment #1 by github-bugzilla — 2012-10-20T09:35:46Z