unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #31680] R6RS string literal intraline whitespace removal
@ 2010-11-17 12:15 Göran Weinholt
  2010-11-18 15:05 ` Mike Gran
  0 siblings, 1 reply; 10+ messages in thread
From: Göran Weinholt @ 2010-11-17 12:15 UTC (permalink / raw)
  To: Göran Weinholt, bug-guile


URL:
  <http://savannah.gnu.org/bugs/?31680>

                 Summary: R6RS string literal intraline whitespace removal
                 Project: Guile
            Submitted by: weinholt
            Submitted on: Wed Nov 17 13:15:37 2010
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In R6RS subsection 4.2.7 there is this escape sequence:

 \<intraline whitespace><line ending>
       <intraline whitespace> : nothing

This escape sequence isn't working. Both the examples below should return
"foobar":

GNU Guile 1.9.13.58-b98d5a
Copyright (C) 1995-2010 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (read (open-string-input-port "#!r6rs \"foo\\\n 
bar\""))
$1 = "foo  bar"
scheme@(guile-user)> (read (open-string-input-port "#!r6rs \"foo\\  \n 
bar\""))
ERROR: In procedure scm_lreadr:
ERROR: #<unknown port>:1:10: illegal character in escape sequence: #\space





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31680>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-21  8:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 12:15 [bug #31680] R6RS string literal intraline whitespace removal Göran Weinholt
2010-11-18 15:05 ` Mike Gran
2010-11-18 18:56   ` Andy Wingo
2010-11-18 19:45     ` Göran Weinholt
2010-11-18 20:24       ` Andy Wingo
2010-11-18 21:51         ` Mike Gran
2010-11-19 15:24           ` Andy Wingo
2010-11-19 17:57             ` Mike Gran
2011-01-21  7:35               ` Andy Wingo
2011-01-21  8:22                 ` Andy Wingo

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).