bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38239: hungry-eol-escapes reader option doesn't allow intraline whit


From: Andy Wingo
Subject: bug#38239: hungry-eol-escapes reader option doesn't allow intraline whitespace
Date: Sat, 16 Nov 2019 22:27:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]