guile-devel
[Top][All Lists]
Advanced

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

Re: unknown location: definition in expression context in subform optnam


From: Bruce Korb
Subject: Re: unknown location: definition in expression context in subform optname-from of "_^"
Date: Sat, 28 Jan 2012 08:58:55 -0800

Hi Mark,

On Fri, Jan 27, 2012 at 11:02 PM, Mark H Weaver <address@hidden> wrote:
> Hi Bruce,
>
> In case you didn't see the other thread here on guile-devel:

I read some of it.

> ... with Guile 2.0.4 the error message would
> have been something like this:
>
>  /old-home/ROOT/usr/local/share/autogen/aginfo.tpl:171:2: definition in 
> expression context, where definitions are not allowed, in form (define 
> optname-from "_^")

That's waay too cool !!! :)  Thank you.  Actually, I think I can, with
that, drop my own
file/line numbers when complaining about Guile complaints then!!

> Scheme evaluation error.  AutoGen ABEND-ing in template>         
> /old-home/ROOT/usr/local/share/autogen/aginfo.tpl on line 163

> Bruce Korb <address@hidden> writes:
> > I need to be able to locate a guile scheme expression in my ASCII
> > text input and hand it off to Guile, telling it the file name and
> > line number and column number of where I found the string.
>
> I agree that we should add a function or two to handle this more
> conveniently.  Let's talk about it after 2.0.4 has been released, and
> hopefully we can get it into 2.0.5.

Maybe less cumbersome than scm_c_eval_string_from_file_line ;)

Super!

Thank you again!   Regards, Bruce



reply via email to

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