On Mon, Sep 02, 2019 at 07:13:36PM +0200, luigi scarso wrote:
> On Mon, Sep 2, 2019 at 10:59 AM Hans Hagen <j.ha...@xs4all.nl> wrote:
> 
> >
> > (I will send the patches to Luigi later today.)
> >
> >
> ------------------------------------------------------------------------
> r7188 | luigi.sca...@gmail.com | 2019-09-02 19:12:22 +0200 (Mon, 02 Sep
> 2019) | 1 line
> 
> some cleanup + extra features runtoks (HH)
> ------------------------------------------------------------------------
> 

This introduced a bug when `tex.runtoks` is called with a function:
In ltexlib.c, runtoks function branch, token_info(r) is set twice and
token_info(r) is never set. Also the first assignment to `token_info(t)`
sets it to `token_val(end_local_code,0);`, but `end_local_code` is not
a command code, so this becomes a space token. Also the supplied
function is never called because the local call token is no longer
inserted.

-- Marcel
_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to