17 Jul
2009
17 Jul
'09
1:22 p.m.
Hi Manuel, Manuel Pégourié-Gonnard wrote:
Hi,
Here's a small problem with luatex from trunk (notice the missing 'hello' in the first line):
! \csname\endcsname. l.2 \errmessage{hello \csname\endcsname}
More generally, print_cs() screws things up when printing null_cs while selector is new_string, by indirectly calling make_string(). I think the attached patch solves the problem.
Thanks.
Manuel.
PS: Btw, I wonder about two points in tokenlist_to_cstring() - why did you comment out printing of \csname\endcsname? - why is there two times Print_uchar(e) in the definition of Print_esc?
The function was originally used from some very specific lua code only, I'll fix that. Best wishes, Taco