[Top][All Lists]

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

unknown # error message

From: Kevin Ryde
Subject: unknown # error message
Date: Tue, 03 Jun 2003 09:51:59 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

This is a followup to my report about the error message for an unknown
"#" object in the reader.  (Which I've since managed to lose.)

For instance interactively with the latest cvs,

        (call-with-input-string "#Z" read)

gives an exception during display of the error.

        * read.c (scm_input_error): Pass arg list parameter to scm_error_scm,
        rather than SCM_EOL.  Needed by "Unknown # object" case in scm_lreadr.

        * tests/reader.test (reading): Test bad # error message is formattable.

I believe this is only in the head, not 1.6.  I'm guessing that not
passing the arg parameter to scm_error_scm was merely a typo.  It
looks like the intention, and that parameter is otherwise unused.

Attachment: read.c.error-args.diff
Description: Text document

Attachment: reader.test.bad-hash.diff
Description: Text document

reply via email to

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