From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julian Graham Newsgroups: gmane.lisp.guile.devel Subject: Re: r6rs incompatibilities Date: Sun, 23 May 2010 13:24:29 -0400 Message-ID: References: <983244.37247.qm@web37906.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274635478 9050 80.91.229.12 (23 May 2010 17:24:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 May 2010 17:24:38 +0000 (UTC) Cc: Andy Wingo , guile-devel To: Mike Gran Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun May 23 19:24:37 2010 connect(): No such file or directory Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OGEui-0003qo-V4 for guile-devel@m.gmane.org; Sun, 23 May 2010 19:24:37 +0200 Original-Received: from localhost ([127.0.0.1]:53393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGEui-0007BF-4Y for guile-devel@m.gmane.org; Sun, 23 May 2010 13:24:36 -0400 Original-Received: from [140.186.70.92] (port=53267 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGEue-0007B2-Ft for guile-devel@gnu.org; Sun, 23 May 2010 13:24:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGEud-0004qa-Di for guile-devel@gnu.org; Sun, 23 May 2010 13:24:32 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:43089) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGEud-0004qS-96 for guile-devel@gnu.org; Sun, 23 May 2010 13:24:31 -0400 Original-Received: by wwi14 with SMTP id 14so2021010wwi.0 for ; Sun, 23 May 2010 10:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+T4M3XfWt50GXmeZ43Bk51a9zUi9mpCZWxQqTCY15Ec=; b=USs+knimyk+yD3X9AzUyZ3zP+TBzTMmQzfjYG5m1lQr6HRjn7VooDjMZBZ9bCWzXoO fm8pwjO3HjrBfriQZ8spbO7WoNsCy8VOTgLrd1OLdpD0cDB6xALqK/xUgNeRBo0npsk2 vLOx09nDte7v1c6lGtOAQYGAcEpJOdIYUw2uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sq6WoxoCvGUAjN3pV9KXjioGN8W5xrD0Oto6bwzg2OBInEIPJFe2SldukTrjLuyxl8 /J681WIYolJ0NeXn/IRuI3rqIY5pENY+NRIHFC8Z/Y+H4ZsUY1Wby/yqKZ3I3yczk9Iy 3vvei8EMC9KnOQQAT86DfOIswbXwg1SffO5Is= Original-Received: by 10.216.93.13 with SMTP id k13mr580333wef.180.1274635470030; Sun, 23 May 2010 10:24:30 -0700 (PDT) Original-Received: by 10.216.0.19 with HTTP; Sun, 23 May 2010 10:24:29 -0700 (PDT) In-Reply-To: <983244.37247.qm@web37906.mail.mud.yahoo.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10356 Archived-At: Hi Mike, > What happens with this patch if the file only contains the four > characters "#!r6" followed by EOF?=A0 Does it behave appropriately > after calling scm_ungetc on EOF?=A0 (I guess that would make it an > unterminated hash bang comment.) If the fifth character is EOF instead of 'r', control is handed to scm_read_scsh_block_comment (after ungetting EOF), which raises the appropriate unterminated comment error. Regards, Julian