1

Closed

quotation mark escape sequence not working correctly

description

With the latest changeset (18576) quotation mark escape sequence \" is not working:
 
module hw;
 
import System;
 
void main()
{
string s = "hello\" world"; //line 7
Console.WriteLine(sys(s));
}
 
hw.d(7): semicolon expected, not 'world'
hw.d(12): unterminated string constant starting at hw.d(7)
hw.d(12): found '""' when expecting ';' following 'statement'
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
hw.d(12): found 'EOF' instead of statement
 
All others like \n and \t do not cause compile errors for me.
Closed Jun 18, 2009 at 7:15 AM by cristiv

comments

cristiv wrote May 20, 2009 at 4:03 PM

I will work on this later tonight.

cristiv wrote May 21, 2009 at 8:19 AM

Addressed by change set 18846.

wrote Jun 18, 2009 at 7:15 AM

wrote Feb 14, 2013 at 12:52 AM

wrote May 16, 2013 at 5:01 AM