dev-serveez
[Top][All Lists]
Advanced

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

Re: [dev-serveez] guile switch


From: stefan
Subject: Re: [dev-serveez] guile switch
Date: Tue, 10 Apr 2001 19:48:44 +0200 (CEST)

On Mon, 9 Apr 2001, Martin Grabmueller wrote:

> Guile provides
> 
> SCM gh_eval_file_with_catch(const char *scheme_code, scm_catch_handler_t 
> handler);

Well, I scribbled down an exception handler stating

exception: misc-error: (list end of file in  (#<undefined>) #f)

when parsing the former serveez.cfg (sizzle code).
Why is the scm_current_load_port() undefined within the exception handler
? Does the gh_eval_file_with_catch() return the value I return in the
exception handler and what does it return on success ? For now I return
SCM_UNSPECIFIED in the exception handler: Is this value different from the
success case ? I noticed the scm_internal_catch() routine to return
SCM_EOL on success... Is SCM_EOL == SCM_UNSPECIFIED ???

Thanks so far,
        address@hidden




reply via email to

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