[Top][All Lists]

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

[bug #31680] R6RS string literal intraline whitespace removal

From: Göran Weinholt
Subject: [bug #31680] R6RS string literal intraline whitespace removal
Date: Wed, 17 Nov 2010 12:15:41 +0000
User-agent: Mozilla/5.0


                 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



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

GNU Guile
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 
$1 = "foo  bar"
scheme@(guile-user)> (read (open-string-input-port "#!r6rs \"foo\\  \n 
ERROR: In procedure scm_lreadr:
ERROR: #<unknown port>:1:10: illegal character in escape sequence: #\space


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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