[Dev-luatex] Assignments in runtoks

Marcel Fabian Kr├╝ger tex at 2krueger.de
Thu Sep 5 09:48:47 CEST 2019


> > 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.
> ah, a mix up with luametatex (from which i copied some code) .. thanks for
> noticing

The new version works great, thank you.

Marcel


More information about the dev-luatex mailing list