Hi Shiro,

On Thu 18 Nov 2010 21:56, Shiro Kawai <[email protected]> writes:

> From: Andy Wingo <[email protected]>
>
>> I wonder though, what is the purpose of allowing intraline whitespace
>> before the line ending?
>
> I don't remember if there was any discussion, but I imagine
> that it might be an annoyance if accidental whitespace between
> the backslash and the line ending changes the meaning.

Given that "[a]ny other character in a string after a backslash is a
syntax violation.", it seems a bit superfluous. What do you report as
the error for `(with-input-from-string "\"foo\\ bar\"" read)' ? Seems
easier and clearer to get

  ERROR: #<unknown port>:1:7: illegal character in escape sequence: #\space

or the like as the error.

Regards,

Andy
-- 
http://wingolog.org/

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to