guile-user
[Top][All Lists]
Advanced

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

Re: macro like "my" in Perl


From: Paul Jarc
Subject: Re: macro like "my" in Perl
Date: Tue, 16 Jul 2002 17:05:17 -0400
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu)

Neil Jerram <address@hidden> wrote:
>>>>>> "Paul" == Paul Jarc <address@hidden> writes:
>     Paul> Neil Jerram <address@hidden> wrote:
>     >> guile> (list-no-pairs 1 (2 2) 3)
>     >> standard input:25:20: In procedure error in expression (error (format 
> #f "Bad element ~S at ~A:~A:~A" ...)):
>     >> standard input:25:20: Bad element (2 2) at standard input:36:17
>     >> ABORT: (misc-error)
>
>     Paul> My error messages look like:
>     Paul> ERROR: Bad element (2 2) at ./script:21:11
>
>     Paul> How do you get the filename and positions at the beginning of the
>     Paul> line?
>
> Sorry, I don't understand.  What exactly do you want it to look like?

Your error message has "standard input:25:20" at the beginning of the
line, where mine has "ERROR".  But I just tried again, interactively
this time, and I get the filename and positions now.  So I guess I'm
looking for a way to enable this for scripts as well.


paul



reply via email to

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