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. release_1-9-13-30-ga4


From: Michael Gran
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-13-30-ga4e4722
Date: Fri, 05 Nov 2010 05:04:33 +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=a4e472294423bb796db3132c73027384fdfff820

The branch, master has been updated
       via  a4e472294423bb796db3132c73027384fdfff820 (commit)
      from  5bae880e26e4691894523f9f420f8ab02cd75f01 (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 a4e472294423bb796db3132c73027384fdfff820
Author: Michael Gran <address@hidden>
Date:   Thu Nov 4 22:07:50 2010 -0700

    need read error for extra closing square brackets
    
    * libguile/read.c (scm_read_expression): add test

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

Summary of changes:
 libguile/read.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libguile/read.c b/libguile/read.c
index 53ab128..609285c 100644
--- a/libguile/read.c
+++ b/libguile/read.c
@@ -1442,6 +1442,10 @@ scm_read_expression (SCM port)
        case ')':
          scm_i_input_error (FUNC_NAME, port, "unexpected \")\"", SCM_EOL);
          break;
+       case ']':
+          if (SCM_SQUARE_BRACKETS_P)
+            scm_i_input_error (FUNC_NAME, port, "unexpected \"]\"", SCM_EOL);
+          /* otherwise fall through */
        case EOF:
          return SCM_EOF_VAL;
        case ':':


hooks/post-receive
-- 
GNU Guile



reply via email to

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