[ ghc-Bugs-412524 ] String gap fails for some chars

noreply@sourceforge.net noreply@sourceforge.net
Fri, 30 Mar 2001 09:20:56 -0800


Bugs item #412524, was updated on 2001-03-30 09:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=412524&group_id=8032

Category: Compiler
Group: None
Status: Open
Priority: 5
Submitted By: Andrew Moran (morabbin)
Assigned to: Nobody/Anonymous (nobody)
Summary: String gap fails for some chars

Initial Comment:
String gap fails with "error in character literal" 
when the first char on the new line after the '\' is
not alphanumeric (I think; I haven't done a detailed 
study).  For example, this is okay:

    "jkaehfjhsdg\
    \hgshgt"

but this is not:

    "kjsdhgkjhrtht\
    \(kjsdhkghgh"

I've attached a program with three putStrLns.  The 
first fail under 4.08.2; the last succeeds.


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

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