Very likely - thanks for spotting the mistake!

Martin

Am Samstag, 16. Februar 2019 22:23:16 UTC+1 schrieb Ralf Hemmecke:
>
> > what I am asking for now is something much simpler: could we have an 
> ioHook 
> > for these messages? 
>
> I support an additional ioHook, but your patch does not seem right. 
> Doesn't 
>
>   msg is ['mathprint, mathexpr] => ... 
>
> exit this function before the ending hook? 
>
> Ralf 
>
>
> > diff --git a/src/interp/g-error.boot b/src/interp/g-error.boot 
> > index e816e096..ce7c5175 100644 
> > --- a/src/interp/g-error.boot 
> > +++ b/src/interp/g-error.boot 
> > @@ -151,6 +151,7 @@ sayErrorly(errorLabel, msg) == 
> >    sayErrorly1(errorLabel, msg) 
> >   
> >  sayErrorly1(errorLabel, msg) == 
> > +  ioHook("startKeyedMsg", errorLabel, msg) 
> >    sayBrightly '" " 
> >    if $testingSystem then sayMSG $testingErrorPrefix 
> >    sayBrightly ['"   >> ",errorLabel,'":"] 
> > @@ -158,6 +159,7 @@ sayErrorly1(errorLabel, msg) == 
> >    msg is ['mathprint, mathexpr] => 
> >      mathprint mathexpr 
> >    sayBrightly msg 
> > +  ioHook("endOfKeyedMsg", errorLabel) 
> > 
> > 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/adc07ff8-34c7-43ce-bc56-98ee427be2ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to