[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] ssax parser error
From: |
Daishi Kato |
Subject: |
Re: [Chicken-users] ssax parser error |
Date: |
Tue, 11 Jul 2006 20:09:10 +0900 |
User-agent: |
Wanderlust/2.15.3 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI) |
At Tue, 11 Jul 2006 08:42:40 +0200,
felix winkelmann wrote:
>
> On 7/11/06, Daishi Kato <address@hidden> wrote:
>
>
> > Hm, I'm not yet used to the exceptions.
> > How about this?
> > If OK, do you want me to commit it?
> > Or somebody (a first commiter?) should do it.
> > Daishi
> >
> > --- ssax-core.scm (revision 1205)
> > +++ ssax-core.scm (working copy)
> > @@ -1599,7 +1599,10 @@
> > ; Normally the definition of parser-error is to be provided by the user.
> > (run-test
> > (define (parser-error port msg . specializing-msgs)
> > - (apply error (cons msg specializing-msgs)))
> > + (signal
> > + (make-composite-condition
> > + (make-property-condition 'ssax 'port port)
> > + (make-property-condition 'exn 'message (apply string-append msg
> > specializing-msgs)))))
> > )
>
> This looks fine, please commit it.
Although this was not the place to change,
I modified the real one, quickly tested, and committed.
Daishi