*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 <[email protected]> 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