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

Full log


View this message in rfc822 format

From: Andy Wingo <wingo <at> pobox.com>
To: 38239 <at> debbugs.gnu.org
Subject: bug#38239: 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 211 days ago.

Previous Next


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