[Issue 8271] New: [Ddoc] non-ascii character string macro names cannot be replaced

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 20 07:06:13 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8271

           Summary: [Ddoc] non-ascii character string macro names cannot
                    be replaced
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: zan77137 at nifty.com


--- Comment #0 from SHOO <zan77137 at nifty.com> 2012-06-20 07:08:33 PDT ---
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'.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list