From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Jan (janneke) Nieuwenhuizen" Newsgroups: gmane.lisp.guile.bugs Subject: bug#41716: [PATCH] reader: Use invalid rather than illegal. Date: Thu, 4 Jun 2020 21:26:23 +0200 Message-ID: <20200604192623.10350-1-janneke@gnu.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90450"; mail-complaints-to="usenet@ciao.gmane.io" To: 41716@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Jun 04 21:27:07 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jgvW7-000NOf-8E for guile-bugs@m.gmane-mx.org; Thu, 04 Jun 2020 21:27:07 +0200 Original-Received: from localhost ([::1]:48520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgvW5-0001UK-Qh for guile-bugs@m.gmane-mx.org; Thu, 04 Jun 2020 15:27:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgvW2-0001U1-Cd for bug-guile@gnu.org; Thu, 04 Jun 2020 15:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgvW2-00029N-30 for bug-guile@gnu.org; Thu, 04 Jun 2020 15:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jgvW1-0000At-U5 for bug-guile@gnu.org; Thu, 04 Jun 2020 15:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan (janneke) Nieuwenhuizen" Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 04 Jun 2020 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41716 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1591298805644 (code B ref -1); Thu, 04 Jun 2020 19:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jun 2020 19:26:45 +0000 Original-Received: from localhost ([127.0.0.1]:47494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgvVk-0000AK-Ry for submit@debbugs.gnu.org; Thu, 04 Jun 2020 15:26:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgvVi-0000AC-Fs for submit@debbugs.gnu.org; Thu, 04 Jun 2020 15:26:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgvVi-0001Sp-8H for bug-guile@gnu.org; Thu, 04 Jun 2020 15:26:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38910) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgvVh-00026j-JI; Thu, 04 Jun 2020 15:26:41 -0400 Original-Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=44382 helo=dundal.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1jgvVX-0003O1-Io; Thu, 04 Jun 2020 15:26:40 -0400 X-Mailer: git-send-email 2.26.2 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9794 Archived-At: * libguile/read.c (scm_read_string_like_syntax): All characters are permitted by law; some aren't valid in certain contexts. --- libguile/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/read.c b/libguile/read.c index 040a178348..122a643018 100644 --- a/libguile/read.c +++ b/libguile/read.c @@ -704,7 +704,7 @@ scm_read_string_like_syntax (int chr, SCM port, scm_t_read_opts *opts) break; bad_escaped: scm_i_input_error (FUNC_NAME, port, - "illegal character in escape sequence: ~S", + "invalid character in escape sequence: ~S", scm_list_1 (SCM_MAKE_CHAR (c))); } } -- 2.26.2