unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#72678: intraline whitespace not supported between backslash and newline in R6RS string literals
@ 2024-08-16 23:47 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2024-08-16 23:47 UTC (permalink / raw)
  To: 72678

According to R6RS § 4.2.7 and R7RS § 6.7, intraline whitespace
(i.e. spaces and tabs) should be allowed between backslash and newline
in R6RS string literals.

Guile 3.0.10 does not support this.

How to reproduce:

$ tr -d '$' > foo.scm <<\EOF
(begin
  #!r6rs
  (display "Hello \$
           mama")
  (display "Hello \  $
           papa"))
EOF
$ guile foo.scm
=>
ice-9/read.scm:126:4: In procedure read-string:
/home/bruno/foo.scm:5:21: invalid character in escape sequence: #\space

$ guile --version
guile (GNU Guile) 3.0.10
...








^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-16 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16 23:47 bug#72678: intraline whitespace not supported between backslash and newline in R6RS string literals Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).