www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10805] New: wrong error message for wrong delimited string

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

           Summary: wrong error message for wrong delimited string
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: kekeniro2 yahoo.co.jp



CODE:
enum s = q"FOO
FOO
";

OUTPUT:
styler.d(2296): Error: delimited string must end in /* followed by \0 */

Identifier as the delimiter is not taken into account when making the error
message.

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