[ ghc-Bugs-475612 ] Can't split a string literal

noreply@sourceforge.net noreply@sourceforge.net
Sat, 27 Oct 2001 11:14:35 -0700


Bugs item #475612, was opened at 2001-10-27 11:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=475612&group_id=8032

Category: None
Group: 5.02
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't split a string literal

Initial Comment:
If I try to split a string literal across two lines,
using the syntax of two \ seperated by white space, I 
get the error mesage:
error in character literal

The code lines in question looks like:

    hPutStr h $
        "GET "++path uri++" HTTP/1.1\r\n        \Host: "++authority uri++"\r\n        \User-Agent: Haber/0.2\r\n\r\n"


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=475612&group_id=8032