guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH]


From: Noah Lavine
Subject: Re: [PATCH]
Date: Wed, 27 Oct 2010 14:30:01 -0400

*eoi* is what the LALR parser generator would need as input, so it
seems more consistent with the Guile API to make it return '*eoi*.

Noah

On Wed, Oct 27, 2010 at 2:27 PM, Neil Jerram <address@hidden> wrote:
> I have a program that calls (read-elisp) in a loop, to read in a BBDB
> file.  When it gets to the end of the file, the next (read-elisp) throws
> an error (wrong type arg, pair expected), and the attached patch makes
> it return '*eoi* instead.
>
> Is that correct?  Is *eoi* better than #<eof> here?  Or should I just
> catch the exception instead?
>
>      Neil
>
>



reply via email to

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