1

Closed

Error with string mixins and escape characters

description

module hw; //line 1
 
import System;
 
void main()
{
mixin("string s = \"hello world\";"); //line 7
//Console.WriteLine(sys(s));
}
 
//line 11. last line
 
hw.d(7): unsupported char '\'
hw.d(7): unterminated string constant starting at hw.d(7)
hw.d(7): semicolon expected, not 'EOF'
Closed Jun 18, 2009 at 7:13 AM by cristiv
Verified fix.

comments

cristiv wrote May 23, 2009 at 6:23 AM

fixed.

wrote Jun 18, 2009 at 7:13 AM

wrote Feb 14, 2013 at 12:52 AM

wrote May 16, 2013 at 5:01 AM