Bug 1014 – Error with character literal escaping when generating header with -H

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P1
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2007-03-01T18:50:00Z
Last change time
2014-02-16T15:23:34Z
Assigned to
bugzilla
Creator
digitalmars-com

Comments

Comment #0 by digitalmars-com — 2007-03-01T18:50:08Z
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 = ['"',''']; }
Comment #1 by bugzilla — 2007-03-19T17:38:50Z
Fixed DMD 1.009