guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, master, updated. v2.1.0-603-gfb484fe


From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, master, updated. v2.1.0-603-gfb484fe
Date: Wed, 15 Jan 2014 05:00:46 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=fb484fefebdd9ebcf43169b391f704069b3d4b09

The branch, master has been updated
       via  fb484fefebdd9ebcf43169b391f704069b3d4b09 (commit)
       via  1fc651e3a5249fa35d143628d27243e96b90a0bd (commit)
      from  c92ee2b38cb1ace800de081c9211120afea0c595 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fb484fefebdd9ebcf43169b391f704069b3d4b09
Merge: c92ee2b 1fc651e
Author: Mark H Weaver <address@hidden>
Date:   Tue Jan 14 23:53:08 2014 -0500

    Merge branch 'stable-2.0'

-----------------------------------------------------------------------

Summary of changes:
 libguile/print.c            |    8 ++++++--
 test-suite/tests/print.test |    5 +++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/libguile/print.c b/libguile/print.c
index 4fe9b77..4ad2a95 100644
--- a/libguile/print.c
+++ b/libguile/print.c
@@ -503,8 +503,12 @@ print_r7rs_extended_symbol (SCM sym, SCM port)
         case '\\': scm_lfwrite_unlocked ("\\x5c;", 5, port); break;
         default:
           if (uc_is_general_category_withtable (c,
-                                                SUBSEQUENT_IDENTIFIER_MASK
-                                                | UC_CATEGORY_MASK_Zs))
+                                                UC_CATEGORY_MASK_L
+                                                | UC_CATEGORY_MASK_M
+                                                | UC_CATEGORY_MASK_N
+                                                | UC_CATEGORY_MASK_P
+                                                | UC_CATEGORY_MASK_S)
+              || (c == ' '))
             {
               if (!display_character (c, port, strategy))
                 scm_encoding_error ("print_r7rs_extended_symbol", errno,
diff --git a/test-suite/tests/print.test b/test-suite/tests/print.test
index 7269887..6ef0e9f 100644
--- a/test-suite/tests/print.test
+++ b/test-suite/tests/print.test
@@ -63,6 +63,11 @@
          "bar | backslash \\ alarm \a backspace \b tab \t newline \n cr \r 
null \0 del "
          (string #\del)))))
 
+    (pass-if-equal "brackets"
+        "|()[]{}|"
+      (write-with-options '(r7rs-symbols)
+                          (string->symbol "()[]{}")))
+
     (pass-if-equal "starts with bar"
         "|\\|foo|"
       (write-with-options '(r7rs-symbols)


hooks/post-receive
-- 
GNU Guile



reply via email to

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