www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1014] New: Error with character literal escaping when generating header with -H

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1014

           Summary: Error with character literal escaping when generating
                    header with -H
           Product: D
           Version: 1.007
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: digitalmars-com baysmith.com


The character literal '\'' is inproperly converted to '''. Example follows.

----- tmp.d -----
static char[] charArray = [ '\"', '\'' ];

 dmd -c -H tmp.d
----- tmp.di ----- // D import file generated from 'tmp.d' static { char[] charArray = ['"',''']; } --
Mar 01 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1014


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 1.009


-- 
Mar 19 2007