guile-devel
[Top][All Lists]
Advanced

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

cvs read bad # error report


From: Kevin Ryde
Subject: cvs read bad # error report
Date: Wed, 12 Mar 2003 10:25:57 +1000
User-agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu)

In the current cvs build on a recent i386 debian, a file foo.scm
containing

        #allow

processed with

        guile -s foo.scm

produces

        ERROR: In procedure scm_lreadr:
        ERROR:
        Exception during displaying of error: misc-error

Whereas I hoped to get a report about an invalid "#" form.


Nosing around read.c, I wonder if scm_input_error should be calling
scm_error_scm with the "args" parameter it receives, rather than
always SCM_EOL.  It looks like an invalid # calls scm_input_error with
a message string containing a ~S, and an args with the offending
character.




reply via email to

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