On 2/5/2022 11:43 AM, Petr Olsak wrote:
Hello,

If I try:

\def\test{test}

\afterassignment\test \advance\count0 by2

then \test is processed immediately after the \advance command. But if I do:

\afterassignment\test \toksapp 0{xx}  \the\toks0

then \test waits to another assignment than \toksapp. It means, that \toksapp <toks> (and friends \gtoksapp etc.) is not assignment. Is it an intention or a bug?
it's intention ... these prepend and append things are a command class on their own which is why we have explicit g and x variants

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-luatex mailing list
[email protected]
https://mailman.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to