[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72678: intraline whitespace not supported between backslash and newl
From: |
Bruno Haible |
Subject: |
bug#72678: intraline whitespace not supported between backslash and newline in R6RS string literals |
Date: |
Sat, 17 Aug 2024 01:47:19 +0200 |
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
...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#72678: intraline whitespace not supported between backslash and newline in R6RS string literals,
Bruno Haible <=