5 Sep
2019
5 Sep
'19
7:48 a.m.
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