GNU bug report logs - #38239
hungry-eol-escapes reader option doesn't allow intraline whitespace

Previous Next

Package: guile;

Reported by: Andy Wingo <wingo <at> pobox.com>

Date: Sat, 16 Nov 2019 21:29:01 UTC

Severity: normal

To reply to this bug, email your comments to 38239 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#38239; Package guile. (Sat, 16 Nov 2019 21:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Wingo <wingo <at> pobox.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 16 Nov 2019 21:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: bug-guile <at> gnu.org
Subject: hungry-eol-escapes reader option doesn't allow intraline whitespace
Date: Sat, 16 Nov 2019 22:27:40 +0100
Guile supports the R7RS idiom whereby this:

  "foo\
      bar"

reads as

  "foobar"

In the R6RS, this syntax is specified as allowing intraline whitespace
(space, tab, and anything Unicode with category Zs) after the \ but
before the newline.  However in Guile we don't support this and signal
an error instead ("illegal character in escape sequence: #\space").

Probably we should relax this restriction and allow intraline whitespace
after the \ and before the newline.




This bug report was last modified 5 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.