[Swift-devel] [Bug 87] New: quoting parse failure.

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Tue Aug 28 02:04:29 CDT 2007


http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=87

           Summary: quoting parse failure.
           Product: Swift
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SwiftScript language
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: benc at hawaga.org.uk
                CC: swift-devel at ci.uchicago.edu


in r1115, the single line:

string s = "\"foo\"";

causes this error:

$ swift quote.swift 
Could not compile SwiftScript source: line 1:18: unexpected char: '\'

It looks like there is no way to get a " character into a string.


-- 
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Swift-devel mailing list