Hello,

it seems that this bug was not fixed even in Luatex 1.13.2.

\scantokens is logged correctly but \scatextokens not.

Petr Olsak



-------- Forwarded Message --------
Subject: Re: [Dev-luatex] \tracingtokens=1, ( ) are logged curiously
Date: Tue, 23 Feb 2021 11:36:46 +0100
From: luigi scarso <luigi.scarso@gmail.com>
To: luatex development list <dev-luatex@ntg.nl>




On Tue, Feb 23, 2021 at 9:15 AM Petr Olsak <olsak@fit.cvut.cz> wrote:
Suppose:

-----------------------------------------

\tracingscantokens=1

\scantextokens{first}

\scantextokens{second}

\bye

-----------------------------------------

and run luatex test.

Then the ( and ) are logged curiously: ( ( ... ))  Why all closing ))
are logged after end command?

If we change \scantextokens to \scantokens, then ( and ) behaves more
logical in log file and in the terminal: ( ) ( ).

Petr Olsak

confirmed, we will see if we can fix it for the upcoming texlive. 

--
luigi