[tex-live] Re: [tex-implementors] Re: bug in etex

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Tue Jul 13 18:11:23 CEST 2004



Taco Hoekwater wrote:

>   \toksdef\whatevertoks = 266
>   \toksdef\extratoks = 267
>   \whatevertoks={junk}
>   \everypar{\extratoks=\whatevertoks}
>   \immediate\write16{t={\the\toks265}}
>   some paragraph\par
>   \bye
> -------
> 
> It seems that the '\the' command that accesses a previously undefined token 
> register is what is causing the problem later on; the SIGSEGV happens when
> TeX tries to access the RHS of the \extratoks=\whatevertoks assignment.

Using the VMS Pascal reference implementation :

ALPHA9::Chaa006 : type taco.tex

   \toksdef \whatevertoks = 266
   \toksdef \extratoks = 267
   \whatevertoks = {junk}
   \everypar {\extratoks = \whatevertoks}
   \immediate \write 16 {t = {\the \toks 265}}
   some paragraph \par
   \bye

ALPHA9::Chaa006 : etex taco

This is e-TeX, Version 3.14159-2.0;fMar06 [PD VMS 3.6f] (preloaded format=etex 4
.7.13)
entering extended mode
(CHAA:[006.E-TEX.VMS]TACO.TEX;1
t = {}
[1] )
Output written on CHAA:[006.E-TEX.VMS]TACO.DVI;1 (1 page, 224 bytes).
Transcript written on CHAA:[006.E-TEX.VMS]TACO.LIS;1.

ALPHA9::Chaa006 :

** Phil.



More information about the tex-live mailing list