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
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f545e5de5c6cb7d59ef8b2a440066fc138877792 fix issue 8271 [Ddoc] non-ascii character string macro names cannot be replaced https://github.com/D-Programming-Language/dmd/commit/ce40d5ceaf13f91728fdbcf3561e6dfef62472e8 Merge pull request #1192 from shoo/fix8271 fix issue 8271 [Ddoc] non-ascii character string macro names cannot be replaced